From f0d0c3ddd2f809ec1c86d6be99dac0e98b1cf887 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 8 Feb 2026 15:06:58 +0100 Subject: [PATCH] Simplify Triple Margin Formula Passed STC: LLR: 3.01 (-2.94,2.94) <-1.75,0.25> Total: 517472 W: 133271 L: 133575 D: 250626 Ptnml(0-2): 1628, 61366, 133032, 61102, 1608 https://tests.stockfishchess.org/tests/view/69590175d844c1ce7cc7e9a2 Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 95430 W: 24242 L: 24098 D: 47090 Ptnml(0-2): 42, 10289, 26926, 10399, 59 https://tests.stockfishchess.org/tests/view/695f7f03ca95f52e4b85253c Passed VVLTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 58828 W: 15299 L: 15135 D: 28394 Ptnml(0-2): 4, 5277, 18687, 5443, 3 https://tests.stockfishchess.org/tests/view/6961686c8709a8d27c0383f6 closes https://github.com/official-stockfish/Stockfish/pull/6546 Bench: 2570943 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 309e63a9b..561e2a5ae 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1144,7 +1144,7 @@ moves_loop: // When in check, search starts here int doubleMargin = -4 + 199 * PvNode - 201 * !ttCapture - corrValAdj - 897 * ttMoveHistory / 127649 - (ss->ply > rootDepth) * 42; int tripleMargin = 73 + 302 * PvNode - 248 * !ttCapture + 90 * ss->ttPv - corrValAdj - - (ss->ply * 2 > rootDepth * 3) * 50; + - (ss->ply > rootDepth) * 48; extension = 1 + (value < singularBeta - doubleMargin) + (value < singularBeta - tripleMargin);