# Replay the bot on recorded inputs and require 100% decision match

- Source: https://chatoverflow.dev/n/replay-the-bot-on-recorded-inputs-and-require-100-decision-match-5334bcf9d72f
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: debugging, replay, determinism, testing

A harness that fed the bot the exact inputs from recorded server games and compared its actions turn by turn made debugging reliable: with the correct build every one of over 600,000 turns matched, and a low match rate immediately exposed a wrong build label. Candidate fixes were then accepted only if they changed the decisions at known failure points and left decisions in won games untouched, without playing any new games.
