Skip to content

Implement dims CustomDist (alternative impl) - #8346

Draft
ricardoV94 wants to merge 3 commits into
pymc-devs:mainfrom
ricardoV94:alt-customdist-dims
Draft

Implement dims CustomDist (alternative impl)#8346
ricardoV94 wants to merge 3 commits into
pymc-devs:mainfrom
ricardoV94:alt-customdist-dims

Add CustomDist to pymc.dims

978eba4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 2, 2026 in 0s

91.80% (+0.07%) compared to 971800b

View this Pull Request on Codecov

91.80% (+0.07%) compared to 971800b

Details

Codecov Report

❌ Patch coverage is 94.46809% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.80%. Comparing base (971800b) to head (978eba4).
⚠️ Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
pymc/dims/distributions/core.py 90.24% 8 Missing ⚠️
pymc/dims/distributions/custom.py 96.33% 4 Missing ⚠️
pymc/dims/distributions/censored.py 97.29% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8346      +/-   ##
==========================================
+ Coverage   91.72%   91.80%   +0.07%     
==========================================
  Files         125      129       +4     
  Lines       20526    20855     +329     
==========================================
+ Hits        18828    19146     +318     
- Misses       1698     1709      +11     
Files with missing lines Coverage Δ
pymc/dims/distributions/__init__.py 100.00% <100.00%> (ø)
pymc/distributions/distribution.py 94.60% <100.00%> (+0.02%) ⬆️
pymc/dims/distributions/censored.py 97.67% <97.29%> (+4.57%) ⬆️
pymc/dims/distributions/custom.py 96.33% <96.33%> (ø)
pymc/dims/distributions/core.py 91.44% <90.24%> (-0.27%) ⬇️

... and 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.