Repository navigation
Signal each class of posterior warning once - #416
Open
florence-bockting wants to merge 2 commits into
Open
florence-bockting wants to merge 2 commits into
florence-bockting wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #416 +/- ##
==========================================
+ Coverage 92.65% 92.69% +0.04%
==========================================
Files 31 31
Lines 3240 3258 +18
==========================================
+ Hits 3002 3020 +18
Misses 238 238 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
This is how benchmark results would change (along with a 95% confidence interval in relative change) if 45a7c81 is merged into master:
|
florence-bockting
marked this pull request as ready for review
November 2, 2026 11:27
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is connected to stan-dev/posterior#470 where we introduced warning classes.
These can now be extracted and collected through the new
.collect_warnings()function in loo.This collector ensures that the same warning is printed only once (and not multiple times when e.g. running some posterior function in a loop).
This PR is related to Issue #353 (but it does not solve it entirely).
TODOs
The PR was assisted by an LLM.