Skip to content

Commit d09653d

Browse files
kurt22ivondele
authored andcommitted
Adjust reduction less at medium depths
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 #4213 Bench 4271738
1 parent f154ed7 commit d09653d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Hongzhi Cheng
9191
Ivan Ivec (IIvec)
9292
Jacques B. (Timshel)
9393
Jan Ondruš (hxim)
94-
Jared Kish (Kurtbusch)
94+
Jared Kish (Kurtbusch, kurt22i)
9595
Jarrod Torriero (DU-jdto)
9696
Jean Gauthier (OuaisBla)
9797
Jean-Francois Romang (jromang)

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ namespace {
11771177
- 4433;
11781178

11791179
// Decrease/increase reduction for moves with a good/bad history (~30 Elo)
1180-
r -= ss->statScore / 13628;
1180+
r -= ss->statScore / (13628 + 4000 * (depth > 7 && depth < 19));
11811181

11821182
// In general we want to cap the LMR depth search at newDepth, but when
11831183
// reduction is negative, we allow this move a limited search extension

0 commit comments

Comments
 (0)