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

pyro-ppl / numpyro / 39302668734
93%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 06:49PM 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

19 Oct 2026 06:27PM UTC coverage: 92.79% (-0.03%) from 92.816%
39302668734

push

github

web-flow
refactor(distributions): derive the interval supports from low and high (#2376)

* refactor(distributions): derive the interval supports from low and high

Uniform, LogUniform and DiscreteUniform kept a copy of their support,
built from the bounds in __init__ and carried as an extra pytree field,
so the bounds were flattened twice and the copy fell behind when only
the parameter leaves changed: after a gradient step moved
Uniform(1.0, 3.0) to (1.5, 3.5), support still accepted 1.2 and
log_prob(3.2) was -inf under validate_args.

The support is now computed from low and high on access, as for Pareto
and Binomial. Uniform and DiscreteUniform flatten to their two
parameters and LogUniform to four, because it still carries its
log-space base_dist, which log_prob and sample keep using. The vmap_over
lines that only synced the copy are removed.

* test: check only the support after a leaf update, drop the leaf count test

LogUniform.log_prob still reads base_dist, which keeps the old bounds
after a leaf update, so the log_prob assertion passed on a value that
did not follow the new bounds. Check only the support for both classes.

Drop test_interval_dist_pytree_leaves: it pins how the classes flatten,
not what the support does.

6 of 6 new or added lines in 2 files covered. (100.0%)

4 existing lines in 1 file now uncovered.

15752 of 16976 relevant lines covered (92.79%)

1.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
95.78
-1.33% numpyro/distributions/batch_util.py
Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 39302668734.1 19 Oct 2026 07:52PM UTC 87
70.09
GitHub Action Run
2 test-inference - 39302668734.2 19 Oct 2026 07:08PM UTC 87
71.09
GitHub Action Run
3 examples - 39302668734.3 19 Oct 2026 06:49PM UTC 87
29.06
GitHub Action Run
Source Files on build 39302668734
  • Tree
  • List 87
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39302668734
  • 121df60a on github
  • Prev Build on master (#39221210714)
  • Next Build on master (#39387236995)
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