VVLTC Tune

Passed VVLTC with stc bounds:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 69810 W: 18119 L: 17814 D: 33877
Ptnml(0-2): 6, 6222, 22144, 6527, 6
https://tests.stockfishchess.org/tests/view/69b43f666c456d3a77a50a5d

Passed VVLTC with ltc bounds:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 52458 W: 13574 L: 13258 D: 25626
Ptnml(0-2): 5, 4632, 16636, 4954, 2
https://tests.stockfishchess.org/tests/view/69b16dfbd0c9228834e88e99

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

Bench: 3164843
This commit is contained in:
FauziAkram
2026-03-18 20:49:06 +01:00
committed by Disservin
parent 67a2c247d4
commit add173263d
2 changed files with 105 additions and 105 deletions
+7 -7
View File
@@ -106,18 +106,18 @@ void TimeManagement::init(Search::LimitsType& limits,
{
// Extra time according to timeLeft
if (originalTimeAdjust < 0)
originalTimeAdjust = 0.3128 * std::log10(timeLeft) - 0.4354;
originalTimeAdjust = 0.3272 * std::log10(timeLeft) - 0.4141;
// Calculate time constants based on current time left.
double logTimeInSec = std::log10(scaledTime / 1000.0);
double optConstant = std::min(0.0032116 + 0.000321123 * logTimeInSec, 0.00508017);
double maxConstant = std::max(3.3977 + 3.03950 * logTimeInSec, 2.94761);
double optConstant = std::min(0.0029869 + 0.00033554 * logTimeInSec, 0.004905);
double maxConstant = std::max(3.3744 + 3.0608 * logTimeInSec, 3.1441);
optScale = std::min(0.0121431 + std::pow(ply + 2.94693, 0.461073) * optConstant,
0.213035 * limits.time[us] / timeLeft)
optScale = std::min(0.012112 + std::pow(ply + 3.22713, 0.46866) * optConstant,
0.19404 * limits.time[us] / timeLeft)
* originalTimeAdjust;
maxScale = std::min(6.67704, maxConstant + ply / 11.9847);
maxScale = std::min(6.873, maxConstant + ply / 12.352);
}
// x moves in y seconds (+ z increment)
@@ -131,7 +131,7 @@ void TimeManagement::init(Search::LimitsType& limits,
// Limit the maximum possible time for this move
optimumTime = TimePoint(std::max(1.0, optScale * timeLeft));
maximumTime =
TimePoint(std::max(double(optimumTime), std::min(0.825179 * limits.time[us] - moveOverhead,
TimePoint(std::max(double(optimumTime), std::min(0.8097 * limits.time[us] - moveOverhead,
maxScale * optimumTime)));
if (options["Ponder"])