]> git.sesse.net Git - stockfish/commit
Adjust return value in qsearch after fail high
authorMichael Chaly <Vizvezdenec@gmail.com>
Mon, 18 Dec 2023 17:34:35 +0000 (20:34 +0300)
committerDisservin <disservin.social@gmail.com>
Tue, 19 Dec 2023 17:22:10 +0000 (18:22 +0100)
commit9be0360aa414556f231873ce2348f9c1f00d1713
tree6fe1a3c138b63aecb797ec12c1cde02f1bc59ea5
parenta069a1bbbfb60abddbe3fe5276b06f35f783f41c
Adjust return value in qsearch after fail high

Instead of returning strict fail soft fail high return value between value from
search and beta (somewhat by analogy to futility pruning and probcut).

This seems to be somewhat depth sensitive heuristic which performed much worse
at LTC while performing much better at STC if it is more aggressive, passed
version is the least aggressive one.

Passed STC:
https://tests.stockfishchess.org/tests/view/657b06414d789acf40ab1475
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 212352 W: 53900 L: 53315 D: 105137
Ptnml(0-2): 809, 25236, 53520, 25783, 828

Passed LTC:
https://tests.stockfishchess.org/tests/view/657ce36f393ac02e79120a7c
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 319362 W: 79541 L: 78630 D: 161191
Ptnml(0-2): 202, 35839, 86709, 36708, 223

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

Bench: 974739
src/search.cpp