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

pyro-ppl / numpyro / 43019135029
93%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2026 12:48PM UTC
Jobs 3
Files 87
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

11 Nov 2026 12:18PM UTC coverage: 92.991% (+0.009%) from 92.982%
43019135029

push

github

web-flow
fix(diagnostics): return the full range from hpdi when prob=1 and check that prob is in (0, 1] (#2417)

* fix(diagnostics): return the full range from hpdi when prob=1

With prob=1.0 the interval length int(prob * mass) equals the number of
draws, so there are no candidate left ends and argmin fails with
"attempt to get argmin of an empty sequence". This also breaks summary
and print_summary with prob=1.0, while the weighted path added in #2409
already returns the minimum and maximum. Cap the length at mass - 1 so
the interval spans all draws.

* fix(diagnostics): validate prob in hpdi and summary

Raise a ValueError when prob is outside (0, 1] instead of clamping it
silently (prob > 1) or returning an inverted interval (prob < 0). The
check runs at the start of hpdi and summary, so the weighted and
unweighted summary paths and print_summary behave the same way.

* fix(diagnostics): inline the prob check and simplify its test

* Test the prob range check in summary

* Use the draws with positive weight for the weighted hpdi when prob is 1

10 of 10 new or added lines in 1 file covered. (100.0%)

15974 of 17178 relevant lines covered (92.99%)

1.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 43019135029.1 11 Nov 2026 02:03PM UTC 87
70.55
GitHub Action Run
2 test-inference - 43019135029.2 11 Nov 2026 01:44PM UTC 87
70.85
GitHub Action Run
3 examples - 43019135029.3 11 Nov 2026 12:48PM UTC 87
28.94
GitHub Action Run
Source Files on build 43019135029
  • Tree
  • List 87
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43019135029
  • 3728ea15 on github
  • Prev Build on master (#43018962709)
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