Tweak LMR for drop variants
authorFabian Fichter <ianfab@users.noreply.github.com>
Fri, 7 Aug 2020 11:56:18 +0000 (13:56 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Fri, 7 Aug 2020 11:56:18 +0000 (13:56 +0200)
crazyhouse STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 27169 W: 13361 L: 12871 D: 937
http://www.variantfishtest.org:6543/tests/view/5f13332a6e23db104fb88e04

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2197 W: 1118 L: 988 D: 91
http://www.variantfishtest.org:6543/tests/view/5f1415e26e23db104fb88e17

src/search.cpp

index 1cc71c0..319e60e 100644 (file)
@@ -1271,7 +1271,7 @@ moves_loop: // When in check, search starts from here
                   r++;
 
               // Decrease/increase reduction for moves with a good/bad history (~30 Elo)
-              r -= ss->statScore / 16434;
+              r -= ss->statScore / (16434 - 4434 * pos.captures_to_hand());
           }
 
           // Increase reduction for captures/promotions if late move and at low depth