1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

More Depth Reduction

Reduce more for depth > 3 and depth < 12

LTC: https://tests.stockfishchess.org/tests/view/646c5abbd1f14fd69a6f2fab
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 197280 W: 53405 L: 52797 D: 91078
Ptnml(0-2): 62, 19025, 59886, 19577, 90

STC: https://tests.stockfishchess.org/tests/view/646bee71d1f14fd69a6f259d
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 100832 W: 26861 L: 26466 D: 47505
Ptnml(0-2): 240, 10985, 27622, 11278, 291

https://github.com/official-stockfish/Stockfish/pull/4585

bench: 2276617
This commit is contained in:
candirufish 2023-05-22 00:14:55 +02:00 committed by Joost VandeVondele
parent df0fb8471e
commit d7e72d801f

View file

@ -1317,10 +1317,11 @@ moves_loop: // When in check, search starts here
else
{
// Reduce other moves if we have found at least one score improvement (~1 Elo)
// Reduce more for depth > 3 and depth < 12 (~1 Elo)
if ( depth > 1
&& beta < 14001
&& value > -12754)
depth -= 1;
depth -= depth > 3 && depth < 12 ? 2 : 1;
assert(depth > 0);
alpha = value; // Update alpha! Always alpha < beta