]> git.sesse.net Git - stockfish/commitdiff
Adjust reduction less at medium depths
authorkurt22i <streamratings2@gmail.com>
Sun, 30 Oct 2022 13:02:48 +0000 (09:02 -0400)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 30 Oct 2022 15:19:09 +0000 (16:19 +0100)
This patch dampens the reduction increase/decrease from statScore at mid-range depths.
Inspired by patterns noticed in this tune: https://tests.stockfishchess.org/tests/view/635188930e5f47a8d0ffe8f5

Passed STC:
https://tests.stockfishchess.org/tests/view/63599dfd6b27ef94d9ec04af
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 87464 W: 23519 L: 23134 D: 40811
Ptnml(0-2): 319, 9599, 23524, 9958, 332

Passed LTC:
https://tests.stockfishchess.org/tests/view/635a73046b27ef94d9ec2313
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 154792 W: 41746 L: 41214 D: 71832
Ptnml(0-2): 79, 15181, 46349, 15703, 84

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

Bench 4271738

AUTHORS
src/search.cpp

diff --git a/AUTHORS b/AUTHORS
index 173669d4d0a3acb03e52b97a4f05c827650d40a7..432d9b90d6d65d35d4cae8efb93d1de030a711bf 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -91,7 +91,7 @@ Hongzhi Cheng
 Ivan Ivec (IIvec)
 Jacques B. (Timshel)
 Jan Ondruš (hxim)
-Jared Kish (Kurtbusch)
+Jared Kish (Kurtbusch, kurt22i)
 Jarrod Torriero (DU-jdto)
 Jean Gauthier (OuaisBla)
 Jean-Francois Romang (jromang)
index 898de87523f6dbd4d0c5090c62a938cdb4a53866..422d4b43a8268b702dd02943bb434c78e0d99262 100644 (file)
@@ -1177,7 +1177,7 @@ moves_loop: // When in check, search starts here
                          - 4433;
 
           // Decrease/increase reduction for moves with a good/bad history (~30 Elo)
-          r -= ss->statScore / 13628;
+          r -= ss->statScore / (13628 + 4000 * (depth > 7 && depth < 19));
 
           // In general we want to cap the LMR depth search at newDepth, but when
           // reduction is negative, we allow this move a limited search extension