Skip to content

feat: serialize MCMC diagnostics#9

Merged
kholdrex merged 1 commit into
masterfrom
feat/serde-diagnostics-serialization
Jun 1, 2026
Merged

feat: serialize MCMC diagnostics#9
kholdrex merged 1 commit into
masterfrom
feat/serde-diagnostics-serialization

Conversation

@kholdrex

@kholdrex kholdrex commented Jun 1, 2026

Copy link
Copy Markdown
Member

Summary

Adds optional serde serialization support for bayes-rs MCMC diagnostics and multi-chain outputs. This makes convergence summaries, trace plots, and multi-chain run results easier to export to JSON or other serde-backed formats without changing the default dependency surface.

Changes

  • Adds an optional serde feature that enables serialization derives for diagnostics and multi-chain output types.
  • Adds serde-covered tests for diagnostics, trace plots, summaries, and multi-chain output.
  • Adds a serde_diagnostics example and README guidance for exporting diagnostic summaries.

Test plan

  • Rust formatting passed.
  • Full all-features test suite passed.
  • Clippy passed with warnings denied.
  • Documentation build passed with warnings denied.
  • Benchmark targets compiled successfully.

@kholdrex kholdrex merged commit 5269e44 into master Jun 1, 2026
7 checks passed
@kholdrex kholdrex deleted the feat/serde-diagnostics-serialization branch June 1, 2026 00:45
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.

1 participant