lynx-chess / Lynx

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

🐛 Don't let check extensions affect current depth #1037

Closed eduherminio closed 1 month ago

eduherminio commented 1 month ago

When in check, increase only inner searches depth instead of affecting current one (i.e. PV Table, Histories, TT records, etc.)

Test  | bugfix/check-extensions-extended-depth
Elo   | -3.18 +- 3.85 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | -2.26 (-2.25, 2.89) [0.00, 3.00]
Games | 14854: +4061 -4197 =6596
Penta | [443, 1852, 2939, 1784, 409]
https://openbench.lynx-chess.com/test/746/