]> git.sesse.net Git - stockfish/commit
Rewarding Quiet Moves that Enable Razoring
authorFauziAkram <fauzi.dabat@hotmail.com>
Fri, 27 Oct 2023 10:28:55 +0000 (13:28 +0300)
committerDisservin <disservin.social@gmail.com>
Fri, 27 Oct 2023 15:32:19 +0000 (17:32 +0200)
commitd30af4f669fa9a47e26a54967c571ffa7987d660
tree33f0cebcf46816cb0b32a8a83bef3a57eb720c1c
parentb0658f09b93185e2b43d4b2d6f0daa30c36ebcc2
Rewarding Quiet Moves that Enable Razoring

The main idea of the patch comes from @peregrineshahin :
https://tests.stockfishchess.org/tests/view/65205363ac57711436728781

Another small idea (tuning) comes from @Vizvezdenec
https://tests.stockfishchess.org/tests/view/652e071ade6d262d08d318f4 And a long
phases of tuning and tests was done by me in order to make the patch be able to
pass both tests.

The idea, as mentioned by Peregrine is that in our standard code, if no best
move found after searching all moves, we give a bonus to the previous move that
caused the fail high. So in razoring we assume no bestmove will be found so we
might as well do the same.

Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 82336 W: 20997 L: 20610 D: 40729
Ptnml(0-2): 288, 9710, 20753, 10161, 256
https://tests.stockfishchess.org/tests/view/6538fafbcc309ae83955d8f0

Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 46584 W: 11753 L: 11411 D: 23420
Ptnml(0-2): 21, 5133, 12642, 5475, 21
https://tests.stockfishchess.org/tests/view/653a3f2ccc309ae83955f223

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

Bench: 1258079

Co-Authored-By: Shahin M. Shahin <41402573+peregrineshahin@users.noreply.github.com>
src/evaluate.cpp
src/search.cpp