Revert "Scale Null Move Pruning reduction"

This reverts commit 9d4090e826.

causes very poor mate finding performance, ultimately causing a CI hang on a mate in 2

Testcase:

position fen k1B5/2p5/NbN5/P7/3p4/P2p4/P1prp3/2RbK3 b - - 0 1 setoption name Hash value 16
setoption name Threads value 4
go mate 2
ucinewgame

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

Bench: 2466447
This commit is contained in:
Joost VandeVondele
2026-07-11 20:35:40 +02:00
parent c18feef187
commit 9a8dd81dd7
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -37,7 +37,6 @@ Aron Petkovski (fury)
Arseniy Surkov (codedeliveryservice) Arseniy Surkov (codedeliveryservice)
Artem Solopiy (EntityFX) Artem Solopiy (EntityFX)
Auguste Pop Auguste Pop
Ayush (ayushthepiro11-design)
Balazs Szilagyi Balazs Szilagyi
Balint Pfliegel Balint Pfliegel
Baptiste Rech (breatn) Baptiste Rech (breatn)
+2 -2
View File
@@ -995,8 +995,8 @@ Value Search::Worker::search(
{ {
assert((ss - 1)->currentMove != Move::null()); assert((ss - 1)->currentMove != Move::null());
// Null move dynamic reduction based on depth and evaluation margin // Null move dynamic reduction based on depth
Depth R = 7 + depth / 3 + std::max(0, (ss->staticEval - beta) / 256); Depth R = 7 + depth / 3;
do_null_move(pos, st, ss); do_null_move(pos, st, ss);
Value nullValue = -search<NonPV>(pos, ss + 1, -beta, -beta + 1, depth - R, false); Value nullValue = -search<NonPV>(pos, ss + 1, -beta, -beta + 1, depth - R, false);