1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Stéphane Nicolet 1188141aa7 Improve play for closed positions
This patch give a small bonus to incite the attacking side to keep more
pawns on the board.

A consequence of this bonus is that Stockfish will tend to play positions
slightly more closed on average than master, especially when it believes
that it has an advantage.

To lower the risk of blockades where Stockfish start shuffling without
progress, we also implement a progressive decrease of the evaluation
value with the 50 moves counter (along with the necessary aging of the
transposition table to reduce the impact of the Graph History Interaction
problem): since the evaluation decreases during shuffling phases, the
engine will tend to examine the consequences of pawn breaks faster during
the search.

Passed STC:
LLR: 2.96 (-2.94,2.94) {-0.25,1.25}
Total: 26184 W: 2406 L: 2252 D: 21526
Ptnml(0-2): 85, 1784, 9223, 1892, 108
https://tests.stockfishchess.org/tests/view/600cc08b735dd7f0f0352c06

Passed LCT:
LLR: 2.95 (-2.94,2.94) {0.25,1.25}
Total: 199768 W: 7695 L: 7191 D: 184882
Ptnml(0-2): 85, 6478, 86269, 6952, 100
https://tests.stockfishchess.org/tests/view/600ccd28735dd7f0f0352c10

Closes https://github.com/official-stockfish/Stockfish/pull/3321

Bench: 3988915
2021-01-30 13:20:56 +01:00
..
incbin Embed default net, and simplify using non-default nets 2020-08-29 21:56:00 +02:00
nnue Affine transform robust implementation 2021-01-11 18:54:18 +01:00
syzygy Change lock type 2021-01-30 12:57:27 +01:00
benchmark.cpp Update copyright years 2021-01-08 17:04:23 +01:00
bitbase.cpp Update copyright years 2021-01-08 17:04:23 +01:00
bitboard.cpp Update copyright years 2021-01-08 17:04:23 +01:00
bitboard.h Update copyright years 2021-01-08 17:04:23 +01:00
endgame.cpp Update copyright years 2021-01-08 17:04:23 +01:00
endgame.h Update copyright years 2021-01-08 17:04:23 +01:00
evaluate.cpp Improve play for closed positions 2021-01-30 13:20:56 +01:00
evaluate.h Update copyright years 2021-01-08 17:04:23 +01:00
main.cpp Update copyright years 2021-01-08 17:04:23 +01:00
Makefile Add net as dependency of config 2020-10-22 20:18:12 +02:00
material.cpp Update copyright years 2021-01-08 17:04:23 +01:00
material.h Update copyright years 2021-01-08 17:04:23 +01:00
misc.cpp Update copyright years 2021-01-08 17:04:23 +01:00
misc.h Update copyright years 2021-01-08 17:04:23 +01:00
movegen.cpp Optimize generate_moves 2021-01-13 22:59:54 +01:00
movegen.h Update copyright years 2021-01-08 17:04:23 +01:00
movepick.cpp Use correct chess terms + fix spelling. 2021-01-11 19:19:39 +01:00
movepick.h Use correct chess terms + fix spelling. 2021-01-11 19:19:39 +01:00
pawns.cpp Add penalty for doubled pawns in agile structure 2021-01-17 09:35:59 +01:00
pawns.h Update copyright years 2021-01-08 17:04:23 +01:00
position.cpp Improve play for closed positions 2021-01-30 13:20:56 +01:00
position.h Improve play for closed positions 2021-01-30 13:20:56 +01:00
psqt.cpp Bad Outpost Pawn Scale 2021-01-11 19:42:31 +01:00
search.cpp Bad Outpost Pawn Scale 2021-01-11 19:42:31 +01:00
search.h Update copyright years 2021-01-08 17:04:23 +01:00
thread.cpp Update copyright years 2021-01-08 17:04:23 +01:00
thread.h Update copyright years 2021-01-08 17:04:23 +01:00
thread_win32_osx.h Update copyright years 2021-01-08 17:04:23 +01:00
timeman.cpp Update copyright years 2021-01-08 17:04:23 +01:00
timeman.h Update copyright years 2021-01-08 17:04:23 +01:00
tt.cpp Update copyright years 2021-01-08 17:04:23 +01:00
tt.h Update copyright years 2021-01-08 17:04:23 +01:00
tune.cpp Update copyright years 2021-01-08 17:04:23 +01:00
tune.h Update copyright years 2021-01-08 17:04:23 +01:00
types.h Use correct chess terms + fix spelling. 2021-01-11 19:19:39 +01:00
uci.cpp Update copyright years 2021-01-08 17:04:23 +01:00
uci.h Update copyright years 2021-01-08 17:04:23 +01:00
ucioption.cpp Update copyright years 2021-01-08 17:04:23 +01:00