]> git.sesse.net Git - stockfish/commit
Time management improvements
authorMuzhen Gaming <61100393+XInTheDark@users.noreply.github.com>
Sat, 21 Oct 2023 09:01:45 +0000 (17:01 +0800)
committerDisservin <disservin.social@gmail.com>
Mon, 23 Oct 2023 18:39:48 +0000 (20:39 +0200)
commitcf3dbcb5acd66efaaa84fa1e24ce7afb062fba08
treea95ca9cd4907432f2ddbb8b7b2f1c98872912df2
parenta105978bbde04508389abad03bd121f817f91646
Time management improvements

1. Tune time management parameters.
2. Scale the optimum time and maximum time parameters based on the amount of
   time left, using a logarithmic scale.

Many acknowledgements to @FauziAkram for tuning the parameters and for the
original idea (see
https://tests.stockfishchess.org/tests/view/652f0356de6d262d08d333c5).

STC: https://tests.stockfishchess.org/tests/view/6533938fde6d262d08d39e4d
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 44320 W: 11301 L: 10982 D: 22037
Ptnml(0-2): 146, 4810, 11920, 5147, 137

LTC: https://tests.stockfishchess.org/tests/view/653477e4de6d262d08d3ae06
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 146442 W: 37338 L: 36811 D: 72293
Ptnml(0-2): 60, 14975, 42645, 15460, 81

Verification runs:
3+0.03: https://tests.stockfishchess.org/tests/view/65364e7ef127f3553505178a
10+0: https://tests.stockfishchess.org/tests/view/65364e9ff127f3553505178f
180+1.8: https://tests.stockfishchess.org/tests/view/65364ec3f127f35535051794

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

No functional change.

Co-Authored-By: FauziAkram <11150271+FauziAkram@users.noreply.github.com>
src/search.cpp
src/timeman.cpp