Variant 5c of docs/mcgs-plan.md. With MCGS, a transposition reuses the node itself, so the separate ValueHash mostly duplicated work and took memory away from the graph. This removes the ValueHash class, its probe and its stores, and setoption Hash now gives all of its bytes to the graph arenas.
Variant 5c of `docs/mcgs-plan.md`. With MCGS, a transposition reuses the node itself, so the separate ValueHash mostly duplicated work and took memory away from the graph. This removes the `ValueHash` class, its probe and its stores, and `setoption Hash` now gives all of its bytes to the graph arenas.
## SPRT
Test: https://bench.rektdie.com/test/5318/. This is a Non-Regression test of `9e7c3ef` against `mcgs-step3-reroot` `95e4909`.
```
Elo | 13.59 +- 7.51 (95%)
SPRT | 8.0+0.08s Threads=1 Hash=64MB
LLR | 3.16 (-2.94, 2.94) [-5.00, 0.00]
Games | N: 3120 W: 1028 L: 906 D: 1186
Penta | [59, 283, 767, 379, 72]
```
That test did not include the stop rule (PR #24). It is merged together with it at the owner's request, and no SPRT has measured the two together.
## Correctness
These checks ran on this branch with main merged in, so on the exact code that main will have. All of them passed:
- Zero warnings in both the normal and the VERIFY build.
- `verify` (a)–(d).
- VERIFY searches: 300 tree checks with forced GC at Hash 1 and Hash 2.
- Reuse sequences at Hash 64, at Hash 1 and from a 960 start position.
- The smoke positions.
- Bench is deterministic.
The branch also records the merges in `docs/mcgs-log.md`.
## Bench
608763
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Variant 5c of
docs/mcgs-plan.md. With MCGS, a transposition reuses the node itself, so the separate ValueHash mostly duplicated work and took memory away from the graph. This removes theValueHashclass, its probe and its stores, andsetoption Hashnow gives all of its bytes to the graph arenas.SPRT
Test: https://bench.rektdie.com/test/5318/. This is a Non-Regression test of
9e7c3efagainstmcgs-step3-reroot95e4909.That test did not include the stop rule (PR #24). It is merged together with it at the owner's request, and no SPRT has measured the two together.
Correctness
These checks ran on this branch with main merged in, so on the exact code that main will have. All of them passed:
verify(a)–(d).The branch also records the merges in
docs/mcgs-log.md.Bench
608763
🤖 Generated with Claude Code