Expand description
Game Simulation Testing Framework
This module implements the Monte Carlo simulation testing framework
as specified in docs/qa/game-replay-testing.md.
§Tiered Testing Strategy
- Tier 1 (Smoke): 1 seed, deterministic, < 10 seconds
- Tier 2 (Regression): 50 seeds, 95% confidence, < 5 minutes
- Tier 3 (Full): 1000 seeds, 99% confidence, < 30 minutes
Structs§
- Failure
Replay - Failure replay artifact for deterministic reproduction
- Fuzz
Generator - Hostile input generator for boundary testing (fuzzing)
- Game
State Snapshot - Game state snapshot for failure replay
- Monte
Carlo Config - Monte Carlo test configuration
- Timestamped
Input - Input event for replay
Enums§
- Invariant
Violation - Invariant violation types
- Test
Result - Test result for Monte Carlo harness
- Test
Tier - Test tier for Monte Carlo simulation
Functions§
- check_
invariants - Check game state invariants