Skip to content

Commit 15f5fa8

Browse files
committed
fix
1 parent 45d9b0b commit 15f5fa8

2 files changed

Lines changed: 15 additions & 17 deletions

File tree

‎.github/workflows/games.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
-engine cmd=base-engine/$OUTPUT_EXEC name=base \
133133
-openings file=tools/UHO_Lichess_4852_v1.epd format=epd order=random \
134134
-each tc=$TC -startup-ms 60000 \
135-
-rounds 1500 \
135+
-rounds 1500 -repeat \
136136
-concurrency $(nproc) \
137137
-pgnout notation=san nodes=true \
138138
file=games_${{ matrix.shard }}.pgn \

‎Weights.h‎

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ inline Value mopUpEdgeDistWeight = 10;
1616
inline Value spaceWeight = 2;
1717
inline Value bishopPairMg = 25;
1818
inline Value bishopPairEg = 50;
19-
inline Value developedMg = 8;
20-
inline Value developedEg = 4;
2119
inline Value rookOpenFileMg = 25;
2220
inline Value rookOpenFileEg = 20;
2321
inline Value rookSemiOpenFileMg = 15;
@@ -35,16 +33,6 @@ inline Value kqkEdgeWeight = 15;
3533
inline Value krkDistWeight = 5;
3634
inline Value krkEdgeWeight = 10;
3735
inline Value kpkWeight = 15;
38-
inline Value hangingScore = 70;
39-
inline Value overloadScore = 25;
40-
inline Value threatByRankScore = 10;
41-
inline Value minorImWt = 30;
42-
inline Value bishopImWt = 15;
43-
inline Value rookImWt = 20;
44-
inline Value queenImWt = 50;
45-
inline Value rammedPawnPenalty = 10;
46-
inline Value rookOnSeventhBonus = 30;
47-
inline Value earlyQueenPenalty = 5;
4836
inline Value mgMobilityCnt[7][8] = {
4937
{ 0, 0, 0, 0, 0, 0, 0, 0 },
5038
{ 0, 0, 0, 0, 0, 0, 0, 0 },
@@ -109,6 +97,8 @@ inline Value mg_pawn_table[56] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
10997
inline Value eg_pawn_table[56] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, -2, 2,
11098
5, 5, 2, -2, -5, -10, -5, 10, 20, 20, 10, -5, -10, -20, -10, 30, 55, 55, 30,
11199
-10, -20, -35, -20, 70, 110, 110, 70, -20, -35, -60, -45, 120, 180, 180, 120, -45, -60 };
100+
inline Value developedMg = 8;
101+
inline Value developedEg = 4;
112102
inline Value outpostBonusKnight[2] = { 15, 30 };
113103
inline Value outpostBonusBishop[2] = { 10, 25 };
114104
inline Value kingProtector[6][2] = {
@@ -125,17 +115,25 @@ inline Value threatByMinor[7][2] = {
125115
{ 15, 25 },
126116
{ 15, 25 },
127117
{ 25, 35 },
128-
{ 35, 50 },
129-
{ 0, 0 }
118+
{ 35, 50 }
130119
};
131120
inline Value threatByRook[7][2] = {
132121
{ 0, 0 },
133122
{ 0, 0 },
134123
{ 10, 15 },
135124
{ 10, 15 },
136125
{ 20, 25 },
137-
{ 25, 35 },
138-
{ 0, 0 }
126+
{ 25, 35 }
139127
};
128+
inline Value hangingScore = 70;
129+
inline Value overloadScore = 25;
130+
inline Value threatByRankScore = 10;
131+
inline Value minorImWt = 30;
132+
inline Value bishopImWt = 15;
133+
inline Value rookImWt = 20;
134+
inline Value queenImWt = 50;
135+
inline Value rammedPawnPenalty = 10;
136+
inline Value rookOnSeventhBonus = 30;
137+
inline Value earlyQueenPenalty = 5;
140138
} // namespace engine::eval
141139
#endif

0 commit comments

Comments
 (0)