pymc-devs / pymc

Bayesian Modeling and Probabilistic Programming in Python
https://docs.pymc.io/
Other
8.53k stars 1.98k forks source link

Run convergence checks when using JAX samplers #7165

Closed ricardoV94 closed 5 months ago

ricardoV94 commented 5 months ago

Description

Also:

Related Issue

Supersedes the following PRs

Checklist

Type of change


📚 Documentation preview 📚: https://pymc--7165.org.readthedocs.build/en/7165/

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 97.75281% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.32%. Comparing base (2e3ea56) to head (17ff331). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165/graphs/tree.svg?width=650&height=150&src=pr&token=JFuXtOJ4Cb&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs)](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs) ```diff @@ Coverage Diff @@ ## main #7165 +/- ## ========================================== + Coverage 92.29% 92.32% +0.02% ========================================== Files 101 101 Lines 16947 16904 -43 ========================================== - Hits 15642 15607 -35 + Misses 1305 1297 -8 ``` | [Files](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs) | Coverage Δ | | |---|---|---| | [pymc/sampling/mcmc.py](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs#diff-cHltYy9zYW1wbGluZy9tY21jLnB5) | `87.61% <100.00%> (-0.11%)` | :arrow_down: | | [pymc/stats/convergence.py](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs#diff-cHltYy9zdGF0cy9jb252ZXJnZW5jZS5weQ==) | `97.43% <100.00%> (+2.65%)` | :arrow_up: | | [pymc/sampling/jax.py](https://app.codecov.io/gh/pymc-devs/pymc/pull/7165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pymc-devs#diff-cHltYy9zYW1wbGluZy9qYXgucHk=) | `94.09% <97.40%> (+0.98%)` | :arrow_up: |