Simplify opponent movecount reduction

This removes the reduction decrease that occured
when the previous ply had a movecount greater than
7.

Passed STC:
https://tests.stockfishchess.org/tests/view/65c3f6dac865510db0283ef6
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 11968 W: 3205 L: 2953 D: 5810
Ptnml(0-2): 38, 1310, 3064, 1506, 66

Passed LTC:
https://tests.stockfishchess.org/tests/view/65c42377c865510db0284217
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 35676 W: 9113 L: 8905 D: 17658
Ptnml(0-2): 22, 3893, 9802, 4097, 24

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

Bench: 1148379
This commit is contained in:
gahtan-syarif
2024-02-08 04:20:45 +07:00
committed by Disservin
parent c0107b3c27
commit 15093d43c4
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -78,6 +78,7 @@ Fauzi Akram Dabat (fauzi2)
Felix Wittmann Felix Wittmann
gamander gamander
Gabriele Lombardo (gabe) Gabriele Lombardo (gabe)
Gahtan Nahdi
Gary Heckman (gheckman) Gary Heckman (gheckman)
George Sobala (gsobala) George Sobala (gsobala)
gguliash gguliash
-4
View File
@@ -1108,10 +1108,6 @@ moves_loop: // When in check, search starts here
if (ss->ttPv) if (ss->ttPv)
r -= 1 + (ttValue > alpha) + (ttValue > beta && tte->depth() >= depth); r -= 1 + (ttValue > alpha) + (ttValue > beta && tte->depth() >= depth);
// Decrease reduction if opponent's move count is high (~1 Elo)
if ((ss - 1)->moveCount > 7)
r--;
// Increase reduction for cut nodes (~4 Elo) // Increase reduction for cut nodes (~4 Elo)
if (cutNode) if (cutNode)
r += 2 - (tte->depth() >= depth && ss->ttPv); r += 2 - (tte->depth() >= depth && ss->ttPv);