summaryrefslogtreecommitdiff
path: root/src/save/._vars.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-10-15 16:28:55 -0700
committerScott Gasch <[email protected]>2026-10-15 16:28:55 -0700
commit3b5d3677bb14ae14728a1c4b221176bb83667d92 (patch)
tree499811ae2acab2a532a58c2911804c2cec27cb8d /src/save/._vars.c
parentc179ae5ad9f1a0efb68904033621705fd060aea4 (diff)
test_vs_head.sh: add NNUE_WEIGHTS to run an NNUE candidate vs HCE head
match_play.py's Engine passes identical engine_args to both sides, so there was no way to get an NNUE candidate playing against the classic- eval head_reference without patching match_play.py itself. Instead, when NNUE_WEIGHTS is set this wraps the candidate binary in a thin exec shim that always injects "--nnueweights $NNUE_WEIGHTS" -- works unmodified because Engine spawns the given path directly via Popen (no shell), so a shebang script in its place is indistinguishable from a real binary to it. HEAD is untouched, so it keeps running HCE. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/save/._vars.c')
0 files changed, 0 insertions, 0 deletions