1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00
BadFish/src
VoyagerOne 96c3a1f2ec Mix search stats with evaluation
Mix search stats with evaluation: if the opponent's move has a good historyStat,
then decrease the evaluation of the internal node a bit for the pruning decisions
during search.

STC;
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 72083 W: 15683 L: 15203 D: 41197
http://tests.stockfishchess.org/tests/view/5b74c3ea0ebc5902bdba7d41

LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 29104 W: 4867 L: 4630 D: 19607
http://tests.stockfishchess.org/tests/view/5b7565000ebc5902bdba851b

Closes https://github.com/official-stockfish/Stockfish/pull/1738

Bench: 4514101

-----------

How to continue from there?

• the use of the previous stat score can probably be simplified in lines 587 and 716
• we could try to use a continuous bonus based on the previous stat score, instead
  of just a fixed offset of -10 when the opponent previous move was good.

----------

Comments by Stefan Geschwentner:

Interesting idea. Because only the eval in search is tweak this should only
influence the eval and static eval used at inner nodes, and not on the return
search value (which comes in the end from quiescence search), except through
saving in TT followed by a TT cutoff.

So essentialy this effects diverse pruning/reduction parts -- eval and static
eval  are lowered for good opponent moves:

• tt cutoff (ttValue)
• improving (static eval)
• more razoring (eval)
• less futility pruning (eval)
• less null move pruning (eval + static eval) (but with little more depth)
• more probcut (static eval)
• more move futility pruning (static eval)
2018-08-17 11:40:29 +02:00
..
syzygy 7-pieces Syzygy tablebase support 2018-07-31 11:24:28 +02:00
benchmark.cpp New Year 2018 2018-01-01 13:18:10 +01:00
bitbase.cpp Mark all compile-time constants as constexpr. 2018-03-18 23:48:16 +01:00
bitboard.cpp Minor code style tweaks 2018-07-18 08:26:33 +02:00
bitboard.h Remove make_bitboard() 2018-06-26 09:08:15 +02:00
endgame.cpp Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
endgame.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
evaluate.cpp Combo of several promising parameter tweaks 2018-08-12 10:09:30 +02:00
evaluate.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
main.cpp Reallocate TT on threadpool resize. 2018-06-02 17:03:01 +02:00
Makefile Fix 'make strip' for mingw. 2018-04-29 06:53:51 +02:00
material.cpp Remove pawncount array in imbalance 2018-08-14 08:36:27 +02:00
material.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
misc.cpp Code clean-up 2018-07-25 18:31:02 +02:00
misc.h Switch time management to 64 bits 2018-03-27 16:25:41 +02:00
movegen.cpp Fix a few minor code style inconsistencies 2018-03-21 01:35:05 +01:00
movegen.h New Year 2018 2018-01-01 13:18:10 +01:00
movepick.cpp Double weight of capture history 2018-08-14 10:12:31 +02:00
movepick.h Improve Stats definition 2018-08-01 12:40:12 +02:00
pawns.cpp Simplify king file dependancy in evaluate_shelter() 2018-08-17 10:21:20 +02:00
pawns.h Simplify the ShelterStrength[] array 2018-04-23 09:49:05 +02:00
position.cpp Allow Position::init() to be called multiple times. 2018-07-18 08:14:57 +02:00
position.h Move PSQ score to Position 2018-06-27 11:42:25 +02:00
psqt.cpp King Psqt Tuning 2018-08-08 17:49:16 +02:00
search.cpp Mix search stats with evaluation 2018-08-17 11:40:29 +02:00
search.h Better check evasion move sorting 2018-07-19 18:27:20 +02:00
thread.cpp Improve Stats definition 2018-08-01 12:40:12 +02:00
thread.h Better check evasion move sorting 2018-07-19 18:27:20 +02:00
thread_win32.h New Year 2018 2018-01-01 13:18:10 +01:00
timeman.cpp Switch time management to 64 bits 2018-03-27 16:25:41 +02:00
timeman.h Document Elo impact of various parts of search 2018-04-01 03:21:45 +02:00
tt.cpp Simplify saving a TT entry. 2018-07-04 00:59:15 +02:00
tt.h Simplify saving a TT entry. 2018-07-04 00:59:15 +02:00
types.h Remove pawncount array in imbalance 2018-08-14 08:36:27 +02:00
uci.cpp Fix a few minor code style inconsistencies 2018-03-21 01:35:05 +01:00
uci.h Minor code style tweaks 2018-07-18 08:26:33 +02:00
ucioption.cpp 7-pieces Syzygy tablebase support 2018-07-31 11:24:28 +02:00