From: Fabian Fichter Date: Sat, 30 Jan 2021 22:42:29 +0000 (+0100) Subject: Tweak probcut margin for drop variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e624013adb0b56fc5f266cbc9453e055ce1e1aa2;p=fairystockfish.git Tweak probcut margin for drop variants crazyhouse STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 5437 W: 2728 L: 2550 D: 159 http://www.variantfishtest.org:6543/tests/view/60152dce6e23db669974e678 crazyhouse LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 7747 W: 3821 L: 3611 D: 315 http://www.variantfishtest.org:6543/tests/view/601545596e23db669974e69a --- diff --git a/src/search.cpp b/src/search.cpp index f5bfcf4..7dd9a69 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -977,7 +977,7 @@ namespace { } } - probCutBeta = beta + (183 + 20 * !!pos.capture_the_flag_piece()) * (1 + pos.check_counting() + (pos.extinction_value() != VALUE_NONE)) - 49 * improving; + probCutBeta = beta + (183 + 20 * !!pos.capture_the_flag_piece() + 50 * pos.captures_to_hand()) * (1 + pos.check_counting() + (pos.extinction_value() != VALUE_NONE)) - 49 * improving; // Step 10. ProbCut (~10 Elo) // If we have a good enough capture and a reduced search returns a value