Tweak antichess extinction evaluation
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 13 Jun 2020 21:34:44 +0000 (23:34 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 13 Jun 2020 21:34:44 +0000 (23:34 +0200)
giveaway STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 910 W: 392 L: 297 D: 221
http://www.variantfishtest.org:6543/tests/view/5ee4d10b6e23db104fb88b3e

giveaway LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 874 W: 363 L: 271 D: 240
http://www.variantfishtest.org:6543/tests/view/5ee4ef196e23db104fb88b62

src/evaluate.cpp

index 2bf903f..b2d6d99 100644 (file)
@@ -973,7 +973,7 @@ namespace {
                             * (pos.extinction_value() / VALUE_MATE);
             }
             else if (pos.extinction_value() == VALUE_MATE)
-                score += make_score(5000, pos.non_pawn_material(Us)) / pos.count<ALL_PIECES>(Us);
+                score += make_score(pos.non_pawn_material(Us), pos.non_pawn_material(Us)) / pos.count<ALL_PIECES>(Us);
     }
 
     // Connect-n