Skip to content

Commit c5a280c

Browse files
committed
Tune FRC trapped Bishop patch
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 #3884 Bench: 4326560
1 parent 9ad0ea7 commit c5a280c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/benchmark.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const vector<string> Defaults = {
8787
// Chess 960
8888
"setoption name UCI_Chess960 value true",
8989
"bbqnnrkr/pppppppp/8/8/8/8/PPPPPPPP/BBQNNRKR w HFhf - 0 1 moves g2g3 d7d5 d2d4 c8h3 c1g5 e8d6 g5e7 f7f6",
90+
"nqbnrkrb/pppppppp/8/8/8/8/PPPPPPPP/NQBNRKRB w KQkq - 0 1",
9091
"setoption name UCI_Chess960 value false"
9192
};
9293

src/evaluate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,8 +1069,8 @@ namespace {
10691069
&& pos.piece_on(SQ_G7) == B_PAWN)
10701070
correction += CorneredBishop;
10711071

1072-
return pos.side_to_move() == WHITE ? Value(5 * correction)
1073-
: -Value(5 * correction);
1072+
return pos.side_to_move() == WHITE ? Value(3 * correction)
1073+
: -Value(3 * correction);
10741074
}
10751075

10761076
} // namespace Eval

0 commit comments

Comments
 (0)