Skip to content

Commit

Permalink
Update PSQTs
Browse files Browse the repository at this point in the history
Changes are that small that no SPRT or PR even
  • Loading branch information
eduherminio committed Mar 20, 2024
1 parent 59e4e18 commit 4355f5b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Lynx/EvaluationConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,23 @@ public static class EvaluationConstants
internal static readonly short[] EndGamePawnTable =
[
0, 0, 0, 0, 0, 0, 0, 0,
12, 12, 6, -15, 6, 2, -4, -12,
12, 12, 6, -15, 6, 2, -3, -12,
11, 13, 0, -14, -7, -5, -2, -11,
28, 20, 0, -22, -18, -12, 8, -1,
25, 19, -2, -17, -16, -9, 6, -3,
12, 10, -4, -13, -2, -3, -1, -11,
12, 10, -4, -13, -2, -3, -2, -11,
15, 12, 9, -14, 16, 6, -1, -9,
0, 0, 0, 0, 0, 0, 0, 0,
];

internal static readonly short[] MiddleGameKnightTable =
[
-153, -23, -52, -32, -12, -21, -9, -98,
-153, -22, -52, -32, -12, -21, -9, -98,
-46, -27, -3, 15, 18, 25, -14, -17,
-28, 1, 20, 57, 61, 42, 35, -3,
-11, 25, 43, 60, 60, 61, 46, 18,
-8, 24, 45, 48, 57, 59, 47, 17,
-26, 3, 20, 49, 60, 35, 28, -4,
-26, 3, 20, 49, 60, 34, 28, -4,
-48, -19, 0, 15, 17, 19, -11, -18,
-168, -24, -49, -21, -9, -12, -17, -91,
];
Expand Down Expand Up @@ -110,10 +110,10 @@ public static class EvaluationConstants

internal static readonly short[] MiddleGameRookTable =
[
-4, -10, -5, 2, 14, 3, 10, 0,
-4, -10, -5, 2, 15, 3, 10, 0,
-27, -17, -14, -14, -2, 3, 21, 0,
-29, -19, -23, -13, 4, 9, 55, 31,
-26, -21, -18, -12, -7, 8, 44, 21,
-27, -21, -18, -12, -7, 8, 44, 21,
-20, -17, -12, -5, -10, 7, 33, 16,
-24, -16, -19, -5, 1, 19, 50, 30,
-25, -28, -9, -7, -1, 1, 27, 4,
Expand All @@ -139,7 +139,7 @@ public static class EvaluationConstants
-8, -5, -10, -9, -14, 6, 35, 59,
-12, -20, -19, -9, -11, -5, 11, 25,
-12, -15, -20, -20, -10, -6, 9, 22,
-5, -3, -16, -13, -8, 4, 20, 39,
-5, -3, -16, -13, -8, 3, 20, 39,
-15, -21, 3, 9, 7, 3, 6, 37,
-11, -11, 5, 11, 6, -39, -12, 28,
];
Expand All @@ -165,7 +165,7 @@ public static class EvaluationConstants
-85, -87, -128, -159, -174, -144, -161, -182,
-77, -42, -108, -119, -103, -116, -78, -92,
83, -2, -34, -64, -69, -46, 9, 32,
49, 82, 43, -55, 25, -47, 58, 70,
49, 82, 43, -56, 25, -47, 58, 70,
];

internal static readonly short[] EndGameKingTable =
Expand All @@ -175,7 +175,7 @@ public static class EvaluationConstants
7, 44, 65, 77, 81, 71, 47, 25,
17, 60, 85, 102, 98, 90, 75, 47,
5, 50, 82, 98, 103, 88, 78, 46,
6, 40, 64, 77, 74, 66, 47, 20,
6, 40, 64, 78, 74, 66, 47, 20,
-45, 11, 31, 41, 44, 33, 9, -27,
-97, -61, -29, -3, -31, -7, -45, -101,
];
Expand Down

1 comment on commit 4355f5b

@eduherminio
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mini-match against Puffin 3.0, just for fun.

40+0.4, Hash 256, no draw agreements or resignations, 8moves_v3.epd:

Score of Lynx 1.4.0 vs Puffin 3.0: 535 - 599 - 666  [0.482] 1800
...      Lynx 1.4.0 playing White: 282 - 280 - 339  [0.501] 901
...      Lynx 1.4.0 playing Black: 253 - 319 - 327  [0.463] 899
...      White vs Black: 601 - 533 - 666  [0.519] 1800
Elo difference: -12.4 +/- 12.7, LOS: 2.9 %, DrawRatio: 37.0 %
SPRT: llr 0 (0.0%), lbound -inf, ubound inf

Please sign in to comment.