From 0db4a1bee9a7e1172dbcd105bc9f68b8f4817f86 Mon Sep 17 00:00:00 2001 From: Kevin Lu Date: Thu, 31 Jul 2025 14:17:07 -0700 Subject: [PATCH] Remove completedDepth condition for SE Just removing the term Passed STC: LLR: 3.27 (-2.94,2.94) <-1.75,0.25> Total: 179840 W: 47211 L: 47126 D: 85503 Ptnml(0-2): 567, 17929, 52879, 17942, 603 https://tests.stockfishchess.org/tests/view/688bdd88502b34dd5e7111ea Passed LTC: LLR: 3.26 (-2.94,2.94) <-1.75,0.25> Total: 150708 W: 38738 L: 38637 D: 73333 Ptnml(0-2): 79, 12922, 49262, 13001, 90 https://tests.stockfishchess.org/tests/view/688ce857f17748b4d23c8026 Passed VLTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 288312 W: 74104 L: 74152 D: 140056 Ptnml(0-2): 44, 26732, 90657, 26674, 49 https://tests.stockfishchess.org/tests/view/688ec4f57d68fe4f7f130ee3 closes https://github.com/official-stockfish/Stockfish/pull/6221 functional at higher depths Bench: 3002300 --- AUTHORS | 1 + src/search.cpp | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index e606e5a8d..804824d8c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -133,6 +133,7 @@ Justin Blanchard (UncombedCoconut) Kelly Wilson Ken Takusagawa Kenneth Lee (kennethlee33) +kevlu8 Kian E (KJE-98) kinderchocolate Kiran Panditrao (Krgp) diff --git a/src/search.cpp b/src/search.cpp index c81012625..b4569d9a5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1112,9 +1112,8 @@ moves_loop: // When in check, search starts here // (*Scaler) Generally, higher singularBeta (i.e closer to ttValue) // and lower extension margins scale well. - if (!rootNode && move == ttData.move && !excludedMove - && depth >= 6 - (completedDepth > 26) + ss->ttPv && is_valid(ttData.value) - && !is_decisive(ttData.value) && (ttData.bound & BOUND_LOWER) + if (!rootNode && move == ttData.move && !excludedMove && depth >= 6 + ss->ttPv + && is_valid(ttData.value) && !is_decisive(ttData.value) && (ttData.bound & BOUND_LOWER) && ttData.depth >= depth - 3) { Value singularBeta = ttData.value - (56 + 79 * (ss->ttPv && !PvNode)) * depth / 58;