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

pyro-ppl / numpyro / 21185503949
93%

Build:
DEFAULT BRANCH: master
Ran 20 Jan 2026 08:30PM 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 Jan 2026 08:07PM UTC coverage: 92.615% (+0.009%) from 92.606%
21185503949

push

github

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

* feat: enhance types in `numpyro.distributions.constraints` module

* refactor: simplify `ConstraintT` protocol by removing generic type parameter

* refactor: remove unused `NumLikeT` type variable and streamline imports in typing modules

* refactor: remove setter methods for `is_discrete` and `event_dim` in `Constraint` class

* refactor: replace `reshape` method with `jnp.reshape` in `_IndependentConstraint` class

* refactor: replace `jnp` with dynamic use of `jax.numpy` or `numpy`

* Revert "refactor: remove unused `NumLikeT` type variable and streamline imports in typing modules"

This reverts commit 78d8e93af.

* refactor: replace `jnp` with `xp` and replace logical operations with bitwise operators

* refactor: update type parameters in `_RealVector` and `_RealMatrix` classes to use `NonScalarArray`

* refactor: replace private attributes with public properties for `is_discrete` and `event_dim` in `Constraint` class

* refactor: update type hints for constraints to use Union

* refactor: optimize logical check in `_PositiveOrderedVector` to use `jnp.all`

* fix: correction in attributes

* remove dependency on ConstraintT and TransformT

* Fix typing issues in handlers and primitives

* fix typing issues in IndependentTransform

---------

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

233 of 242 new or added lines in 5 files covered. (96.28%)

13996 of 15112 relevant lines covered (92.62%)

1.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
94.82
0.21% numpyro/distributions/constraints.py
Jobs
ID Job ID Ran Files Coverage
1 test-modeling - 21185503949.1 20 Jan 2026 09:12PM UTC 89
69.02
GitHub Action Run
2 examples - 21185503949.2 20 Jan 2026 08:30PM UTC 89
28.24
GitHub Action Run
3 test-inference - 21185503949.3 20 Jan 2026 08:57PM UTC 89
71.47
GitHub Action Run
Source Files on build 21185503949
  • Tree
  • List 89
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21185503949
  • 4fd6c733 on github
  • Prev Build on master (#21180071024)
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

© 2026 Coveralls, Inc