Skip to main content

Module correctness

Module correctness 

Source
Expand description

Correctness preflight for benchmark inputs and adapters.

Port of benchmarks/correctness.py: run refuses to benchmark until these invariants pass — non-terminal dataset positions, legal moves for the correct side, and seed reproducibility.

Functions§

run_preflight
Return human-readable invariant failures; an empty list means all good.