From d942e13398aa5de55224c7d81bfad6b0f5b9e488 Mon Sep 17 00:00:00 2001 From: Daniel Samek Date: Mon, 31 Mar 2025 18:27:36 +0200 Subject: [PATCH] Less fail high cnt in the condition Passed STC: https://tests.stockfishchess.org/tests/view/67e027538888403457d87535 LLR: 2.93 (-2.94,2.94) <0.00,2.00> Total: 164000 W: 42535 L: 42034 D: 79431 Ptnml(0-2): 478, 19228, 42113, 19677, 504 Passed LTC: https://tests.stockfishchess.org/tests/view/67e3c21b8888403457d87808 LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 139176 W: 35500 L: 34975 D: 68701 Ptnml(0-2): 54, 15038, 38898, 15525, 73 closes https://github.com/official-stockfish/Stockfish/pull/5960 Bench: 1921404 --- AUTHORS | 1 + src/search.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index a345bb69f..092980fe5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -58,6 +58,7 @@ Daniel Axtens (daxtens) Daniel Dugovic (ddugovic) Daniel Monroe (Ergodice) Dan Schmidt (dfannius) +DanSamek Dariusz Orzechowski (dorzechowski) David (dav1312) David Zar diff --git a/src/search.cpp b/src/search.cpp index 7a1a36100..5f5934a49 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1215,7 +1215,7 @@ moves_loop: // When in check, search starts here r += 1171 + (depth < 8) * 985; // Increase reduction if next ply has a lot of fail high - if ((ss + 1)->cutoffCnt > 3) + if ((ss + 1)->cutoffCnt > 2) r += 1042 + allNode * 864; // For first picked move (ttMove) reduce reduction