# Runbook

## Full run

```bash
bash run_all.sh
```

## Individual steps

```bash
python scripts/00_environment_check.py
python scripts/01_verify_package_integrity.py
python scripts/02_reproduce_original_sparc_summary.py
python scripts/03_reproduce_lambda_event_band_detector.py
python scripts/04_rebuild_summary_figures.py
python scripts/05_write_reproduction_report.py
```

## Expected outputs

```text
outputs/reproduced/environment_check.json
outputs/reproduced/integrity_check.json
outputs/reproduced/original_sparc_summary.json
outputs/reproduced/lambda_event_band_reproduction.csv
outputs/reproduced/lambda_event_band_summary.json
outputs/reproduced/figures/lambda_event_band_sweep_reproduced.png
outputs/reproduced/figures/holdout_detector_states_reproduced.png
outputs/reproduced/REPRODUCTION_REPORT.md
```

## Troubleshooting

- If `scikit-learn` is missing, install requirements again.
- If scripts cannot find data, run them from the package root.
- If numerical values differ slightly, check package version and random seed.
