Skip to content

mcmc_pairs: ensure all divergences/treedepth hits plotted correctly i…#556

Merged
jgabry merged 4 commits into
masterfrom
bugfix-mcmc_pairs-divergences
Jul 24, 2026
Merged

mcmc_pairs: ensure all divergences/treedepth hits plotted correctly i…#556
jgabry merged 4 commits into
masterfrom
bugfix-mcmc_pairs-divergences

Conversation

@jgabry

@jgabry jgabry commented Jul 23, 2026

Copy link
Copy Markdown
Member

fixes #555

Ensure that divergences and max treedepth hits are plotted correctly in all mcmc_pairs panels. There was a bug introduced when switching from aes_ to aes due to lazy evaluation. In certain cases every panel drew the last panel's divergence mask.

@codecov-commenter

codecov-commenter commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.80%. Comparing base (e718b63) to head (191a862).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #556   +/-   ##
=======================================
  Coverage   98.79%   98.80%           
=======================================
  Files          35       35           
  Lines        6583     6585    +2     
=======================================
+ Hits         6504     6506    +2     
  Misses         79       79           

☔ View full report in Codecov by Harness.
📢 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.

@jgabry

jgabry commented Jul 24, 2026

Copy link
Copy Markdown
Member Author

The failure on windows is unrelated and due to the latest RcppParallel release (CRAN needs to rebuild rstanarm's windows binary)

@jgabry
jgabry merged commit 4477546 into master Jul 24, 2026
5 of 6 checks passed
@jgabry
jgabry deleted the bugfix-mcmc_pairs-divergences branch July 24, 2026 16:02
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.

mcmc_pairs sometimes plots wrong number of divergences

2 participants