lynx-chess / Lynx

Chess Engine, written in C#
https://lichess.org/@/Lynx_BOT
MIT License
47 stars 4 forks source link

🔍 Add history bonus for TT move when a TT cutoff fails high #932

Closed eduherminio closed 2 months ago

eduherminio commented 2 months ago

Add history bonus for TT move when a TT cutoff fails high (or whatever Ciekce says)

This will fail likely due to how expensive is to get the full move to be able to see whether it's pseudolegal (I could try to omit that), but especially to get the piece needed for the history table.

With the optimization of generating only quiets:

Test  | history-bonus-tt-cutoff
Elo   | -1.93 +- 3.24 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | -2.26 (-2.25, 2.89) [0.00, 3.00]
Games | 21206: +6011 -6129 =9066
Penta | [643, 2596, 4214, 2536, 614]
https://openbench.lynx-chess.com/test/635/