1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-12 03:59:15 +00:00
BadFish/src
rn5f107s2 e860f620aa Reduce futility_margin further when improving
The idea of this is to unroll the futility_margin calculation to allow
for the improving flag to have a greater effect on the futility margin.
The current factor is 1.5 instead of the previous 1 resulting in a
deduction of an extra margin/2 from futilit_margin if improving. The
chosen value was not tuned, meaning that there is room for tweaking it.
This patch is partially inspired by @Vizvezdenec, who, although quite
different in execution, tested another idea where the futility_margin is
lowered further when improving [1].

[1]: (first take) https://tests.stockfishchess.org/tests/view/65a56b1879aa8af82b97164b

Passed STC:
https://tests.stockfishchess.org/tests/live_elo/65a8bfc179aa8af82b974e3c
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 161152 W: 41321 L: 40816 D: 79015
Ptnml(0-2): 559, 19030, 40921, 19479, 587

Passed rebased LTC:
https://tests.stockfishchess.org/tests/live_elo/65a8b9ef79aa8af82b974dc0
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 96024 W: 24172 L: 23728 D: 48124
Ptnml(0-2): 56, 10598, 26275, 11012, 71

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

Bench: 1281703
2024-01-21 12:42:07 +01:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Remove some outdated SIMD functions 2024-01-17 18:04:29 +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 Update copyright year 2024-01-04 15:47:10 +01:00
evaluate.cpp Remove the dependency on a Worker from evaluate 2024-01-14 10:46:13 +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 Refactor global variables 2024-01-13 19:40:53 +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 Remove threatenedByPawn from rook threat 2024-01-17 18:55:44 +01:00
movepick.h Introduce BAD_QUIET movepicker stage 2024-01-07 13:41:50 +01:00
position.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
position.h Refactor global variables 2024-01-13 19:40:53 +01:00
search.cpp Reduce futility_margin further when improving 2024-01-21 12:42:07 +01:00
search.h Fix mated-in behaviour 2024-01-17 18:12:16 +01:00
thread.cpp Fix mated-in behaviour 2024-01-17 18:12:16 +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 Remove the dependency on a Worker from evaluate 2024-01-14 10:46:13 +01:00
uci.h Refactor global variables 2024-01-13 19:40:53 +01:00
ucioption.cpp Refactor global variables 2024-01-13 19:40:53 +01:00
ucioption.h Refactor global variables 2024-01-13 19:40:53 +01:00