Reproduce¶
How to re-run the v2 investigation end-to-end. Every script in the experiment directory uses uv run with PEP 723 inline metadata — no virtualenv, no pyproject.toml. Set OPENROUTER_API_KEY and you're ready.
- Quickstart — minimal command sequence to reproduce the v2 main run, mixed-effects analysis, confound probes, and figures.
- Main run — how to run
preamble_quality_v2_main.pyend-to-end: smoke-test slice, full run, useful flags, expected runtime, output layout. - Post-run analysis — how to run
analysis_addendum.py(mixed-effects M0/M1/M2 + weight sensitivity) andfigures.py(5 matplotlib/seaborn figures), and what each produces. - Confound probes — how to run
confound_probes.py(post-hoc probes A/B/C distinguishing H-mechanism from H-judge-priming).