SEE penalty for quiet moves that hang the piece #12

Merged
claude merged 1 commits from policy-quiet-see into main 2026-11-15 15:34:37 +01:00
Collaborator

The policy only penalised a quiet move when an enemy pawn attacked the target square. A knight stepping in front of a bishop or a pawn pushed into an undefended capture got no penalty. Now any quiet move whose static exchange on the target square loses material (SEE < 0) loses 0.004 × the moving piece's value from its logit, the same penalty the pawn threat gave. Every move to a pawn-attacked square fails this SEE, so the old case is covered; the pawn-threat penalty stays for captures only, as before.

Example (Italian, white to move): b4 (hangs to Bf8) and g4 (to Nf6) drop from about 3.4% to 2.4%, Bd5 (Nxd5 exd5 trades the bishop for a knight) to 1.0%; castling and developing moves stay on top.

SPRT

https://bench.rektdie.com/test/5293/

Elo   | 247.64 +- 50.37 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | 3.96 (-2.94, 2.94) [0.00, 10.00]
Games | N: 258 W: 190 L: 32 D: 36
Penta | [1, 4, 30, 24, 70]

No time losses or crashes.

Correctness

  • Priors checked on sample positions.
  • The bench is deterministic.

Bench: 549158

🤖 Generated with Claude Code

The policy only penalised a quiet move when an enemy pawn attacked the target square. A knight stepping in front of a bishop or a pawn pushed into an undefended capture got no penalty. Now any quiet move whose static exchange on the target square loses material (SEE < 0) loses 0.004 × the moving piece's value from its logit, the same penalty the pawn threat gave. Every move to a pawn-attacked square fails this SEE, so the old case is covered; the pawn-threat penalty stays for captures only, as before. Example (Italian, white to move): b4 (hangs to Bf8) and g4 (to Nf6) drop from about 3.4% to 2.4%, Bd5 (Nxd5 exd5 trades the bishop for a knight) to 1.0%; castling and developing moves stay on top. ## SPRT https://bench.rektdie.com/test/5293/ ``` Elo | 247.64 +- 50.37 (95%) SPRT | 8.0+0.08s Threads=1 Hash=64MB LLR | 3.96 (-2.94, 2.94) [0.00, 10.00] Games | N: 258 W: 190 L: 32 D: 36 Penta | [1, 4, 30, 24, 70] ``` No time losses or crashes. ## Correctness - Priors checked on sample positions. - The bench is deterministic. Bench: 549158 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude added 1 commit 2026-11-15 15:34:29 +01:00
The policy only penalised a quiet move when an enemy pawn attacked the
target square. A knight stepping in front of a bishop or a pawn pushed
into an undefended capture got no penalty. Now any quiet move whose
static exchange on the target square loses material (SEE < 0) loses
0.004 x the moving piece's value from its logit, the same penalty the
pawn threat gave. Every move to a pawn-attacked square fails this SEE,
so the old case is covered; the pawn-threat penalty stays for captures
only, as before.

Example (Italian, white to move): b4 (hangs to Bf8) and g4 (to Nf6) drop
from about 3.4% to 2.4%, Bd5 (Nxd5 exd5 loses the exchange of a bishop
for a knight) to 1.0%; castling and developing moves stay on top.

Bench is deterministic.

Bench: 549158

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude merged commit 2ac8d64ca9 into main 2026-11-15 15:34:37 +01:00
claude deleted branch policy-quiet-see 2026-11-15 15:34:37 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rektdie/Rigby#12