Skip to content

term_methods: correct piece attacks mask | correct rook on 7th - #196

Merged
hansbinderup merged 2 commits into
mainfrom
hans/correct-piece-attacks
Aug 4, 2025
Merged

term_methods: correct piece attacks mask | correct rook on 7th#196
hansbinderup merged 2 commits into
mainfrom
hans/correct-piece-attacks

Conversation

@hansbinderup

Copy link
Copy Markdown
Owner

See each commit :)

Elo   | 15.54 +- 7.90 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.96 (-2.94, 2.94) [0.00, 5.00]
Games | N: 3580 W: 1097 L: 937 D: 1546
Penta | [77, 420, 691, 470, 132]
https://openbench.bunny.beer/test/607/

Previously we only accounted for the last attack mask as we overwrote
the entry for each piece...

Instead we should ofc account for all the attacks by all the pieces.

Signed-off-by: Hans Binderup <hbinderup94@gmail.com>
Instead of using the "rooks" mask for computing the 7th row score we
should use the currently iterated piece.

Bench 1318970

Signed-off-by: Hans Binderup <hbinderup94@gmail.com>
@hansbinderup hansbinderup added this to the release-1.11 milestone Jul 31, 2025

@clarashepherd clarashepherd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice spot!

@hansbinderup
hansbinderup merged commit 29f55cb into main Aug 4, 2025
6 checks passed
@hansbinderup
hansbinderup deleted the hans/correct-piece-attacks branch August 4, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants