From de6b96bbf82a9559505edcaef47c3812d2febe5c Mon Sep 17 00:00:00 2001 From: rektdie Date: Thu, 2 Apr 2026 00:37:18 +0200 Subject: [PATCH] removed poisonous parameters | bench 1398874 --- source/search.cpp | 4 ++-- source/tunables.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/search.cpp b/source/search.cpp index d8bece7..e379094 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -435,7 +435,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC ttAdjustedEval = entry.score; } - bool corrplexity = std::abs(rawEval - staticEval) > corrplexityThreshold; + bool corrplexity = std::abs(rawEval - staticEval) > 70; const bool improving = [&] { @@ -685,7 +685,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC score = -PVS(copy, reduced, -alpha - 1, -alpha, ply + 1, ctx, true).score; if (score > alpha && reduced < newDepth) { - const bool goDeeper = score > results.score + lmrDeeperBase + lmrDeeperScalar * newDepth; + const bool goDeeper = score > results.score + lmrDeeperBase + 4 * newDepth; const bool goShallower = score < results.score + newDepth; newDepth += goDeeper - goShallower; diff --git a/source/tunables.h b/source/tunables.h index 6314b36..d18ea94 100644 --- a/source/tunables.h +++ b/source/tunables.h @@ -22,8 +22,6 @@ X_INT(lmrCorrplexity, 1024, 256, 2048) \ X_INT(lmrTTPVFailLow, 1024, 256, 2048) \ X_INT(lmrDeeperBase, 30, 0, 96) \ - X_INT(lmrDeeperScalar, 4, 0, 16) \ - X_INT(corrplexityThreshold, 70, 32, 128) \ X_INT(rfpBase, 25, 50, 200) \ X_INT(rfpMargin, 100, 50, 200) \ X_INT(fpMargin, 100, 50, 200) \