test(raft-sim-conformance): randomized M-seed sweep + all scenarios, zero violations (task 6.1)

This commit is contained in:
Rongsong Shen 2026-06-24 15:59:22 +00:00
parent a2933c274d
commit 47f68032b7
2 changed files with 102 additions and 1 deletions

View file

@ -168,7 +168,7 @@
## 6. CI batch and randomized seed sweep
- [ ] 6.1 RED+GREEN: randomized M-seed sweep with zero violations
- [x] 6.1 RED+GREEN: randomized M-seed sweep with zero violations
- Test: run `raft_sim_run` for a fixed `max_steps` across M seeds (M ≥ configured minimum) plus all targeted scenarios; fail if any seed/scenario violates any invariant
- Implement the sweep harness in `test_raft.c`; bound `max_steps`, M, and array sizes so the target fits the library test-suite budget
- Observable completion: the full batch runs clean and within budget