Simplify the highBestMoveEffort formula in Time management

Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 22272 W: 5885 L: 5655 D: 10732
Ptnml(0-2): 76, 2329, 6108, 2535, 88
https://tests.stockfishchess.org/tests/view/69244d07ba083df4ca63e02b

Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 48690 W: 12405 L: 12221 D: 24064
Ptnml(0-2): 29, 4755, 14597, 4931, 33
https://tests.stockfishchess.org/tests/view/6924de9aba083df4ca63e327

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

No functional change
This commit is contained in:
FauziAkram
2025-11-30 21:58:35 +01:00
committed by Disservin
parent 7c7c574e6b
commit c95386256e
+1 -1
View File
@@ -492,7 +492,7 @@ void Search::Worker::iterative_deepening() {
double bestMoveInstability = 1.02 + 2.14 * totBestMoveChanges / threads.size(); double bestMoveInstability = 1.02 + 2.14 * totBestMoveChanges / threads.size();
double highBestMoveEffort = completedDepth >= 10 && nodesEffort >= 93337 ? 0.75 : 1.0; double highBestMoveEffort = nodesEffort >= 93340 ? 0.76 : 1.0;
double totalTime = mainThread->tm.optimum() * fallingEval * reduction double totalTime = mainThread->tm.optimum() * fallingEval * reduction
* bestMoveInstability * highBestMoveEffort; * bestMoveInstability * highBestMoveEffort;