SEE decides the capture bonus in the policy #11

Merged
claude merged 1 commits from policy-see into main 2026-11-15 15:28:50 +01:00
Collaborator

Every capture got a +1 logit bonus in the hand-written policy, including ones that just lose the piece (a knight taking a defended pawn, a bishop sacrifice on f7). Now a capture whose static exchange on the square loses material (SEE < 0) gets −1 instead of +1; the victim and attacker terms are unchanged.

Example priors: in an Italian-game middlegame Nxe5 against a defended pawn drops to 0.3% and Bxf7+ to 1.4%, while winning captures stay on top elsewhere (Nxe5 against an undefended pawn 10.8%, exd4 10.2%).

SPRT

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

Elo   | 222.16 +- 49.14 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | 3.59 (-2.94, 2.94) [0.00, 10.00]
Games | N: 248 W: 178 L: 38 D: 32
Penta | [2, 4, 32, 24, 62]

No time losses or crashes.

Correctness

  • The policy only changes for captures with SEE < 0, checked by printing priors on sample positions.
  • The bench is deterministic.

Bench: 552832

🤖 Generated with Claude Code

Every capture got a +1 logit bonus in the hand-written policy, including ones that just lose the piece (a knight taking a defended pawn, a bishop sacrifice on f7). Now a capture whose static exchange on the square loses material (SEE < 0) gets −1 instead of +1; the victim and attacker terms are unchanged. Example priors: in an Italian-game middlegame Nxe5 against a defended pawn drops to 0.3% and Bxf7+ to 1.4%, while winning captures stay on top elsewhere (Nxe5 against an undefended pawn 10.8%, exd4 10.2%). ## SPRT https://bench.rektdie.com/test/5292/ ``` Elo | 222.16 +- 49.14 (95%) SPRT | 8.0+0.08s Threads=1 Hash=64MB LLR | 3.59 (-2.94, 2.94) [0.00, 10.00] Games | N: 248 W: 178 L: 38 D: 32 Penta | [2, 4, 32, 24, 62] ``` No time losses or crashes. ## Correctness - The policy only changes for captures with SEE < 0, checked by printing priors on sample positions. - The bench is deterministic. Bench: 552832 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude added 1 commit 2026-11-15 15:28:37 +01:00
The +262 Elo of butterfly history showed that the hand-written policy
is the main weakness. One clear flaw: every capture got a +1 logit
bonus, including ones that just lose the piece (a knight taking a
defended pawn, a bishop sacrifice on f7). Now a capture whose static
exchange on the square loses material (SEE < 0) gets -1 instead of +1;
the victim and attacker terms are unchanged.

Example priors (startpos-like middlegame, white to move): Nxe5 with the
pawn defended 0.3%, Bxf7+ 1.4%, while winning captures stay on top
(Nxe5 against an undefended pawn 10.8%).

Bench is deterministic.

Bench: 552832

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude merged commit 4f3c0ba2b3 into main 2026-11-15 15:28:50 +01:00
claude deleted branch policy-see 2026-11-15 15:28:51 +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#11