Episode hook: Search was pruning useful corridor walls, but the first shape pass over-credited useless T-junctions far from the race.
- Opening MCTS loved
e5vaftere3v d4hbecause rollouts saw +1 on Black while ignoring that White's own path also lengthened. - The first geometry pass treated any perpendicular-at-chain-end as "half protrusion". That revived futile T-walls on the opposite side of the board and polluted ordering.
Perpendicular wall placed through the one-row/col gap between two parallel walls:
V(r-1,c) + V(r+1,c)-> candidateH(r,c)H(r,c-1) + H(r,c+1)-> candidateV(r,c)
Adjacent chain ends (V(r,c)+V(r+1,c) with H at the junction) are not cross-gap walls.
Shifted placement beside the door slot that would become a cross-gap:
- vertical gap at col
c->H(r,c-1)orH(r,c+1) - horizontal gap at row
r->V(r-1,c)orV(r+1,c)
| Mechanism | Effect |
|---|---|
wall_shape_attention_bonus |
+40 cm cross / +35 cm block in move ordering only |
| Gating | max(edge heat, touched heat) >= CAT_HOT_CM (160) |
| Pruning | Shape bonus does not rescue otherwise dead walls |
Static eval is unchanged.
Hybrid switches to minimax once walls_placed >= 2, so ply 9 after e3v d4h no longer uses opening MCTS.
MCTS expansion now drops walls with non-positive net race value (opp_gain - our_loss <= 0, or net < 2 when tied/behind).