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

kp-forks / grobid / 27904051704 / 2
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2026 09:16AM UTC
Files 325
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2026 09:33AM UTC coverage: 38.587% (-0.08%) from 38.666%
27904051704.2

push

github

web-flow
Improve matching in sentence segmentation re-alignment  (#1457)

- Rewrote `getSentenceOffsets` as a **forward two-pointer alignment**: consumes the original text strictly in order, whitespace-tolerant, cannot drift, and never drops text between sentences (replaces the window/`indexOf` reconstruction that lost runs of short reference-marker sentences on long paragraphs).
- Added **trailing-tail coverage**: text after the last returned chunk (e.g. a paragraph-final footnote/citation the segmenter doesn’t emit as a sentence) is covered instead of being dropped by TEIFormatter.
- Made `detect()` **thread-safe** (`synchronized` around the shared JRuby `put("text")` + segment) — fixes nondeterministic, large body/caption text loss under concurrent requests caused by the shared `ScriptingContainer` global. 
- Added `DiffMatchPatch` utility + diff-based `findInText` (used by the legacy/fallback path).

8636 of 24850 branches covered (34.75%)

Branch coverage included in aggregate %.

18385 of 45177 relevant lines covered (40.7%)

1.65 hits per line

Source Files on job 27904051704.2
  • Tree
  • List 325
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27904051704
  • 54533579 on github
  • Prev Job for on master (#27846565586.1)
  • Next Job for on master (#28001811224.1)
  • Delete
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