Skip to content

Commit 536d692

Browse files
FauziAkramDisservin
authored andcommitted
Remove SlowMover Option
The SlowMover option allows users to modify the timeLeft variant, impacting the engine's time management. However, this feature, while theoretically flexible, doesn't offer substantial benefits. Instead, it introduces the risk of non-experienced users altering values without a clear understanding of the effects, potentially leading to a weaker engine. The vast majority of SF users don't use it anyway, and based on tests conducted by fauzi several months ago suggest that changing it would only lose Elo. Examples: https://tests.stockfishchess.org/tests/view/651f309bac57711436726bba https://tests.stockfishchess.org/tests/view/651fea29ac57711436727d85 https://tests.stockfishchess.org/tests/view/65257c343125598fc7eb68a1 https://tests.stockfishchess.org/tests/view/652296c83125598fc7eb2ad7 Tune: https://tests.stockfishchess.org/tests/view/652a70313125598fc7ebd706 (keeping the value at 100, zz2) closes #4917 No functional change
1 parent 9fc064e commit 536d692

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/timeman.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ void TimeManagement::init(Search::LimitsType& limits, Color us, int ply) {
4242
return;
4343

4444
TimePoint moveOverhead = TimePoint(Options["Move Overhead"]);
45-
TimePoint slowMover = TimePoint(Options["Slow Mover"]);
4645
TimePoint npmsec = TimePoint(Options["nodestime"]);
4746

4847
// optScale is a percentage of available time to use for the current move.
@@ -78,10 +77,6 @@ void TimeManagement::init(Search::LimitsType& limits, Color us, int ply) {
7877
double optConstant = std::min(0.00335 + 0.0003 * std::log10(limits.time[us] / 1000.0), 0.0048);
7978
double maxConstant = std::max(3.6 + 3.0 * std::log10(limits.time[us] / 1000.0), 2.7);
8079

81-
// A user may scale time usage by setting UCI option "Slow Mover"
82-
// Default is 100 and changing this value will probably lose elo.
83-
timeLeft = slowMover * timeLeft / 100;
84-
8580
// x basetime (+ z increment)
8681
// If there is a healthy increment, timeLeft can exceed actual available
8782
// game time for the current move, so also cap to 20% of available game time.

src/ucioption.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ void init(OptionsMap& o) {
7373
o["MultiPV"] << Option(1, 1, 500);
7474
o["Skill Level"] << Option(20, 0, 20);
7575
o["Move Overhead"] << Option(10, 0, 5000);
76-
o["Slow Mover"] << Option(100, 10, 1000);
7776
o["nodestime"] << Option(0, 0, 10000);
7877
o["UCI_Chess960"] << Option(false);
7978
o["UCI_AnalyseMode"] << Option(false);

0 commit comments

Comments
 (0)