1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00
BadFish/src
Michael Chaly 91a4cea437 Adjust best value in main search depending on depth
This patch does similar thing to how it's done for
qsearch - in case of fail high adjust result to
lower value. Difference is that it is done only
for non-pv nodes and it's depth dependent - so
lower depth entries will have bigger adjustment
and higher depth entries will have smaller
adjustment.

Passed STC:
https://tests.stockfishchess.org/tests/view/65c3c0cbc865510db0283b21
LLR: 2.96 (-2.94,2.94) <0.00,2.00>
Total: 112032 W: 29142 L: 28705 D: 54185
Ptnml(0-2): 479, 13152, 28326, 13571, 488

Passed LTC:
https://tests.stockfishchess.org/tests/view/65c52e62c865510db02855d5
LLR: 2.96 (-2.94,2.94) <0.50,2.50>
Total: 132480 W: 33457 L: 32936 D: 66087
Ptnml(0-2): 67, 14697, 36222, 15156, 98

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

Bench: 1168241
2024-02-11 19:53:45 +01:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Fix the alignment of the transformer buffer 2024-02-09 19:06:25 +01:00
syzygy Remove global TB variables from search.cpp 2024-01-17 18:05:00 +01:00
benchmark.cpp Update copyright year 2024-01-04 15:47:10 +01:00
benchmark.h Update copyright year 2024-01-04 15:47:10 +01:00
bitboard.cpp Remove global TB variables from search.cpp 2024-01-17 18:05:00 +01:00
bitboard.h Assorted cleanups 2024-02-11 19:52:00 +01:00
evaluate.cpp Assorted cleanups 2024-02-11 19:52:00 +01:00
evaluate.h Remove the dependency on a Worker from evaluate 2024-01-14 10:46:13 +01:00
main.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
Makefile Move perft out of search 2024-01-26 20:52:26 +01:00
misc.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
misc.h Fix mated-in behaviour 2024-01-17 18:12:16 +01:00
movegen.cpp Change the Move enum to a class 2024-01-04 15:51:04 +01:00
movegen.h Change the Move enum to a class 2024-01-04 15:51:04 +01:00
movepick.cpp Assorted cleanups 2024-02-11 19:52:00 +01:00
movepick.h Introduce BAD_QUIET movepicker stage 2024-01-07 13:41:50 +01:00
perft.h Move perft out of search 2024-01-26 20:52:26 +01:00
position.cpp Simplify array initializations 2024-02-03 16:43:23 +01:00
position.h Assorted cleanups 2024-02-11 19:52:00 +01:00
search.cpp Adjust best value in main search depending on depth 2024-02-11 19:53:45 +01:00
search.h Assorted cleanups 2024-02-11 19:52:00 +01:00
thread.cpp Refactor get_best_thread 2024-01-21 12:42:28 +01:00
thread.h Fix mated-in behaviour 2024-01-17 18:12:16 +01:00
thread_win32_osx.h Refactor NativeThread start_routine 2024-01-21 12:21:01 +01:00
timeman.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
timeman.h Refactor global variables 2024-01-13 19:40:53 +01:00
tt.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
tt.h Refactor global variables 2024-01-13 19:40:53 +01:00
tune.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
tune.h Refactor global variables 2024-01-13 19:40:53 +01:00
types.h Remove unneeded operator overload macros 2024-01-07 13:37:12 +01:00
uci.cpp Refactor pv printing 2024-02-03 16:50:31 +01:00
uci.h Refactor pv printing 2024-02-03 16:50:31 +01:00
ucioption.cpp Move OnChange callback in Option ctors 2024-01-26 21:00:41 +01:00
ucioption.h Refactor global variables 2024-01-13 19:40:53 +01:00