24.36 Output files, privacy, and audit bundle
Posterior outputs span four layers. Posterior evidence includes posterior_summary.csv, shrinkage_summary.csv, variance_consistency.json, and posterior_diagnostics.json. Stability evidence includes selection_probabilities.csv, coefficient_stability.csv, form_stability.csv, learner_summary.csv, and cluster_switching.csv.
Execution state includes replicate_status.csv, checkpoint.json, and optional replicate_selections.csv. Model/provenance includes equations.csv, results JSON, retained relationships, posterior_refits.json, draft model/block, reports, normalized configuration, input manifest, log, and checksums.
--write-subject-level exposes subject posterior summaries; --write-posterior-draws can be very large and sensitive; --write-replicate-selections supports validation. IDs are hashed by default. Archive the complete bundle and verify checksums, but remember integrity is not scientific validation.
Common mistakes
- Keeping only the report and draft model.
- Sharing identifiable posterior/draw files.
- Parsing rendered HTML instead of CSV/JSON.
- Discarding checkpoint and failure evidence.
- Assuming schemas never change.
Checklist
- Verify expected files and checksums.
- Apply privacy controls to subject/draw outputs.
- Use machine-readable files for computation.
- Preserve run state, diagnostics, and provenance.
- Version downstream schema assumptions.
Further reading
Open the primary result bundle and see Chapter 38 when drafted.