]> git.sesse.net Git - stockfish/commit
Use stat_malus when decreasing stats
authorTaras Vuk <117687515+TarasVuk@users.noreply.github.com>
Sun, 5 Nov 2023 15:01:52 +0000 (16:01 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 5 Nov 2023 18:54:59 +0000 (19:54 +0100)
commit442c294a07836e9e32ad8b3bad49a853cc6f47de
tree29709e927998ea06412e6799a53f177355dade29
parentd4b46ea6db7caf71cad3c36d0ef8c0162a743aba
Use stat_malus when decreasing stats

This patch applies stat_bonus when increasing and stat_malus when decreasing stats.

Passed STC:
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 133792 W: 34221 L: 33758 D: 65813
Ptnml(0-2): 477, 15764, 33959, 16211, 485
https://tests.stockfishchess.org/tests/view/654699f3136acbc5735256b2

Passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 67374 W: 16912 L: 16523 D: 33939
Ptnml(0-2): 42, 7528, 18171, 7891, 55
https://tests.stockfishchess.org/tests/view/65474558136acbc5735263ab

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

bench: 1114417
src/search.cpp