Skip to content

Commit

Permalink
stat_bonus: replace quadratic with nearly identical line
Browse files Browse the repository at this point in the history
passed stc: https://tests.stockfishchess.org/tests/view/63ca58c90eefe8694a0c4eac
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 287960 W: 76146 L: 76201 D: 135613
Ptnml(0-2): 947, 31890, 78307, 31943, 893

passed ltc: https://tests.stockfishchess.org/tests/view/63cc8a51344bb01c191b30f0
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 73784 W: 19559 L: 19402 D: 34823
Ptnml(0-2): 33, 7171, 22327, 7328, 33

closes #4352

bench 3990490
  • Loading branch information
dubslow authored and vondele committed Jan 25, 2023
1 parent 596a528 commit 3dd0a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace {

// History and stats update bonus, based on depth
int stat_bonus(Depth d) {
return std::min((11 * d + 284) * d - 363 , 1650);
return std::min(350 * d - 400, 1650);
}

// Add a small random component to draw evaluations to avoid 3-fold blindness
Expand Down

0 comments on commit 3dd0a7a

Please sign in to comment.