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

grobidOrg / grobid / 29894596492
44%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2026 05:58AM UTC
Jobs 1
Files 337
Run time 1min
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

22 Jul 2026 05:43AM UTC coverage: 43.511% (+0.002%) from 43.509%
29894596492

push

github

web-flow
Fix evaluation script on invalid arguments instead of exiting 0 (#1515)

EndToEndEvaluation.main() validated its arguments and then returned, so
the JVM exited 0. Gradle reported BUILD SUCCESSFUL, run_evaluation.sh
saw a successful build, and the only symptom was the missing markdown
report - reported as "report not found after successful build", which
points at the report rather than at the argument that was rejected.

Reproduced with `-PfileRatio=article/light-ref`: "Invalid argument
fileRatio, must be a double" on stderr, BUILD SUCCESSFUL, exit 0.

Every validation bail-out in main() now exits 1, so the failure surfaces
where it happens.

Two related traps, same shape:

- An unrecognised flavor fell back to the default process with only an
  informational message, so the evaluation silently measured something
  other than what was asked for and the report gave no hint. A non-empty
  flavor that does not resolve is now an error listing the known
  flavors. An absent or empty flavor still means the default.

- run_evaluation.sh's -f is the file ratio; the flavor is -l. Passing a
  flavor to -f was accepted and only failed much later. -f is now
  validated, and a value containing '/' suggests -l instead.

Signed-off-by: Luca Foppiano <luca@foppiano.org>

---------

Signed-off-by: Luca Foppiano <luca@foppiano.org>

10125 of 25680 branches covered (39.43%)

Branch coverage included in aggregate %.

21218 of 46354 relevant lines covered (45.77%)

1.86 hits per line

Coverage Regressions

Lines Coverage ∆ File
393
2.95
-0.01% org/grobid/trainer/evaluation/EndToEndEvaluation.java
Jobs
ID Job ID Ran Files Coverage
1 29894596492.1 22 Jul 2026 05:58AM UTC 337
43.51
GitHub Action Run
Source Files on build 29894596492
  • Tree
  • List 337
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29894596492
  • 7dd09b5b on github
  • Prev Build on master (#29891311699)
  • Next Build on master (#29983526058)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc