Tweak probcut margin for drop variants
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 30 Jan 2021 22:42:29 +0000 (23:42 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 30 Jan 2021 22:42:29 +0000 (23:42 +0100)
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

src/search.cpp

index f5bfcf4..7dd9a69 100644 (file)
@@ -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