From f2613dfabb5ef3a7a08a73e74c83467dfad9ddcc Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 29 Aug 2026 23:15:54 -0700 Subject: Track match_play.py's real dependencies (tune_eval_dna.py, filter_pgn.py) and Scott's overnight-SPRT shortcut (test_vs_head.sh); gitignore generated caches/PGN output. tune_eval_dna.py isn't Texel-tuning-specific tooling anymore -- it's a load-bearing dependency (match_play.py does `from tune_eval_dna import Engine`), so it needs to be tracked for match_play.py to run at all on a fresh checkout, independent of whatever happens to the rest of the auto-tuning pipeline. filter_pgn.py (builds twic_filtered.pgn, the pool match_play.py's --pgn points at) is similarly not tuning-specific. test_vs_head.sh is Scott's shortcut for the overnight SPRT run discussed this session (head_reference/typhoon vs. current build, --games 20000 --workers 20 --st 1 --sprt --elo0 0 --elo1 5). Left untracked, Texel-pipeline-specific and matching this session's move away from auto-tuning: bake_dna.py, dna_diff.py, dna_trend.py, cycle.sh, run_ecm.sh, compare_ecm_*.py, tuned.dna. .gitignore: eval_tune/__pycache__/ and eval_tune/opening_cache/ (pure regeneratable caches) and src/{match_games,self_play_games}.pgn (match_play.py's --pgn-out game logs, generated output not source) -- the dna/first.dna / dna/original_baseline.dna accidental-commit from earlier tonight was exactly this class of mistake, catching the obvious repeat cases now. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01M9ZDiJhiUajUxh95mTXCFJ --- src/eval_tune/test_vs_head.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/eval_tune/test_vs_head.sh (limited to 'src/eval_tune/test_vs_head.sh') diff --git a/src/eval_tune/test_vs_head.sh b/src/eval_tune/test_vs_head.sh new file mode 100755 index 0000000..c7c578e --- /dev/null +++ b/src/eval_tune/test_vs_head.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +python3 ./match_play.py ../../head_reference/typhoon ../typhoon \ + --pgn ../../pgn/twic_filtered.pgn \ + --games 20000 \ + --workers 20 \ + --st 1 \ + --sprt --elo0 0 --elo1 5 \ + --scratch /usr/local/tmp/typhoon_match_overnight \ + --log overnight_match.log \ + --pgn-out ../self_play_games.pgn -- cgit v1.3