From d66e603070a4ae76dcc8aeae69882d7d10ac3846 Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Tue, 4 Feb 2025 15:06:58 -0800 Subject: [PATCH] Increase PCM bonus when cutOffCnt is low Passed STC: LLR: 2.95 (-2.94,2.94) <0.00,2.00> Total: 36832 W: 9763 L: 9438 D: 17631 Ptnml(0-2): 159, 4267, 9254, 4562, 174 https://tests.stockfishchess.org/tests/view/67a29dbafedef70e42ac329a Passed LTC: LLR: 2.95 (-2.94,2.94) <0.50,2.50> Total: 19728 W: 5124 L: 4839 D: 9765 Ptnml(0-2): 18, 2029, 5485, 2314, 18 https://tests.stockfishchess.org/tests/view/67a2a1abfedef70e42ac32b7 closes https://github.com/official-stockfish/Stockfish/pull/5865 Bench: 3197798 --- src/search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index c68b3b7acd4..36823a08e2a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1399,7 +1399,8 @@ Value Search::Worker::search( int bonusScale = (118 * (depth > 5) + 36 * !allNode + 161 * ((ss - 1)->moveCount > 8) + 133 * (!ss->inCheck && bestValue <= ss->staticEval - 107) + 120 * (!(ss - 1)->inCheck && bestValue <= -(ss - 1)->staticEval - 84) - + 81 * ((ss - 1)->isTTMove) + std::min(-(ss - 1)->statScore / 108, 320)); + + 81 * ((ss - 1)->isTTMove) + 100 * (ss->cutoffCnt <= 3) + + std::min(-(ss - 1)->statScore / 108, 320)); bonusScale = std::max(bonusScale, 0);