Skip to content

Allow re-evaluation of rank statistics of another quantity#52

Merged
aloctavodia merged 13 commits into
arviz-devs:mainfrom
Cab14bacc:feat/compute_rank_statistic
May 26, 2026
Merged

Allow re-evaluation of rank statistics of another quantity#52
aloctavodia merged 13 commits into
arviz-devs:mainfrom
Cab14bacc:feat/compute_rank_statistic

Conversation

@Cab14bacc
Copy link
Copy Markdown
Contributor

@Cab14bacc Cab14bacc commented May 6, 2026

Depends on #58

Introduces param_transform callback, this is the function applied to parameters before evaluating the rank statistics. And allow re-evaluation of rank statistics of another quantity via compute_rank_statistics without needing to re-run run_simulations by storing the posteriors and prior.

This was referenced May 6, 2026
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py Outdated
Comment thread simuk/sbc.py Outdated
@aloctavodia
Copy link
Copy Markdown
Contributor

This seems to need a rebase

@Cab14bacc Cab14bacc force-pushed the feat/compute_rank_statistic branch from e80de61 to 18429b4 Compare May 22, 2026 10:46
@Cab14bacc Cab14bacc force-pushed the feat/compute_rank_statistic branch from 18429b4 to 2a72399 Compare May 23, 2026 11:29
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 23, 2026

Codecov Report

❌ Patch coverage is 99.04762% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.30%. Comparing base (6ed2d1c) to head (d48ceb7).

Files with missing lines Patch % Lines
simuk/sbc.py 98.46% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   94.63%   96.30%   +1.67%     
==========================================
  Files           3        3              
  Lines         261      352      +91     
==========================================
+ Hits          247      339      +92     
+ Misses         14       13       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@aloctavodia aloctavodia merged commit eca20f0 into arviz-devs:main May 26, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants