Skip to content

Add SliceSampling.jl adapter - #570

Open
BJMCox wants to merge 2 commits into
mainfrom
add-slice-sampling
Open

Add SliceSampling.jl adapter#570
BJMCox wants to merge 2 commits into
mainfrom
add-slice-sampling

Conversation

@BJMCox

@BJMCox BJMCox commented Aug 30, 2026

Copy link
Copy Markdown
Member

Adds optional SliceSampling.jl support for transformed BAT targets.

  • Uses BAT initialization, transforms, context RNG, and evaluated measures
  • Preserves upstream log densities and transition diagnostics
  • Reports autocorrelation effective sample size
  • Tests a conjugate posterior, shaped values, sampler choice, and seeded replay

This targets many-changes because it uses the evaluation API from #564.

Tests:

  • Optional suite: 11/11
  • Full BAT suite: 22,564/22,564

@codecov

codecov Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 65.47%. Comparing base (6e8795f) to head (08aee20).

Files with missing lines Patch % Lines
ext/BATSliceSamplingExt.jl 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #570      +/-   ##
==========================================
+ Coverage   65.45%   65.47%   +0.01%     
==========================================
  Files         121      122       +1     
  Lines        7060     7087      +27     
==========================================
+ Hits         4621     4640      +19     
- Misses       2439     2447       +8     

☔ 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.

@oschulz
oschulz deleted the branch main August 31, 2026 15:00
@oschulz oschulz closed this Aug 31, 2026
Integrate SliceSampling.jl through BAT’s transform and evaluation pipeline. Preserve log densities and diagnostics while testing statistical accuracy, shapes, and deterministic sampling.
@BJMCox BJMCox reopened this Aug 31, 2026
@BJMCox
BJMCox changed the base branch from many-changes to main August 31, 2026 15:23
@BJMCox
BJMCox force-pushed the add-slice-sampling branch 2 times, most recently from f2b5e4b to 74a9954 Compare August 31, 2026 16:17
@BJMCox
BJMCox force-pushed the add-slice-sampling branch from 74a9954 to 08aee20 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants