X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=eea529845ab8474822a6e38c142e98c4f7d7216f;hb=f4136c54348d06a581d38d43ca6b6f730b3eb258;hp=0ce836f777797ac0d4b785cad8a911261a8c064c;hpb=d8b3ad2208328e2ed35c34c450b539918ee5c87e;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 0ce836f7..eea52984 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1393,10 +1393,6 @@ moves_loop: // When in check and at SpNode search starts from here { int score = RootMoves[i].score; - // Don't allow crazy blunders even at very low skills - if (i > 0 && RootMoves[i - 1].score > score + 2 * PawnValueMg) - break; - // This is our magic formula score += ( weakness * int(RootMoves[0].score - score) + variance * (rng.rand() % weakness)) / 128; @@ -1451,8 +1447,12 @@ moves_loop: // When in check and at SpNode search starts from here ss << (v >= beta ? " lowerbound" : v <= alpha ? " upperbound" : ""); ss << " nodes " << pos.nodes_searched() - << " nps " << pos.nodes_searched() * 1000 / elapsed - << " tbhits " << TB::Hits + << " nps " << pos.nodes_searched() * 1000 / elapsed; + + if (elapsed > 1000) // Earlier makes little sense + ss << " hashfull " << TT.hashfull(); + + ss << " tbhits " << TB::Hits << " time " << elapsed << " pv";