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

pyro-ppl / numpyro / 18640794209
92%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2025 03:28AM UTC
Jobs 3
Files 89
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 2025 03:05AM UTC coverage: 92.457% (+0.01%) from 92.447%
18640794209

push

github

web-flow
fix(gh-2036): MyPy Errors in `numpyro.distributions.transforms` Module (#2066)

* chore: incomplete changes for type hint in numpyro.distribution.transforms

* refactor: update type hints and improve type safety across transforms and constraints

* fix: improve type casting in Transform class and ensure proper handling of inverse transforms

Co-authored-by: Juan Orduz <juanitorduz@gmail.com>

* chore: remove `numpy.typing.mypy_plugin` from mypy configuration

Co-authored-by: Juan Orduz <juanitorduz@gmail.com>

* fix: update `_inv` type to support weak references in `Transform` class

Co-authored-by: Juan Orduz <juanitorduz@gmail.com>

* fix: update `intermediates` type to `Optional[PyTree]` in Transform classes and add PyTree type alias

* fix: update type hints in `Transform` classes to use `NonScalarArray` and `NumLike`

* fix: return type of `log_abs_det_jacobian` changed to `NumLike`

* fix: update `call_with_intermediates` method to return `Optional[PyTree]`

* using Generic type for the base transform with NumLike bound

* formatting transform methods

* fix typing of ComplexTransform

* format transforms module again

* fix for transform.inv might get value None

* revert to use jnp.array_equal to compare the domains

* fix lint

---------

Co-authored-by: Juan Orduz <juanitorduz@gmail.com>
Co-authored-by: Du Phan <fehiepsi@gmail.com>

261 of 264 new or added lines in 4 files covered. (98.86%)

1 existing line in 1 file now uncovered.

13704 of 14822 relevant lines covered (92.46%)

1.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
95.82
0.06% numpyro/distributions/transforms.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.82
0.06% numpyro/distributions/transforms.py
Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 18640794209.1 20 Oct 2025 04:02AM UTC 89
68.62
GitHub Action Run
2 examples - 18640794209.2 20 Oct 2025 03:28AM UTC 89
28.33
GitHub Action Run
3 test-inference - 18640794209.3 20 Oct 2025 03:57AM UTC 89
72.17
GitHub Action Run
Source Files on build 18640794209
  • Tree
  • List 89
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18640794209
  • 725e0096 on github
  • Prev Build on master (#18637249374)
  • Next Build on master (#18762850778)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc