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

Simplify PV node reduction

Reduce less on PV nodes even with an upperbound TT entry.

Passed STC:
https://tests.stockfishchess.org/tests/view/65cb3a861d8e83c78bfd0497
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 118752 W: 30441 L: 30307 D: 58004
Ptnml(0-2): 476, 14179, 29921, 14335, 465

Passed LTC:
https://tests.stockfishchess.org/tests/view/65cd3b951d8e83c78bfd2b0d
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 155058 W: 38549 L: 38464 D: 78045
Ptnml(0-2): 85, 17521, 42219, 17632, 72

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

Bench: 1303971
This commit is contained in:
cj5716 2024-02-13 17:46:37 +08:00 committed by Disservin
parent 8e75548f2a
commit fc41f64dfd

View file

@ -1111,7 +1111,7 @@ moves_loop: // When in check, search starts here
r++;
// Decrease reduction for PvNodes (~3 Elo)
if (PvNode && tte->bound() != BOUND_UPPER)
if (PvNode)
r--;
// Increase reduction on repetition (~1 Elo)