]> git.sesse.net Git - stockfish/commitdiff
Tune FRC trapped Bishop patch
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 7 Jan 2022 21:57:09 +0000 (22:57 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 9 Jan 2022 14:49:19 +0000 (15:49 +0100)
now that fishtest can deal with FRC, retune this correction.

Add an additional fen to bench with cornered B and N.

passed STC:
LLR: 2.95 (-2.94,2.94) <0.00,2.50>
Total: 49672 W: 7358 L: 7082 D: 35232
Ptnml(0-2): 241, 4329, 15458, 4529, 279
https://tests.stockfishchess.org/tests/view/61d8b7bf9fea7913d9c63cb7

passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,3.00>
Total: 86688 W: 8308 L: 8007 D: 70373
Ptnml(0-2): 92, 4943, 32989, 5212, 108
https://tests.stockfishchess.org/tests/view/61d92dcb9fea7913d9c650ad

closes https://github.com/official-stockfish/Stockfish/pull/3884

Bench: 4326560

src/benchmark.cpp
src/evaluate.cpp

index 02ff2f9d0b1d18e3104f13bbfc9ddf9e77563938..e1c025adb9afc7d955d9b763154b2002b27e3394 100644 (file)
@@ -87,6 +87,7 @@ const vector<string> Defaults = {
   // Chess 960
   "setoption name UCI_Chess960 value true",
   "bbqnnrkr/pppppppp/8/8/8/8/PPPPPPPP/BBQNNRKR w HFhf - 0 1 moves g2g3 d7d5 d2d4 c8h3 c1g5 e8d6 g5e7 f7f6",
+  "nqbnrkrb/pppppppp/8/8/8/8/PPPPPPPP/NQBNRKRB w KQkq - 0 1",
   "setoption name UCI_Chess960 value false"
 };
 
index 4f3843f864fcf9343b338a1ef664a4da3a54ab6f..a5c049a88adb8446cb14720a51b3ab109effa45d 100644 (file)
@@ -1069,8 +1069,8 @@ make_v:
         && pos.piece_on(SQ_G7) == B_PAWN)
         correction += CorneredBishop;
 
-    return pos.side_to_move() == WHITE ?  Value(5 * correction)
-                                       : -Value(5 * correction);
+    return pos.side_to_move() == WHITE ?  Value(3 * correction)
+                                       : -Value(3 * correction);
   }
 
 } // namespace Eval