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

pyro-ppl / numpyro / 43853266269
93%

Build:
DEFAULT BRANCH: master
Ran 16 Nov 2026 11:12AM 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

16 Nov 2026 10:56AM UTC coverage: 92.986% (-0.005%) from 92.991%
43853266269

push

github

web-flow
fix(distributions): let promote_shapes reshape array-like types (#2429)

* fix(distributions): let promote_shapes reshape array-like types

promote_shapes reshapes lower-rank parameters with jnp.reshape, which
rejects array-like types that are not JAX arrays, such as a unit-carrying
Quantity. So Normal(vector, scalar) failed for them. Use the value's own
reshape method when it has one.

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

* test(distributions): use BCOO for the promote_shapes array-like test

Replace the hand-written _ArrayLike with jax.experimental.sparse.BCOO,
which has reshape/shape/ndim but is not a jax.Array, as suggested in
review. The test now also checks the value. Make the code comment
generic.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

2 of 3 new or added lines in 1 file covered. (66.67%)

15974 of 17179 relevant lines covered (92.99%)

1.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.34
-0.24% numpyro/distributions/util.py
Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 43853266269.1 16 Nov 2026 12:03PM UTC 87
70.55
GitHub Action Run
2 test-inference - 43853266269.2 16 Nov 2026 11:40AM UTC 87
70.84
GitHub Action Run
3 examples - 43853266269.3 16 Nov 2026 11:12AM UTC 87
28.94
GitHub Action Run
Source Files on build 43853266269
  • 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 #43853266269
  • eff7cf3b on github
  • Prev Build on master (#43712824011)
  • Next Build on master (#44143082066)
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