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

pyro-ppl / numpyro / 39421793533
93%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2026 12:44PM 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

20 Oct 2026 12:22PM UTC coverage: 92.837% (+0.05%) from 92.79%
39421793533

push

github

web-flow
fix(distributions): build the censored feasible values at the batch shape (#2379)

Constraint.feasible_like broadcasts the bounds to the shape of the value
it is given. LeftCensoredDistribution, RightCensoredDistribution and
IntervalCensoredDistribution passed it a scalar in __init__, and
IntervalCensoredDistribution.log_prob passed it x1, which can be smaller
than the batch. With array bounds in the base support this raised:

    Uniform(jnp.array([0.5, 1.0, 2.0]), jnp.array([3.0, 4.0, 5.0]))
    LeftCensoredDistribution(base, censored, validate_args=True)
    ValueError: Cannot broadcast to shape with fewer dimensions:
    arr_shape=(3,) shape=()

while validate_args=False built the same distribution. The same bounds
made log_prob(jnp.array([2.1, 2.5])) on the interval class raise the
same error, and a (4, 1, 2) value raise a broadcasting error, where a
Normal base returns shapes (3,) and (4, 3).

__init__ now passes zeros of the base shape, and log_prob broadcasts x1
to its own shape and the batch shape before asking for the feasible
value. Scalar bounds are unaffected.

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

15760 of 16976 relevant lines covered (92.84%)

1.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 39421793533.1 20 Oct 2026 01:42PM UTC 87
70.14
GitHub Action Run
2 examples - 39421793533.2 20 Oct 2026 12:44PM UTC 87
29.06
GitHub Action Run
3 test-inference - 39421793533.3 20 Oct 2026 01:18PM UTC 87
71.09
GitHub Action Run
Source Files on build 39421793533
  • 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 #39421793533
  • 1503fb21 on github
  • Prev Build on master (#39421073489)
  • Next Build on master (#39421999054)
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