Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ Value Search::Worker::search(
update_quiet_stats(pos, ss, *this, ttMove, stat_bonus(depth));

// Extra penalty for early quiet moves of
// the previous ply (~0 Elo on STC, ~2 Elo on LTC).
// the previous ply (~1 Elo on STC, ~2 Elo on LTC)
if (prevSq != SQ_NONE && (ss - 1)->moveCount <= 2 && !priorCapture)
update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq,
-stat_malus(depth + 1));
Expand Down Expand Up @@ -1067,7 +1067,7 @@ Value Search::Worker::search(
extension = -1;
}

// Recapture extensions (~1 Elo)
// Recapture extensions (~0 Elo on STC, ~1 Elo on LTC)
else if (PvNode && move == ttMove && move.to_sq() == prevSq
&& thisThread->captureHistory[movedPiece][move.to_sq()]
[type_of(pos.piece_on(move.to_sq()))]
Expand Down Expand Up @@ -1105,7 +1105,7 @@ Value Search::Worker::search(
if (ttCapture)
r++;

// Decrease reduction for PvNodes (~3 Elo)
// Decrease reduction for PvNodes (~0 Elo on STC, ~2 Elo on LTC)
if (PvNode)
r--;

Expand Down Expand Up @@ -1167,7 +1167,7 @@ Value Search::Worker::search(
// Step 18. Full-depth search when LMR is skipped
else if (!PvNode || moveCount > 1)
{
// Increase reduction if ttMove is not present (~1 Elo)
// Increase reduction if ttMove is not present (~6 Elo)
if (!ttMove)
r += 2;

Expand Down
4 changes: 2 additions & 2 deletions src/timeman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ void TimeManagement::init(Search::LimitsType& limits,
- moveOverhead * (2 + mtg));

// x basetime (+ z increment)
// If there is a healthy increment, timeLeft can exceed actual available
// game time for the current move, so also cap to 20% of available game time.
// If there is a healthy increment, timeLeft can exceed the actual available
// game time for the current move, so also cap to a percentage of available game time.
if (limits.movestogo == 0)
{
// Use extra time with larger increments
Expand Down

0 comments on commit a96b0d4

Please sign in to comment.