Skip to content

Commit e0bafa1

Browse files
FauziAkramvondele
authored andcommitted
Update parametes in classical evaluation.
Passed STC (NNUE=False): https://tests.stockfishchess.org/tests/view/5f42edfe5089a564a10d84a0 LLR: 2.96 (-2.94,2.94) {-0.25,1.25} Total: 13840 W: 2591 L: 2336 D: 8913 Ptnml(0-2): 194, 1453, 3387, 1676, 210 Passed LTC (NNUE=False): https://tests.stockfishchess.org/tests/view/5f4369795089a564a10d84d8 LLR: 2.95 (-2.94,2.94) {0.25,1.25} Total: 159744 W: 19430 L: 18850 D: 121464 Ptnml(0-2): 960, 14185, 49030, 14709, 988 closes #3080 bench: 3736029
1 parent 9b5b9ec commit e0bafa1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/evaluate.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,26 +227,26 @@ namespace {
227227

228228
// Outpost[knight/bishop] contains bonuses for each knight or bishop occupying a
229229
// pawn protected square on rank 4 to 6 which is also safe from a pawn attack.
230-
constexpr Score Outpost[] = { S(56, 36), S(30, 23) };
230+
constexpr Score Outpost[] = { S(56, 34), S(31, 23) };
231231

232232
// PassedRank[Rank] contains a bonus according to the rank of a passed pawn
233233
constexpr Score PassedRank[RANK_NB] = {
234-
S(0, 0), S(10, 28), S(17, 33), S(15, 41), S(62, 72), S(168, 177), S(276, 260)
234+
S(0, 0), S(9, 28), S(15, 31), S(17, 39), S(64, 70), S(171, 177), S(277, 260)
235235
};
236236

237237
// RookOnFile[semiopen/open] contains bonuses for each rook when there is
238238
// no (friendly) pawn on the rook file.
239-
constexpr Score RookOnFile[] = { S(19, 7), S(48, 29) };
239+
constexpr Score RookOnFile[] = { S(19, 7), S(48, 27) };
240240

241241
// ThreatByMinor/ByRook[attacked PieceType] contains bonuses according to
242242
// which piece type attacks which one. Attacks on lesser pieces which are
243243
// pawn-defended are not considered.
244244
constexpr Score ThreatByMinor[PIECE_TYPE_NB] = {
245-
S(0, 0), S(5, 32), S(57, 41), S(77, 56), S(88, 119), S(79, 161)
245+
S(0, 0), S(5, 32), S(55, 41), S(77, 56), S(89, 119), S(79, 162)
246246
};
247247

248248
constexpr Score ThreatByRook[PIECE_TYPE_NB] = {
249-
S(0, 0), S(3, 46), S(37, 68), S(42, 60), S(0, 38), S(58, 41)
249+
S(0, 0), S(3, 44), S(37, 68), S(42, 60), S(0, 39), S(58, 43)
250250
};
251251

252252
// Assorted bonuses and penalties

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ namespace {
944944
}
945945
ss->ttPv = ttPv;
946946
}
947-
947+
948948
// Step 11. If the position is not in TT, decrease depth by 2
949949
if ( PvNode
950950
&& depth >= 6

0 commit comments

Comments
 (0)