1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
rn5f107s2 1db969e620 Reduce futility_margin if opponents last move was bad
This reduces the futiltiy_margin if our opponents last move was bad by
around ~1/3 when not improving and ~1/2.7 when improving, the idea being
to retroactively futility prune moves that were played, but turned out
to be bad.  A bad move is being defined as their staticEval before their
move being lower as our staticEval now is. If the depth is 2 and we are
improving the opponent worsening flag is not set, in order to not risk
having a too low futility_margin, due to the fact that when these
conditions are met the futility_margin already drops quite low.

Passed STC:
https://tests.stockfishchess.org/tests/live_elo/65e3977bf2ef6c733362aae3
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 122432 W: 31884 L: 31436 D: 59112
Ptnml(0-2): 467, 14404, 31035, 14834, 476

Passed LTC:
https://tests.stockfishchess.org/tests/live_elo/65e47f40f2ef6c733362b6d2
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 421692 W: 106572 L: 105452 D: 209668
Ptnml(0-2): 216, 47217, 114865, 48327, 221

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

Bench: 1565939
2024-03-07 19:55:51 +01:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Only evaluate the PSQT part of the small net for large evals. 2024-03-03 15:29:58 +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 Only evaluate the PSQT part of the small net for large evals. 2024-03-03 15:29:58 +01:00
evaluate.h Update default main net to nn-1ceb1ade0001.nnue 2024-03-07 19:53:48 +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 Restore development 2024-03-03 15:01:29 +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 Only evaluate the PSQT part of the small net for large evals. 2024-03-03 15:29:58 +01:00
position.h Assorted cleanups 2024-02-11 19:52:00 +01:00
search.cpp Reduce futility_margin if opponents last move was bad 2024-03-07 19:55:51 +01:00
search.h Use node counting to early stop search 2024-02-14 21:39:31 +01:00
thread.cpp Use node counting to early stop search 2024-02-14 21:39:31 +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 Update elo estimates 2024-03-07 19:53:48 +01:00
timeman.h Refactor global variables 2024-01-13 19:40:53 +01:00
tt.cpp Document TT code more 2024-03-03 15:21:57 +01:00
tt.h Document TT code more 2024-03-03 15:21:57 +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 Improve thread voting inefficiencies 2024-02-11 19:55:26 +01:00
uci.cpp Update the WDL model 2024-02-24 17:59:41 +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