Repository navigation
Replies: 1 comment
|
Two public measurements on checking the content rather than the row count, since you asked for both completeness and column labels. A consultancy's spike re-scored two models' readings of old scanned government tables against the totals printed on the page (fulton-ring/agent-content-demos#328, results comment of 2026-11-24). Over 42 column checks, 33 columns held an error; all 33 were flagged, 0 were missed, and 0 of 9 correct columns were wrongly flagged. The errors caught were 162 values in the wrong cell, 205 wrong digits and 207 missing values — so where a total is printed, the sum is a completeness check and a column-label check in one, because a value under the wrong heading breaks that column's arithmetic. Their caveats: only 2 of their 13 tables print a total, and a swap of two values within one column is invisible to it. The other direction: an open-source extraction library returned half the line rows on long commercial invoices with no error and the run recorded complete — 80 printed rows → 40, 42 → 21, 32 → 18 — while the printed totals were read correctly each time (dgml-io/dgml#262, 340 production documents). A correctly read total says nothing about the rows above it until something adds them up. Both are single runs scored against keys the authors built themselves, so leads rather than measurements. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We ran a small public test on pages 1 to 4 of the UK RAIB index of recommendations: five lookups, 13 expected rows.
Standard PDF table extraction kept 10 of 13, because it read the first row of each new page as column names. All 146 rows that survived sat under wrong or merged column names. With the page break fix in this repo, the same search returned 13 of 13 within 300 words, with page numbers and 0 wrong rows.
It is one document and five lookups, so it shows a direction, not a general score. Page 1 still has merged columns, and our own PDF reader still loses these rows.
If you extract tables from long PDFs, how do you check completeness and the column labels, not just the row count? Counterexamples and documents that break this fix are very welcome. The test runs on your own PDFs: see railway-tables/README.md.
All reactions