Skip to content

Commit 44b1ba8

Browse files
Vizvezdenecvondele
authored andcommitted
Adjust pruning constants
This patch is a modification of original tuning done by vondele that failed yellow. Value differences are divided by 2. Passed STC https://tests.stockfishchess.org/tests/view/61d918239fea7913d9c64cdf LLR: 2.94 (-2.94,2.94) <0.00,2.50> Total: 98968 W: 26248 L: 25858 D: 46862 Ptnml(0-2): 392, 11085, 26156, 11443, 408 Passed LTC https://tests.stockfishchess.org/tests/view/61d99e3c9fea7913d9c663e4 LLR: 2.95 (-2.94,2.94) <0.50,3.00> Total: 215232 W: 58191 L: 57492 D: 99549 Ptnml(0-2): 271, 22124, 62138, 22801, 282 closes #3885 bench 4572746
1 parent c5a280c commit 44b1ba8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/search.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ namespace {
10401040
continue;
10411041

10421042
// SEE based pruning (~9 Elo)
1043-
if (!pos.see_ge(move, Value(-218) * depth))
1043+
if (!pos.see_ge(move, Value(-217) * depth))
10441044
continue;
10451045
}
10461046
else
@@ -1051,15 +1051,15 @@ namespace {
10511051

10521052
// Continuation history based pruning (~2 Elo)
10531053
if ( lmrDepth < 5
1054-
&& history < -3000 * depth + 3000)
1054+
&& history < -3875 * (depth - 1))
10551055
continue;
10561056

10571057
history += thisThread->mainHistory[us][from_to(move)];
10581058

10591059
// Futility pruning: parent node (~9 Elo)
10601060
if ( !ss->inCheck
10611061
&& lmrDepth < 8
1062-
&& ss->staticEval + 142 + 139 * lmrDepth + history / 64 <= alpha)
1062+
&& ss->staticEval + 138 + 137 * lmrDepth + history / 64 <= alpha)
10631063
continue;
10641064

10651065
// Prune moves with negative SEE (~3 Elo)

0 commit comments

Comments
 (0)