Simplify Quiet Early Move Penalty

Passed STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 185344 W: 47995 L: 47939 D: 89410
Ptnml(0-2): 527, 21898, 47754, 21978, 515
https://tests.stockfishchess.org/tests/view/682a47536ec7634154f9a3bc

Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 101706 W: 26050 L: 25912 D: 49744
Ptnml(0-2): 53, 11056, 28499, 11190, 55
https://tests.stockfishchess.org/tests/view/682a61736ec7634154f9a50e

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

Bench: 2012032
This commit is contained in:
Shawn Xu
2025-05-19 07:45:28 +02:00
committed by Joost VandeVondele
parent 009632c465
commit 0f102f3692
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -249,7 +249,7 @@ top:
if (!skipQuiets)
{
cur = endBadQuiets = endBadCaptures;
endMoves = generate<QUIETS>(pos, cur);
endMoves = generate<QUIETS>(pos, cur);
score<QUIETS>();
partial_insertion_sort(cur, endMoves, -3560 * depth);
@@ -260,8 +260,7 @@ top:
case GOOD_QUIET :
if (!skipQuiets && select([&]() {
return cur->value > -14000 ? true
: (*endBadQuiets++ = *cur, false);
return cur->value > -14000 ? true : (*endBadQuiets++ = *cur, false);
}))
return *(cur - 1);