Repository navigation
fix(import): keep short pdfs, stitch long tables and stop doubled or dropped charts - #129
Merged
vishwajeet-13 merged 1 commit intoOct 10, 2026
Conversation
…dropped charts - page plan: a doc with no page-worthy section keeps its first section as the page, and children of a leading section fold with it instead of raising KeyError - figures: image tags the vlm made up mark where crops go instead of turning into full-page images - tables: a table over three or more pages is joined at every page break, and its section keeps the pages the rows came from - tables: lettered sub-step rows are no longer merged into the numbered row above - contents: a numbered data table under its own header is not read as a contents page - figures: a chart followed by a table typed on the page is kept - boilerplate: the low repeat threshold applies only to the outermost edge line, so repeated section headings survive
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
vishwajeet-13
merged commit Oct 10, 2026
ab79ad2
into
bwhtech:fix/nephrology-fidelity
7 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the bugs from my test comment on #124. Each one was reproduced first, then re-checked by importing the same PDFs again.
KeyError.a,b,iv.) stay as their own table rows.Screenshots
Charts PDF: one crop instead of two full-page copies
Two-column paper: chart was dropped because a table follows it
1-page memo: was an empty wiki, now:
75-row table over 3 pages (section markdown at the 2nd page break)