Skip to content

Add configurable credible intervals to sample reports - #540

Open
BJMCox wants to merge 7 commits into
mainfrom
fix-381-configurable-report-intervals
Open

Add configurable credible intervals to sample reports#540
BJMCox wants to merge 7 commits into
mainfrom
fix-381-configurable-report-intervals

Conversation

@BJMCox

@BJMCox BJMCox commented Aug 16, 2026

Copy link
Copy Markdown
Member

Fixes #381.

Add configurable credible-interval masses to lazyreport(::DensitySampleVector) and report each interval in a separate marginal-table column. Intervals use the weighted marginal histograms and edges used by plots, including disconnected regions. Defaults retain the existing 68.3%, 95.5%, and 99.7% intervals, and the deprecated bat_report entry point forwards keyword arguments.

Main code: +78/-30.

@BJMCox BJMCox self-assigned this Aug 16, 2026
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.64516% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.79%. Comparing base (6e8795f) to head (c49cbe7).

Files with missing lines Patch % Lines
src/deprecations.jl 0.00% 3 Missing ⚠️
src/variates/density_sample.jl 89.28% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #540      +/-   ##
==========================================
+ Coverage   65.45%   66.79%   +1.34%     
==========================================
  Files         121      121              
  Lines        7060     7089      +29     
==========================================
+ Hits         4621     4735     +114     
+ Misses       2439     2354      -85     

☔ 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.
@BJMCox
BJMCox marked this pull request as ready for review August 16, 2026 11:41
@BJMCox

BJMCox commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

Surprisingly tricky but this seems to work?

@BJMCox
BJMCox requested a review from oschulz August 16, 2026 11:41
@BJMCox
BJMCox force-pushed the fix-381-configurable-report-intervals branch from e5226a5 to 21627da Compare August 31, 2026 15:58
@BJMCox
BJMCox force-pushed the fix-381-configurable-report-intervals branch from 21627da to c49cbe7 Compare September 1, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant