Skip to content

Commit

Permalink
Tune FRC trapped Bishop patch
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vondele committed Jan 9, 2022
1 parent 9ad0ea7 commit c5a280c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",

This comment has been minimized.

Copy link
@dav1312

dav1312 Jan 9, 2022

Contributor

KQkq instead of EGeg?

This comment has been minimized.

Copy link
@vondele

vondele Jan 13, 2022

Author Member

thanks, fixed.

"setoption name UCI_Chess960 value false"
};

Expand Down
4 changes: 2 additions & 2 deletions src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,8 @@ namespace {
&& 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
Expand Down

0 comments on commit c5a280c

Please sign in to comment.