1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00
BadFish/src
31m059 434b2c72a4 Simplify k-value for passers. Bench: 3854907 (#2182)
Stockfish evaluates passed pawns in part based on a variable k, which shapes the passed pawn bonus based on the number of squares between the current square and promotion square that are attacked by enemy pieces, and the number defended by friendly ones. Prior to this commit, we gave a large bonus when all squares between the pawn and the promotion square were defended, and if they were not, a somewhat smaller bonus if at least the pawn's next square was. However, this distinction does not appear to provide any Elo at STC or LTC.

Where do we go from here? Many promising Elo-gaining patches were attempted in the past few months to refine passed pawn calculation, by altering the definitions of unsafe and defended squares. Stockfish uses these definitions to choose the value of k, so those tests interact with this PR. Therefore, it may be worthwhile to retest previously promising but not-quite-passing tests in the vicinity of this patch.

STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 42344 W: 9455 L: 9374 D: 23515
http://tests.stockfishchess.org/tests/view/5cf83ede0ebc5925cf0904fb

LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 69548 W: 11855 L: 11813 D: 45880
http://tests.stockfishchess.org/tests/view/5cf8698f0ebc5925cf0908c8

Bench: 3854907
2019-06-09 14:19:07 +02:00
..
syzygy Increase thread stack for OS X (#2035) 2019-03-12 08:35:10 +01:00
benchmark.cpp Stockfish 10-beta 2018-11-19 11:18:21 +01:00
bitbase.cpp Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
bitboard.cpp Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
bitboard.h Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
endgame.cpp Remove per thread instances of Endgames. (#2056) 2019-05-15 10:41:58 +02:00
endgame.h Remove per thread instances of Endgames. (#2056) 2019-05-15 10:41:58 +02:00
evaluate.cpp Simplify k-value for passers. Bench: 3854907 (#2182) 2019-06-09 14:19:07 +02:00
evaluate.h A combo of parameter tweaks 2018-12-13 13:35:35 +01:00
main.cpp Remove per thread instances of Endgames. (#2056) 2019-05-15 10:41:58 +02:00
Makefile Allow for address sanitizer. (#2119) 2019-04-27 20:47:06 +02:00
material.cpp Remove per thread instances of Endgames. (#2056) 2019-05-15 10:41:58 +02:00
material.h Changes identified in RENAME/REFORMATTING thread (#1861) 2018-12-11 13:47:56 +01:00
misc.cpp Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
misc.h Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
movegen.cpp Assorted trivial cleanups 2/2019 2019-03-05 11:13:02 +01:00
movegen.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
movepick.cpp Remove Movepick::move (#2085) 2019-04-17 21:13:39 +02:00
movepick.h Remove Movepick::move (#2085) 2019-04-17 21:13:39 +02:00
pawns.cpp Simplify connected #2114 2019-05-15 10:31:21 +02:00
pawns.h Add eg component to evaluate_shelter() #2137 2019-05-15 10:12:38 +02:00
position.cpp Remove unused code (#2150) 2019-05-16 14:14:11 +02:00
position.h Simplify semiopen_file (#2165) 2019-05-29 10:00:32 +02:00
psqt.cpp Assorted trivial cleanups 1/2019 2019-02-08 10:20:43 +01:00
search.cpp Remove one division. (#2158) 2019-05-25 09:43:52 +02:00
search.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
thread.cpp Revert "Make rootDepth local to search. (#2077)" 2019-05-15 10:52:15 +02:00
thread.h Revert "Make rootDepth local to search. (#2077)" 2019-05-15 10:52:15 +02:00
thread_win32_osx.h Increase thread stack for OS X (#2035) 2019-03-12 08:35:10 +01:00
timeman.cpp Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00
timeman.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
tt.cpp Allow for higher depths. (#2147) 2019-05-15 09:52:27 +02:00
tt.h Allow for higher depths. (#2147) 2019-05-15 09:52:27 +02:00
types.h Allow for higher depths. (#2147) 2019-05-15 09:52:27 +02:00
uci.cpp Simplify pondering time management (#1899) 2019-01-20 19:14:24 +01:00
uci.h Stockfish 10-beta 2018-11-19 11:18:21 +01:00
ucioption.cpp Assorted trivial cleanups 4/2019 2019-05-02 19:30:26 +02:00