Skip to content

Commit 4bc2374

Browse files
Ralph Stößermcostalba
Ralph Stößer
authored andcommitted
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: mcostalba/Stockfish@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
1 parent f5e872a commit 4bc2374

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/evaluate.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ namespace {
200200
const int KingAttackWeights[] = { 0, 0, 2, 2, 3, 5 };
201201

202202
// Bonuses for enemy's safe checks
203-
const int QueenContactCheck = 12;
204-
const int RookContactCheck = 8;
205-
const int QueenCheck = 6;
206-
const int RookCheck = 4;
207-
const int BishopCheck = 1;
208-
const int KnightCheck = 2;
203+
const int QueenContactCheck = 24;
204+
const int RookContactCheck = 16;
205+
const int QueenCheck = 12;
206+
const int RookCheck = 8;
207+
const int BishopCheck = 2;
208+
const int KnightCheck = 3;
209209

210210
// KingExposed[Square] contains penalties based on the position of the
211211
// defending king, indexed by king's square (from white's point of view).

0 commit comments

Comments
 (0)