Adjust futility pruning thresholds using history

Passed STC:
https://tests.stockfishchess.org/tests/view/6833095a6ec7634154f9b5b3
LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 56896 W: 14946 L: 14604 D: 27346
Ptnml(0-2): 117, 6674, 14561, 6942, 154

Passed LTC:
https://tests.stockfishchess.org/tests/view/6833179d6ec7634154f9b5da
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 200742 W: 51660 L: 51012 D: 98070
Ptnml(0-2): 96, 21520, 56473, 22204, 78

Passed Non-regression SMP STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 29080 W: 7591 L: 7373 D: 14116
Ptnml(0-2): 38, 3178, 7881, 3414, 29
https://tests.stockfishchess.org/tests/view/6833689d6ec7634154f9c2ba

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

Bench: 2305697
This commit is contained in:
Кирилл Зарипов
2025-05-25 17:13:01 +05:00
committed by Joost VandeVondele
parent 00b1540e01
commit bebffc5622
2 changed files with 4 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ Kenneth Lee (kennethlee33)
Kian E (KJE-98) Kian E (KJE-98)
kinderchocolate kinderchocolate
Kiran Panditrao (Krgp) Kiran Panditrao (Krgp)
Kirill Zaripov (kokodio)
Kojirion Kojirion
Krisztián Peőcz Krisztián Peőcz
Krystian Kuzniarek (kuzkry) Krystian Kuzniarek (kuzkry)

View File

@@ -1095,8 +1095,9 @@ moves_loop: // When in check, search starts here
lmrDepth += history / 3388; lmrDepth += history / 3388;
Value futilityValue = ss->staticEval + (bestMove ? 46 : 138) + 117 * lmrDepth Value baseFutility = (bestMove ? 46 : 138 + std::abs(history / 300));
+ 102 * (ss->staticEval > alpha); Value futilityValue =
ss->staticEval + baseFutility + 117 * lmrDepth + 102 * (ss->staticEval > alpha);
// Futility pruning: parent node // Futility pruning: parent node
// (*Scaler): Generally, more frequent futility pruning // (*Scaler): Generally, more frequent futility pruning