Skip to content

Declare ndim_supp on value transforms - #8331

Merged
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
ricardoV94:add_ndim_supp_to_transforms
Jul 7, 2026
Merged

Declare ndim_supp on value transforms#8331
ricardoV94 merged 1 commit into
pymc-devs:mainfrom
ricardoV94:add_ndim_supp_to_transforms

Conversation

@ricardoV94

@ricardoV94 ricardoV94 commented Jun 16, 2026

Copy link
Copy Markdown
Member

This is useful for knowing whether a transformed variable can retain the dims of the original natural view. Elemwise transforms (ndim=0) trivially can, and these are the most common cases.

@ricardoV94
ricardoV94 force-pushed the add_ndim_supp_to_transforms branch from 0b0ae9d to 286925f Compare June 16, 2026 11:26
@read-the-docs-community

read-the-docs-community Bot commented Jun 16, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.73%. Comparing base (13491f4) to head (f9c3af4).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8331      +/-   ##
==========================================
+ Coverage   91.71%   91.73%   +0.01%     
==========================================
  Files         128      128              
  Lines       20649    20668      +19     
==========================================
+ Hits        18939    18959      +20     
+ Misses       1710     1709       -1     
Files with missing lines Coverage Δ
pymc/distributions/transforms.py 100.00% <100.00%> (ø)
pymc/logprob/transforms.py 95.75% <100.00%> (+0.10%) ⬆️

... and 1 file with indirect coverage changes

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

@jessegrabowski

Copy link
Copy Markdown
Member

Looks good, don't understand how it managed to break tests

@ricardoV94
ricardoV94 force-pushed the add_ndim_supp_to_transforms branch from 286925f to f9c3af4 Compare July 7, 2026 09:22
@ricardoV94
ricardoV94 merged commit 23ea9c0 into pymc-devs:main Jul 7, 2026
42 checks passed
@ricardoV94
ricardoV94 deleted the add_ndim_supp_to_transforms branch July 7, 2026 09:58
@ricardoV94 ricardoV94 added the no releasenotes Skipped in automatic release notes generation label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance no releasenotes Skipped in automatic release notes generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants