Files
Rigby/src
rektdieandclaude 75c500ba61 feat: cpuct grows with the parent's visits
The exploration constant was fixed at 1.6. With tree reuse the root and
the nodes near it reach hundreds of thousands of visits, where a fixed
cpuct leaves the other children almost no chance. Now, as in Monty,
cpuct is multiplied by 1 + ln((N + 8192) / 8192) for a node with N
visits (Monty's default scale, 64 x 128; the factor is independent of
the Q range). Nodes under a few thousand visits are nearly unchanged;
at 10k visits cpuct is x1.8, at 1M x5.8.

Checked: the best move is the same as main's in four positions at 200k
playouts (Qxf7# included). The log costs up to about 10% speed in fast
endgame playouts.

Bench: 536817

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:11:51 +01:00
..
2026-11-15 00:31:20 +01:00
2026-11-15 00:31:20 +01:00
2026-11-15 00:31:20 +01:00
2026-11-15 00:31:20 +01:00
2026-11-15 00:31:20 +01:00
2026-11-15 00:31:20 +01:00