From 690517a7d3bce1ddae068be79eb4466210d2b8e8 Mon Sep 17 00:00:00 2001 From: TheRealGioviok <425gioviok@gmail.com> Date: Mon, 14 Sep 2026 11:15:46 +0200 Subject: [PATCH 1/3] Bench: 13439457 --- src/history.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history.hpp b/src/history.hpp index 0aac2db6..e1bc71cd 100644 --- a/src/history.hpp +++ b/src/history.hpp @@ -17,7 +17,7 @@ constexpr i32 HISTORY_MAX = 16384; constexpr u64 CORRECTION_HISTORY_ENTRY_NB = 16384; constexpr i32 CORRECTION_HISTORY_GRAIN = 256; constexpr i32 CORRECTION_HISTORY_WEIGHT_SCALE = 256; -constexpr i32 CORRECTION_HISTORY_MAX = CORRECTION_HISTORY_GRAIN * 32; +constexpr i32 CORRECTION_HISTORY_MAX = CORRECTION_HISTORY_GRAIN * 64; namespace Search { struct Stack; From c45b83c4b8f2f6e08175b181603c8462cd25ea0b Mon Sep 17 00:00:00 2001 From: TheRealGioviok <425gioviok@gmail.com> Date: Mon, 14 Sep 2026 12:32:42 +0200 Subject: [PATCH 2/3] Bench: 14786682 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 47cb2cb4..517d112f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1089,7 +1089,7 @@ Value Worker::search( && !(best_move != Move::none() && (best_move.is_capture() || best_move.is_promotion())) && !((bound == Bound::Lower && best_value <= ss->static_eval) || (bound == Bound::Upper && best_value >= ss->static_eval))) { - m_td.history.update_correction_history(pos, depth, best_value - raw_eval); + m_td.history.update_correction_history(pos, depth, ss->static_eval); } } From ccc934b254884c7a958f443cc0ee2b9046d74bf5 Mon Sep 17 00:00:00 2001 From: TheRealGioviok <425gioviok@gmail.com> Date: Mon, 14 Sep 2026 12:41:41 +0200 Subject: [PATCH 3/3] Bench: 12757393 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 517d112f..22664cae 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1089,7 +1089,7 @@ Value Worker::search( && !(best_move != Move::none() && (best_move.is_capture() || best_move.is_promotion())) && !((bound == Bound::Lower && best_value <= ss->static_eval) || (bound == Bound::Upper && best_value >= ss->static_eval))) { - m_td.history.update_correction_history(pos, depth, ss->static_eval); + m_td.history.update_correction_history(pos, depth, best_value - ss->static_eval); } }