MCGS: remove the value hash #25

Merged
claude merged 3 commits from mcgs-v-novaluehash into main 2026-11-16 23:21:04 +01:00
3 Commits
Author SHA1 Message Date
rektdieandclaude 287bf93ef9 docs: MCGS merges into main (PRs 23-25) in mcgs-log
Bench: 608763

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:20:38 +01:00
rektdieandclaude 19aedfdce9 Merge main into mcgs-v-novaluehash
Brings in the stop rule (PR #24). The combined code passed the gates:
zero warnings, verify (a)-(d), VERIFY searches with forced GC, reuse at
Hash 64, Hash 1 and 960, smoke positions.

Bench: 608763

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:20:38 +01:00
rektdieandclaude 9e7c3ef64a mcts: remove the value hash (MCGS variant 5c)
The graph shares a position's node, and with it its Q, between move
orders, which the value hash did for the tree. It still took 1/32 of Hash
and a store for every node of every playout path (about 6 % of playout
time in step 1). Its remaining use was positions the graph dropped in a
collection, or a new search without reuse.

All of Hash now goes to the graph. A simplification: Non-Regression SPRT.

The bench changes slightly (one Searcher runs all 16 bench positions, so
the value hash carried a few values between them).

Checked: zero warnings; VERIFY build: `verify` (a)-(d), the VERIFY searches of plan section 6 with forced GC at Hash 1 and 2, the reuse sequence at Hash 64, Hash 1 and from the 960 start, and the go nodes 1/2, go depth 1 smoke positions.

Bench: 765326

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:36:02 +01:00