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

opendatahub-io / trainer / 24082711453 / 1
55%
main: 55%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 01:04PM UTC
Files 32
Run time 1s
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

07 Apr 2026 01:01PM UTC coverage: 55.21% (+0.2%) from 54.988%
24082711453.1

push

github

abhijeet-dhumal
Sanitize NaN/Infinity in metrics JSON before parsing

Python's json.dumps() allows NaN and Infinity by default, but these
are not valid JSON per the spec. When training metrics contain these
values (e.g., grad_norm when loss=0, eval_loss with bf16 on ROCm),
Go's json.Unmarshal fails, causing the operator to never capture
training progress.

Add sanitizeJSON() to replace NaN/Infinity with null before parsing
in both PollTrainingProgress and CaptureMetricsFromTerminationMessage.
The regex patterns are anchored to trailing JSON delimiters to avoid
corrupting string values.

Ref: RHOAIENG-56898

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1685 of 3052 relevant lines covered (55.21%)

0.65 hits per line

Source Files on job 24082711453.1
  • Tree
  • List 32
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24082711453
  • a4e5b5a8 on github
  • Prev Job for on main (#23903097620.1)
  • Next Job for on main (#24248866747.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