Skip to content

Commit ec7f1d6

Browse files
Viren6Disservin
authored andcommitted
Increment cutoffCnt less often after fail high
Only increment when extension is less than 2 or it's a PvNode. Tested vs #5851. Failed STC: LLR: -2.97 (-2.94,2.94) <0.00,2.00> Total: 360064 W: 94546 L: 94271 D: 171247 Ptnml(0-2): 1835, 42826, 90314, 43343, 1714 https://tests.stockfishchess.org/tests/view/679f79cc0774dfd78deb1112 Passed LTC: LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 443076 W: 113942 L: 113081 D: 216053 Ptnml(0-2): 480, 49076, 121579, 49909, 494 https://tests.stockfishchess.org/tests/view/679fa21b0774dfd78deb1178 Passed VLTC: LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 187184 W: 48098 L: 47495 D: 91591 Ptnml(0-2): 59, 19036, 54792, 19653, 52 https://tests.stockfishchess.org/tests/view/679fb6000774dfd78deb11e8 closes #5855 Bench: 3018089
1 parent 3b8bfeb commit ec7f1d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/search.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,8 @@ Value Search::Worker::search(
13501350

13511351
if (value >= beta)
13521352
{
1353-
ss->cutoffCnt++;
1353+
// (* Scaler) Especially if they make cutoffCnt increment more often.
1354+
ss->cutoffCnt += (extension < 2) || PvNode;
13541355
assert(value >= beta); // Fail high
13551356
break;
13561357
}

0 commit comments

Comments
 (0)