]> git.sesse.net Git - stockfish/commit
Keep more pawns and pieces when attacking
authorStéphane Nicolet <cassio@free.fr>
Sun, 20 Jun 2021 08:29:20 +0000 (10:29 +0200)
committerStéphane Nicolet <cassio@free.fr>
Sun, 20 Jun 2021 21:17:07 +0000 (23:17 +0200)
commit70ac5ecbb62b68382073b2367644945c1327ddfc
treec3f850f9c93f06a0d1b051b0eda89a300fbca279
parentba01f4b95448bcb324755f4dd2a632a57c6e67bc
Keep more pawns and pieces when attacking

This patch increase the weight of pawns and pieces from 28 to 32
in the scaling formula we apply to the output of the NNUE pure eval.

Increasing this gradient for pawns and pieces means that Stockfish
will try a little harder to keep material when she has the advantage,
and try a little bit harder to escape into an endgame when she is
under pressure.

STC:
LLR: 2.93 (-2.94,2.94) <-0.50,2.50>
Total: 53168 W: 4371 L: 4177 D: 44620
Ptnml(0-2): 160, 3389, 19283, 3601, 151
https://tests.stockfishchess.org/tests/view/60cefd1d457376eb8bcab7ab

LTC:
LLR: 2.94 (-2.94,2.94) <0.50,3.50>
Total: 10888 W: 386 L: 288 D: 10214
Ptnml(0-2): 3, 260, 4821, 356, 4
https://tests.stockfishchess.org/tests/view/60cf709d2114332881e7352b

closes https://github.com/official-stockfish/Stockfish/pull/3571

Bench: 4965430
src/evaluate.cpp