Skip to content

Add threat inputs to PZChessBot - #371

Merged
kevlu8 merged 6 commits into
mainfrom
threat-inputs
Sep 19, 2026
Merged

kevlu8 merged 6 commits into
mainfrom
threat-inputs

Conversation

@kevlu8

@kevlu8 kevlu8 commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Threat inputs are 60144 additional input features describing (attacker, attacker color, attacker square, victim, victim color, victim square) features in the board. This comes at a ~30% slowdown, but the Elo is well worth it.

Credit goes to https://github.com/cosmobobak/viridithas for a lot of the implementation details!

Note that Finny tables were disabled for simpler implementation and may be re-enabled at a later date.

Passed fixed nodes:

Elo   | 43.34 +- 11.64 (95%)
SPRT  | N=25000 Threads=1 Hash=32MB
LLR   | 3.28 (-2.25, 2.89) [0.00, 4.00]
Games | N: 1676 W: 637 L: 429 D: 610
Penta | [28, 145, 342, 237, 86]

https://ob.int0x80.ca/test/1066/

Passed STC:

Elo   | 3.93 +- 2.78 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 3.10 (-2.25, 2.89) [0.00, 4.00]
Games | N: 18196 W: 4747 L: 4541 D: 8908
Penta | [115, 2169, 4348, 2327, 139]

https://ob.int0x80.ca/test/1072/

Passed LTC:

Elo   | 14.91 +- 6.08 (95%)
SPRT  | 40.0+0.40s Threads=1 Hash=128MB
LLR   | 2.89 (-2.25, 2.89) [0.00, 4.00]
Games | N: 3148 W: 878 L: 743 D: 1527
Penta | [1, 321, 800, 446, 6]

https://ob.int0x80.ca/test/1073/

Bench: 2456916

@kevlu8
kevlu8 merged commit 7f318db into main Sep 19, 2026
9 of 23 checks passed
@kevlu8
kevlu8 deleted the threat-inputs branch September 19, 2026 04:56
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.

1 participant