From 7a36c0e95fba5c544014b440fb2f35ef73e50393 Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Tue, 2 Sep 2025 14:10:11 -0700 Subject: [PATCH] Remove quiet move streak Passed Non-regression STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 67712 W: 17744 L: 17555 D: 32413 Ptnml(0-2): 204, 8030, 17274, 8069, 279 https://tests.stockfishchess.org/tests/view/68b784628f94a4e5a7fe7706 Passed Non-regression LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 196050 W: 50270 L: 50228 D: 95552 Ptnml(0-2): 122, 21465, 54813, 21499, 126 https://tests.stockfishchess.org/tests/view/68ba119d8f94a4e5a7fe7941 closes https://github.com/official-stockfish/Stockfish/pull/6299 Bench: 2238789 Co-authored-by: Daniel Monroe --- src/search.cpp | 6 +----- src/search.h | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 1ef01e5a6..9b6bbe188 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1010,8 +1010,6 @@ moves_loop: // When in check, search starts here movedPiece = pos.moved_piece(move); givesCheck = pos.gives_check(move); - (ss + 1)->quietMoveStreak = capture ? 0 : (ss->quietMoveStreak + 1); - // Calculate new depth for this move newDepth = depth - 1; @@ -1173,7 +1171,7 @@ moves_loop: // When in check, search starts here // These reduction adjustments have no proven non-linear scaling - r += 543; // Base reduction offset to compensate for other tweaks + r += 843; // Base reduction offset to compensate for other tweaks r -= moveCount * 66; r -= std::abs(correctionValue) / 30450; @@ -1189,8 +1187,6 @@ moves_loop: // When in check, search starts here if ((ss + 1)->cutoffCnt > 2) r += 1051 + allNode * 814; - r += (ss + 1)->quietMoveStreak * 50; - // For first picked move (ttMove) reduce reduction if (move == ttData.move) r -= 2018; diff --git a/src/search.h b/src/search.h index 07fc74317..d4bbca5c6 100644 --- a/src/search.h +++ b/src/search.h @@ -75,7 +75,6 @@ struct Stack { bool ttHit; int cutoffCnt; int reduction; - int quietMoveStreak; };