1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Simplify extension when ttMove is assumed to fail high over current beta

Simplify extension value to -3 when ttMove is assumed to fail high over current beta.

Passed non-reg STC:
https://tests.stockfishchess.org/tests/view/65d66ed81d8e83c78bfddcba
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 235136 W: 60711 L: 60708 D: 113717
Ptnml(0-2): 969, 27904, 59874, 27797, 1024

Passed non-reg LTC:
https://tests.stockfishchess.org/tests/view/65da2994944f2a78d4733107
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 662850 W: 166161 L: 166602 D: 330087
Ptnml(0-2): 394, 74895, 181274, 74482, 380

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

Bench: 1553115
This commit is contained in:
Gahtan Nahdi 2024-02-22 04:37:26 +07:00 committed by Joost VandeVondele
parent 6d0d430860
commit b0ac8a4e3b

View file

@ -1056,7 +1056,7 @@ moves_loop: // When in check, search starts here
// If the ttMove is assumed to fail high over current beta (~7 Elo) // If the ttMove is assumed to fail high over current beta (~7 Elo)
else if (ttValue >= beta) else if (ttValue >= beta)
extension = -2 - !PvNode; extension = -3;
// If we are on a cutNode but the ttMove is not assumed to fail high over current beta (~1 Elo) // If we are on a cutNode but the ttMove is not assumed to fail high over current beta (~1 Elo)
else if (cutNode) else if (cutNode)