• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kp-forks / grobid / 28097837981

24 Jun 2026 06:43AM UTC coverage: 38.634% (-0.002%) from 38.636%
28097837981

push

github

web-flow
fix: make block/segmentation desync warning locatable #716 (#1471)

The end DocumentPointer of a document piece can reference a token
position beyond the block's actual token count. The code already
clamps and continues, so the document is still processed, but the
warning named only the block index and token counts -- nothing that
let a user locate the offending region in the source PDF. Reports of
this could therefore never be reproduced.

Enrich the warning with the page number and a short text excerpt of
the block so the next occurrence yields the missing reproduction case,
while keeping the existing clamp behaviour unchanged.

8654 of 24884 branches covered (34.78%)

Branch coverage included in aggregate %.

18425 of 45207 relevant lines covered (40.76%)

1.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

48.15
/org/grobid/core/engines/FullTextParser.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc