# Verification and correctness (across cycles) ## Verification and correctness (across cycles) 1. **Snapshot tests** for the pretty-printer and IR emit. The diff makes regressions visible immediately. 2. **Property tests** for the JSON ↔ pretty-print [roundtrip](roundtrip-invariant.md). 3. **End-to-end tests** for `examples/` with expected program output. 4. **Hash stability**: a test ensures the same def always produces the same hash. 5. **CI pin** of the outputs in `tests/expected/`. 6. **Rustdoc cleanliness**: `cargo doc --no-deps` runs warning-free. Fixing a rustdoc warning is part of the iteration that introduced it, not a follow-up. Ratified by: `bench/architect_sweeps.sh`.