Profiling showed that 80-85% of a middlegame playout is the quiescence
search behind the value network: 15-41 quiescence nodes per leaf, since
every capture was searched, including ones that just lose the piece.
The quiescence search now skips captures whose static exchange on the
target square loses material (SEE < 0) when not in check. The SEE is the
usual threshold swap (least valuable attacker first, x-rays opened as
pieces leave, a king recaptures only an undefended square, pins
ignored); castling, en passant and promotions count as even.
Effect at 60k playouts (instrumented build, qsearch nodes per leaf and
time per playout):
startpos 3.7 -> 2.2 -20%
QGD middlegame 14.7 -> 4.2 -54%
Kiwipete 41.4 -> 25.5 -25%
Sicilian middle 21.0 -> 3.4 -68%
rook endgame 2.6 -> 2.3 -2%
Checked: the SEE matches an independent python-chess reference exactly
on 9957 captures from 3000 random positions (4884 with recaptures).
Bench is deterministic. Move generation is untouched.
Bench: 546966
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>