1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00
BadFish/src
Stefan Geschwentner 80b0e37543 Double weight of pawn history for quiet move ordering.
I measured on my 1000 position bench the average additional added pawn history per depth.
This shows on average negative value with even smaller values with increaing depth.

A linear regression against depth get following formula:

-1960 - 130 * depth

For compensation add this to the used sort limit to maintain roughly the same proportion of sorted quiet moves.

Remarks:
1. using no compensation failed here https://tests.stockfishchess.org/tests/view/6547664f136acbc5735265f0
2. using only the compensation failed at LTC:
   passed STC: https://tests.stockfishchess.org/tests/view/65477457136acbc5735266f8
   failed LTC: https://tests.stockfishchess.org/tests/view/65487fc8136acbc573527d1c

STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 98528 W: 25109 L: 24699 D: 48720
Ptnml(0-2): 334, 11586, 25009, 12006, 329
https://tests.stockfishchess.org/tests/view/65475873136acbc5735264f7

LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 69726 W: 17467 L: 17073 D: 35186
Ptnml(0-2): 39, 7814, 18769, 8196, 45
https://tests.stockfishchess.org/tests/view/6547e759136acbc573527071

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

Bench: 1379422
2023-11-07 08:28:43 +01:00
..
incbin Change mode of incbin.h 2023-03-14 08:23:50 +01:00
nnue Cleanup comments and some code reorg. 2023-10-24 17:43:05 +02:00
syzygy remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
benchmark.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
benchmark.h add clang-format 2023-10-22 16:06:27 +02:00
bitboard.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
bitboard.h Small formatting improvements 2023-10-24 17:42:13 +02:00
evaluate.cpp Rewarding Quiet Moves that Enable Razoring 2023-10-27 17:32:19 +02:00
evaluate.h add clang-format 2023-10-22 16:06:27 +02:00
main.cpp add clang-format 2023-10-22 16:06:27 +02:00
Makefile Follow up Makefile changes for clang-format 2023-10-23 20:39:48 +02:00
misc.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
misc.h remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
movegen.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
movegen.h add clang-format 2023-10-22 16:06:27 +02:00
movepick.cpp Double weight of pawn history for quiet move ordering. 2023-11-07 08:28:43 +01:00
movepick.h Remove pawn history from ProbCut constructor 2023-11-07 08:23:11 +01:00
position.cpp Introduce pawn structure based history 2023-10-27 17:24:25 +02:00
position.h Introduce pawn structure based history 2023-10-27 17:24:25 +02:00
search.cpp Remove pawn history from ProbCut constructor 2023-11-07 08:23:11 +01:00
search.h remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
thread.cpp Introduce pawn structure based history 2023-10-27 17:24:25 +02:00
thread.h remove outdated comment 2023-10-27 18:35:52 +02:00
thread_win32_osx.h add clang-format 2023-10-22 16:06:27 +02:00
timeman.cpp Time management improvements 2023-10-23 20:39:48 +02:00
timeman.h remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
tt.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
tt.h remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
tune.cpp add clang-format 2023-10-22 16:06:27 +02:00
tune.h add clang-format 2023-10-22 16:06:27 +02:00
types.h remove blank line between function and it's description 2023-10-23 20:39:48 +02:00
uci.cpp Cleanup comments and some code reorg. 2023-10-24 17:43:05 +02:00
uci.h add clang-format 2023-10-22 16:06:27 +02:00
ucioption.cpp remove blank line between function and it's description 2023-10-23 20:39:48 +02:00