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

pyro-ppl / numpyro / 43018690670
93%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2026 12:34PM 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:14PM UTC coverage: 92.971% (-0.006%) from 92.977%
43018690670

push

github

web-flow
fix(distributions): make pytree flattening independent of the hash seed (#2389)

* fix(distributions): make pytree flattening independent of the hash seed

gather_pytree_data_fields and gather_pytree_aux_fields deduplicated field
names through a set, so the order in which a distribution flattens
followed the process's string hash seed. jit then lowered the same
distribution to differently ordered program arguments in each process,
and JAX's persistent compilation cache missed across processes. Collect
the names in a list and deduplicate with dict.fromkeys, so both lists
follow declaration order.

* test(distributions): check pytree field order on deeper hierarchies

Cover NegativeBinomial2 (a field declared twice along the MRO), CAR and
MaskedDistribution alongside Normal, so a set-based gather fails on
practically every hash seed instead of passing on about one in
thirteen. Describe the order as MRO order (subclass fields first) in
the code comments and the test.

* test(distributions): say what to do when the pinned field tuples change

Drop the docstring sentence about the old set-based gather, which will
not exist once this lands, and note instead that the expected tuples pin
the whole flattened layout, so updating them is the fix when a field is
added to one of these classes.

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

1 existing line in 1 file now uncovered.

15952 of 17158 relevant lines covered (92.97%)

1.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.83
-1.72% numpyro/ops/provenance.py
Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 43018690670.1 11 Nov 2026 01:26PM UTC 87
70.5
GitHub Action Run
2 examples - 43018690670.2 11 Nov 2026 12:34PM UTC 87
28.97
GitHub Action Run
3 test-inference - 43018690670.3 11 Nov 2026 12:52PM UTC 87
70.92
GitHub Action Run
Source Files on build 43018690670
  • Tree
  • List 87
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43018690670
  • ab80727b on github
  • Prev Build on master (#42678087166)
  • Next 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