Skip to content

Commit

Permalink
Remove an unneeded randomization of evals.
Browse files Browse the repository at this point in the history
most of the effect comes from the randomization of 3-folds.

passed STC:
https://tests.stockfishchess.org/tests/view/62e697e97e84186e5d19af6f
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 572976 W: 153168 L: 153539 D: 266269
Ptnml(0-2): 2505, 64783, 152364, 64250, 2586

passed LTC:
https://tests.stockfishchess.org/tests/view/62ee5977523c86dcd6957154
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 704808 W: 191212 L: 191680 D: 321916
Ptnml(0-2): 1340, 70579, 208972, 70235, 1278

closes #4128

Bench: 5868987
  • Loading branch information
vondele committed Aug 12, 2022
1 parent 0a01dd0 commit 1054a48
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,10 +741,6 @@ namespace {
else // Fall back to (semi)classical complexity for TT hits, the NNUE complexity is lost
complexity = abs(ss->staticEval - pos.psq_eg_stm());

// Randomize draw evaluation
if (eval == VALUE_DRAW)
eval = value_draw(thisThread);

// ttValue can be used as a better position evaluation (~4 Elo)
if ( ttValue != VALUE_NONE
&& (tte->bound() & (ttValue > eval ? BOUND_LOWER : BOUND_UPPER)))
Expand Down

0 comments on commit 1054a48

Please sign in to comment.