Skip to content

Commit d66e603

Browse files
xu-shawnvondele
authored andcommitted
Increase PCM bonus when cutOffCnt is low
Passed STC: LLR: 2.95 (-2.94,2.94) <0.00,2.00> Total: 36832 W: 9763 L: 9438 D: 17631 Ptnml(0-2): 159, 4267, 9254, 4562, 174 https://tests.stockfishchess.org/tests/view/67a29dbafedef70e42ac329a Passed LTC: LLR: 2.95 (-2.94,2.94) <0.50,2.50> Total: 19728 W: 5124 L: 4839 D: 9765 Ptnml(0-2): 18, 2029, 5485, 2314, 18 https://tests.stockfishchess.org/tests/view/67a2a1abfedef70e42ac32b7 closes #5865 Bench: 3197798
1 parent 3dfbc5d commit d66e603

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
@@ -1399,7 +1399,8 @@ Value Search::Worker::search(
13991399
int bonusScale = (118 * (depth > 5) + 36 * !allNode + 161 * ((ss - 1)->moveCount > 8)
14001400
+ 133 * (!ss->inCheck && bestValue <= ss->staticEval - 107)
14011401
+ 120 * (!(ss - 1)->inCheck && bestValue <= -(ss - 1)->staticEval - 84)
1402-
+ 81 * ((ss - 1)->isTTMove) + std::min(-(ss - 1)->statScore / 108, 320));
1402+
+ 81 * ((ss - 1)->isTTMove) + 100 * (ss->cutoffCnt <= 3)
1403+
+ std::min(-(ss - 1)->statScore / 108, 320));
14031404

14041405
bonusScale = std::max(bonusScale, 0);
14051406

0 commit comments

Comments
 (0)