]> git.sesse.net Git - stockfish/commit
Use classical eval for Bishop vs Pawns
authordsmsgms <dsmsgomes@gmail.com>
Mon, 12 Apr 2021 15:06:22 +0000 (12:06 -0300)
committerStéphane Nicolet <cassio@free.fr>
Thu, 15 Apr 2021 10:45:39 +0000 (12:45 +0200)
commita7ab92ec25c91e8413630c52cfc2db6b4ecacf0c
treea3efc066e9a416b7ba0065cb718ca1deabbe1c55
parent255514fb29f5a7a2c95863c9b074e36209b841c1
Use classical eval for Bishop vs Pawns

NNUE evaluation is incapable of recognizing trivially drawn bishop endgames
(the wrong-colored rook pawn), which are in fact ubiquitous and stock standard
in chess analysis. Switching off NNUE evaluation in KBPs vs KPs endgames is
a measure that stops Stockfish from trading down to a drawn version of these
endings when we presumably have advantage. The patch is able to edge over master
in endgame positions.

Patch tested for Elo gain with the "endgame.epd" book, and verified for
non-regression with our usual book (see the pull request for details).

STC:
LLR: 2.93 (-2.94,2.94) {-0.20,1.10}
Total: 33232 W: 6655 L: 6497 D: 20080
Ptnml(0-2): 4, 2342, 11769, 2494, 7
https://tests.stockfishchess.org/tests/view/6074a52981417533789605b8

LTC:
LLR: 2.93 (-2.94,2.94) {0.20,0.90}
Total: 159056 W: 29799 L: 29378 D: 99879
Ptnml(0-2): 7, 9004, 61085, 9425, 7
https://tests.stockfishchess.org/tests/view/6074c39a81417533789605ca

Closes https://github.com/official-stockfish/Stockfish/pull/3427

Bench: 4503918

blah
src/evaluate.cpp