Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase a position's mate score from 23 to 32 #116

Merged
merged 1 commit into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contains illegal moves or does not end in checkmate.
* `ChestUCI_23102018.epd`: The original suite derived from publicly available `ChestUCI.epd` files, see [FishCooking](https://groups.google.com/g/fishcooking/c/lh1jTS4U9LU/m/zrvoYQZUCQAJ). It contains 6561 positions, with one definite and five likely draws, some illegal positions and some positions with a sub-optimal or likely incorrect value for the fastest known mate.
* **`matetrack.epd`**: The successor to `ChestUCI_23102018.epd`, with all illegal positions removed and all known errors corrected. The plots shown above are based on this file. It contains 6554 mate problems, ranging from mate in 1 (#1) to #126 for positions with between 4 and 32 pieces. In 26 positions the side to move is going to get mated.
* `matetrackpv.epd`: The same as `matetrack.epd`, but for each position the file also includes a PV leading to the checkmate, if such a PV is known.
* `matedtrack.epd`: Derived from `matetrackpv.epd` by applying a best move in all those positions, where the winning side is to move, and where a best move is known. The order of the positions in `matedtrack.epd` corresponds 1:1 to the order in `matetrack.epd`. So the new test suite still contains 6554 mate problems, but for 6544 of them the side to move is going to get mated.
* `matedtrack.epd`: Derived from `matetrackpv.epd` by applying a best move in all those positions, where the winning side is to move, and where a best move is known. The order of the positions in `matedtrack.epd` corresponds 1:1 to the order in `matetrack.epd`. So the new test suite still contains 6554 mate problems, but for 6545 of them the side to move is going to get mated.
* `mates2000.epd`: A smaller test suite with 2000 positions ranging from #1 to #27. It contains a random selection of positions from `matetrack.epd` and `matedtrack.epd` that Stockfish can solve with 1M nodes. In 1105 positions the side to move is going to get mated.

### Automatic creation of new test positions
Expand Down
2 changes: 1 addition & 1 deletion matedtrack.epd
Original file line number Diff line number Diff line change
Expand Up @@ -6295,7 +6295,6 @@ R2n1R2/1pn2kBp/4p3/P2pKNr1/4N3/1pP5/6p1/3br3 b - - bm #-22;
8/5p1B/2b1pP2/3pP3/1KpP4/1pB5/pP6/k7 b - - bm #-22;
q1n3r1/8/rbn4p/8/1P6/P2Q1P2/1p1Np3/k3K2R b - - bm #-22;
2k5/8/1P1P4/8/7p/p1p1p2P/P1P1P2P/b2K4 b - - bm #-22;
2r1b1Q1/6p1/2P5/5P2/1p2K3/pPp5/n2P4/1B2k3 w - - bm #23;
8/p1p5/3p4/p3p3/3k1p2/1KP1b1p1/1N5p/7B b - - bm #-22;
1Rn4k/n1p5/pb1p1N1P/3P3p/7p/p1p1P3/P1P1PP1P/7K b - - bm #-22;
Q7/6p1/8/8/1p6/3P3P/2P3pp/4K2k b - - bm #-23;
Expand Down Expand Up @@ -6403,6 +6402,7 @@ rb2b2R/2npk3/p1p3PP/1n2KNN1/6P1/P1p3p1/3p3p/3B2rq b - - bm #-30;
8/6B1/8/8/1B2p3/4p3/B3p1pp/2k1Kbrr b - - bm #-30;
1K4kB/6P1/6P1/3r4/8/1R6/B1PPPP2/2R5 b - - bm #-30;
N3k1nR/p1p1Pp2/2P1pPr1/b2pP3/P1pP4/2P1K1p1/6P1/8 b - - bm #-30;
2r1b3/6p1/2P1Q3/5P2/1p2K3/pPp5/n2P4/1B2k3 b - - bm #-31;
5n2/B3K3/2p3p1/4k3/6NP/3bN1P1/2Prn1P1/1q6 b - - bm #-31;
8/8/3K4/1pN2p2/bp2kp1p/5rbr/1p1PBp1p/N3R2n b - - bm #-31;
Q7/8/8/8/k7/8/3p1pp1/3Kbrrb b - - bm #-31;
Expand Down
2 changes: 1 addition & 1 deletion matetrack.epd
Original file line number Diff line number Diff line change
Expand Up @@ -6295,7 +6295,6 @@ R2n3R/1pn2kBp/4p3/P2pKNr1/4N3/1pP5/6p1/3br3 w - - bm #23; 00:00 @ C3/R0/K2/P1/X1
8/5p1B/2b1pP2/3pP3/2pP4/KpB5/pP6/k7 w - - bm #23; --:-- @ C16/R0/K1/P3/X11; 00'24" (Gustav);
q1n3r1/8/rbn4p/8/1P6/PQ3P2/1p1Np3/k3K2R w - - bm #23; --:-- @ C0/R4/K4/P8/X44;
2k5/8/1P1P4/8/7p/p1p1p2P/P1P1P2P/b1K5 w - - bm #23;
2r1b1Q1/6p1/2P5/5P2/1p2K3/pPp5/n2P4/1B2k3 w - - bm #23;
8/p1p5/3p4/p3p3/3k1p2/1K2b1p1/1NP4p/7B w - - bm #23;
R1n4k/n1p5/pb1p1N1P/3P3p/7p/p1p1P3/P1P1PP1P/7K w - - bm #23;
7Q/6p1/8/8/1p6/3P3P/2P3pp/4K2k w - - bm #24; c0 "was bm #23";
Expand Down Expand Up @@ -6403,6 +6402,7 @@ rb2b2R/2npk3/p1p3PP/1n2K1N1/6PN/P1p3p1/3p3p/3B2rq w - - bm #31; 00:00 @ C3/R0/K3
8/6B1/4B3/8/1B2p3/4p3/4p1pp/2k1Kbrr w - - bm #31; --:-- @ C2/R0/K7/P1/X6;
1K4kB/6P1/6P1/3r4/8/1R6/B1PPPP2/7R w - - bm #31;
N3k1nR/p1p1Pp2/2P1pPr1/b2pP3/P1pP1K2/2P3p1/6P1/8 w - - bm #31;
2r1b1Q1/6p1/2P5/5P2/1p2K3/pPp5/n2P4/1B2k3 w - - bm #32; c0 "was bm #23";
5n2/B3K3/2p3p1/4k3/7P/3bN1P1/2PrnNP1/1q6 w - - bm #32; 00:00 @ C3/R0/K2/P1/X1;
8/3N4/3K4/1p3p2/bp2kp1p/5rbr/1p1PBp1p/N3R2n w - - bm #32; 00:00 @ C2/R0/K2/P2/X5;
3Q4/8/8/8/k7/8/3p1pp1/3Kbrrb w - - bm #32; 00:00+ @ C2/R0/K4/P1/X3;
Expand Down
2 changes: 1 addition & 1 deletion matetrackpv.epd
Original file line number Diff line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