From cd3c13a883b2d1e8dc32400202f8e0bae7d8123a Mon Sep 17 00:00:00 2001 From: Michael Chaly Date: Wed, 20 Nov 2024 17:03:56 +0300 Subject: [PATCH] Further tweak statscore for captures Even lower offset. Passed STC: https://tests.stockfishchess.org/tests/view/673a66d786d5ee47d953f070 LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 63776 W: 16570 L: 16216 D: 30990 Ptnml(0-2): 178, 7371, 16478, 7641, 220 Passed LTC: https://tests.stockfishchess.org/tests/view/673b2e2a86d5ee47d953f14b LLR: 2.95 (-2.94,2.94) <0.50,2.50> Total: 156960 W: 39999 L: 39435 D: 77526 Ptnml(0-2): 96, 16965, 43803, 17511, 105 closes https://github.com/official-stockfish/Stockfish/pull/5686 Bench: 867931 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 93036398..213bbdab 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1184,7 +1184,7 @@ moves_loop: // When in check, search starts here if (capture) ss->statScore = thisThread->captureHistory[movedPiece][move.to_sq()][type_of(pos.captured_piece())] - - 11000; + - 5454; else ss->statScore = 2 * thisThread->mainHistory[us][move.from_to()] + (*contHist[0])[movedPiece][move.to_sq()]