From 9be2977da7921aedfd3215f1f4b5f522359effa0 Mon Sep 17 00:00:00 2001 From: xoto10 Date: Sat, 8 Oct 2022 14:53:14 +0100 Subject: [PATCH] Adjust timeman constants Adjust timeman constants to use more time in early part of game. STC @ 10+0.1 th 1 : LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 93984 W: 25177 L: 24787 D: 44020 Ptnml(0-2): 350, 10096, 25729, 10448, 369 https://tests.stockfishchess.org/tests/live_elo/6339077135f43d649ff6162a LTC @ 60+0.6 th 1 : LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 329368 W: 88953 L: 88093 D: 152322 Ptnml(0-2): 170, 31457, 100594, 32269, 194 https://tests.stockfishchess.org/tests/live_elo/6339baed35f43d649ff63142 Sudden death 10+0 : LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 20400 W: 5908 L: 5588 D: 8904 Ptnml(0-2): 177, 2252, 5128, 2360, 283 https://tests.stockfishchess.org/tests/live_elo/6347c9384bc7650f07549ba7 Sudden death 10+0, no adjudication : LLR: 2.96 (-2.94,2.94) <0.00,2.00> Total: 17920 W: 4755 L: 4442 D: 8723 Ptnml(0-2): 137, 1985, 4466, 2172, 200 https://tests.stockfishchess.org/tests/live_elo/634806e84bc7650f0754a639 closes https://github.com/official-stockfish/Stockfish/pull/4188 No functional change --- src/timeman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timeman.cpp b/src/timeman.cpp index 0400401e..cab0d767 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -80,7 +80,7 @@ void TimeManagement::init(Search::LimitsType& limits, Color us, int ply) { // game time for the current move, so also cap to 20% of available game time. if (limits.movestogo == 0) { - optScale = std::min(0.0084 + std::pow(ply + 3.0, 0.5) * 0.0042, + optScale = std::min(0.0120 + std::pow(ply + 3.0, 0.45) * 0.0039, 0.2 * limits.time[us] / double(timeLeft)) * optExtra; maxScale = std::min(7.0, 4.0 + ply / 12.0); -- 2.39.2