]> git.sesse.net Git - stockfish/commitdiff
Remove penalty for quiet ttMove that fails low
authorGahtan Nahdi <155860115+gahtan-syarif@users.noreply.github.com>
Fri, 9 Feb 2024 20:51:05 +0000 (03:51 +0700)
committerDisservin <disservin.social@gmail.com>
Sat, 17 Feb 2024 16:08:01 +0000 (17:08 +0100)
Passed STC non-reg:
https://tests.stockfishchess.org/tests/view/65c691a7c865510db0286e6e
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 234336 W: 60258 L: 60255 D: 113823
Ptnml(0-2): 966, 28141, 58918, 28210, 933

Passed LTC non-reg:
https://tests.stockfishchess.org/tests/view/65c8d0d31d8e83c78bfcd4a6
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 235206 W: 59134 L: 59132 D: 116940
Ptnml(0-2): 135, 26908, 63517, 26906, 137

https://github.com/official-stockfish/Stockfish/pull/5054

Bench: 1287996

src/search.cpp

index 9574465388e4e563854d944daa04bba9478d3545..cb71acbaa5b792e7f2aa874d06d2b2deaf5e2e74 100644 (file)
@@ -621,13 +621,6 @@ Value Search::Worker::search(
                     update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq,
                                                   -stat_malus(depth + 1));
             }
-            // Penalty for a quiet ttMove that fails low (~1 Elo)
-            else if (!ttCapture)
-            {
-                int penalty = -stat_malus(depth);
-                thisThread->mainHistory[us][ttMove.from_to()] << penalty;
-                update_continuation_histories(ss, pos.moved_piece(ttMove), ttMove.to_sq(), penalty);
-            }
         }
 
         // Partial workaround for the graph history interaction problem