Tweak nCheck piece values
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 24 Jan 2021 09:06:55 +0000 (10:06 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 24 Jan 2021 09:06:55 +0000 (10:06 +0100)
3check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 9174 W: 4389 L: 4161 D: 624
http://www.variantfishtest.org:6543/tests/view/600aaacb6e23db077dd6614b

3check LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 8971 W: 4250 L: 4026 D: 695
http://www.variantfishtest.org:6543/tests/view/600ac78c6e23db077dd66153

src/psqt.cpp

index b901767..0fa7ec7 100644 (file)
@@ -175,8 +175,8 @@ void init(const Variant* v) {
       else if (v->blastOnCapture)
           score = make_score(mg_value(score) * 7000 / (7000 + mg_value(score)), eg_value(score));
       else if (v->checkCounting)
-          score = make_score(mg_value(score) * (40000 + mg_value(score)) / 41000,
-                             eg_value(score) * (30000 + eg_value(score)) / 31000);
+          score = make_score(mg_value(score) * (20000 + mg_value(score)) / 22000,
+                             eg_value(score) * (20000 + eg_value(score)) / 21000);
       else if (   v->extinctionValue == -VALUE_MATE
                && v->extinctionPieceCount == 0
                && v->extinctionPieceTypes.find(ALL_PIECES) != v->extinctionPieceTypes.end())