chore: release 0.4.3#14
Merged
Merged
Conversation
…i-page merge Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Patch release: fix reprinted continuation-page headers appended as data rows on multi-page merge.
Fix
When a table's column header is reprinted at the top of each page — especially a multi-row (hierarchical) header — the repeated header rows survived the merge as bogus data rows, misaligning the stitched table for downstream consumers.
Injection now drops a body row when it is both flagged
column_headerby Docling and a tokenized match (Jaccard ≥ 0.6) for the reconstructed header block. Both signals are required:repeated-header/rowspan-insurance-payout: 5 leading rows flagged, 3 are data). Trusting it alone deletes real data.(S$)vs($$)is tolerated with no threshold tuning.The merged DataFrame (
lt.df) is unchanged; only the injectedDoclingDocumentis de-duplicated. Adebuglog reports each dropped row.Tests
injected_rowsassertion:15-page-druglist,covid-misc-labs([3,4] table),retirement-portfolio. Every dropped row was verified to be a reprinted header (e.g.Sl No/Drug name/Category), never data.🤖 Generated with Claude Code