From: Ralph Stößer Date: Tue, 15 Oct 2013 18:09:35 +0000 (+0200) Subject: Further increase safe checks bonus X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=4bc2374450e30101392510006373a4a9ae2da4fd Further increase safe checks bonus Passed both short TC: LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 10466 W: 2087 L: 1953 D: 6426 And long TC: LLR: 2.96 (-2.94,2.94) [0.00,6.00] Total: 26334 W: 4540 L: 4310 D: 17484 And also proved stronger than a slightly different patch, also succesful against master: https://github.com/mcostalba/Stockfish/commit/dc6830a3b4ed12 But losing against current one in a match at 60secs with SPRT [-3, 3]: LLR: -2.96 (-2.94,2.94) [-3.00,3.00] Total: 44484 W: 7360 L: 7463 D: 29661 bench: 9160831 --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index d87c5127..246d0e7f 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -200,12 +200,12 @@ namespace { const int KingAttackWeights[] = { 0, 0, 2, 2, 3, 5 }; // Bonuses for enemy's safe checks - const int QueenContactCheck = 12; - const int RookContactCheck = 8; - const int QueenCheck = 6; - const int RookCheck = 4; - const int BishopCheck = 1; - const int KnightCheck = 2; + const int QueenContactCheck = 24; + const int RookContactCheck = 16; + const int QueenCheck = 12; + const int RookCheck = 8; + const int BishopCheck = 2; + const int KnightCheck = 3; // KingExposed[Square] contains penalties based on the position of the // defending king, indexed by king's square (from white's point of view).