A pair of test files just for you

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: A pair of test files just for you

Post by sje »

Dann Corbit wrote:Just as a suggestion:
EPD is a lot more convenient than FEN. Most programs and nearly all chess interfaces can read EPD but a lot less can read FEN.
Your point is quite understandable.

However:

1) I'd guess that most programs have a FEN decoder already. This includes every UCI compatible program and every xboard compatible program that uses the latest xboard protocol version. Now it may be the case that the FEN decoder is not connected to a file reader, but that shouldn't be too hard to remedy.

2) EPD is changing slightly as I mentioned earlier in another thread. New EPD output and posting by me will have each EPD record contain the full six-field FEN for a position instead of the first four FEN fields. It may take a while, but I'll be re-posting all the test suites in this format along with a revised and rather tightened EPD specification.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

And if you order in the next thirty minutes...

Post by sje »

And if you order in the next thirty minutes, you can receive another FREE test file! That's right, a free test file, this time it's matein3.fen with 100,000 unique mate-in-three positions. Operators are standing by right now, so don't delay! Shipping and handling are free, and as always, it's double your money back if you're not satisfied.

http://idisk.mac.com/chessnotation-Public?view=web
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: And if you order in the next thirty minutes...

Post by Dann Corbit »

sje wrote:And if you order in the next thirty minutes, you can receive another FREE test file! That's right, a free test file, this time it's matein3.fen with 100,000 unique mate-in-three positions. Operators are standing by right now, so don't delay! Shipping and handling are free, and as always, it's double your money back if you're not satisfied.

http://idisk.mac.com/chessnotation-Public?view=web
And for the collectors, I also offer checkmate files (these are in EPD format, compressed with bzip2):

From:
http://cap.connx.com/EPD/

Code: Select all

Mate in 1:
07/22/2008  12:05 AM             3,188 dm001.epd.bz2
07/22/2008  12:07 AM            25,840 dm1.epd.bz2
Mate in 2:
07/22/2008  12:05 AM         1,536,187 dm002.epd.bz2
07/22/2008  12:07 AM           911,128 dm2.epd.bz2
Mate in 3:
07/22/2008  12:05 AM           893,311 dm003.epd.bz2
07/22/2008  12:07 AM           162,588 dm3.epd.bz2
Mate in 4:
07/22/2008  12:05 AM           244,825 dm004.epd.bz2
07/22/2008  12:07 AM           188,231 dm4.epd.bz2
Mate in 5:
07/22/2008  12:05 AM            39,593 dm005.epd.bz2
07/22/2008  12:07 AM            85,602 dm5.epd.bz2
Mate in 6:
07/22/2008  12:05 AM            59,023 dm006.epd.bz2
Mate in <N>, where N is the number following dm in the file name&#58;
07/22/2008  12&#58;05 AM            75,873 dm007.epd.bz2
07/22/2008  12&#58;05 AM            46,529 dm008.epd.bz2
07/22/2008  12&#58;05 AM             6,485 dm009.epd.bz2
07/22/2008  12&#58;05 AM            11,239 dm010.epd.bz2
07/22/2008  12&#58;05 AM             8,577 dm011.epd.bz2
07/22/2008  12&#58;05 AM             6,531 dm012.epd.bz2
07/22/2008  12&#58;05 AM             4,727 dm013.epd.bz2
07/22/2008  12&#58;05 AM             3,489 dm014.epd.bz2
07/22/2008  12&#58;05 AM             2,965 dm015.epd.bz2
07/22/2008  12&#58;05 AM             2,528 dm016.epd.bz2
07/22/2008  12&#58;05 AM             1,727 dm017.epd.bz2
07/22/2008  12&#58;05 AM             1,482 dm018.epd.bz2
07/22/2008  12&#58;05 AM             1,355 dm019.epd.bz2
07/22/2008  12&#58;05 AM             1,234 dm020.epd.bz2
07/22/2008  12&#58;05 AM               938 dm021.epd.bz2
07/22/2008  12&#58;05 AM               671 dm022.epd.bz2
07/22/2008  12&#58;05 AM               936 dm023.epd.bz2
07/22/2008  12&#58;05 AM               715 dm024.epd.bz2
07/22/2008  12&#58;06 AM               430 dm025.epd.bz2
07/22/2008  12&#58;05 AM               660 dm026.epd.bz2
07/22/2008  12&#58;06 AM               362 dm027.epd.bz2
07/22/2008  12&#58;06 AM               395 dm028.epd.bz2
07/22/2008  12&#58;06 AM               435 dm029.epd.bz2
07/22/2008  12&#58;05 AM               816 dm030.epd.bz2
07/22/2008  12&#58;05 AM               609 dm031.epd.bz2
07/22/2008  12&#58;06 AM               418 dm032.epd.bz2
07/22/2008  12&#58;06 AM               320 dm033.epd.bz2
07/22/2008  12&#58;06 AM               306 dm034.epd.bz2
07/22/2008  12&#58;06 AM               527 dm035.epd.bz2
07/22/2008  12&#58;06 AM               255 dm036.epd.bz2
07/22/2008  12&#58;06 AM               243 dm037.epd.bz2
07/22/2008  12&#58;06 AM               206 dm038.epd.bz2
07/22/2008  12&#58;06 AM               163 dm039.epd.bz2
07/22/2008  12&#58;06 AM               208 dm040.epd.bz2
07/22/2008  12&#58;06 AM               176 dm041.epd.bz2
07/22/2008  12&#58;06 AM               398 dm042.epd.bz2
07/22/2008  12&#58;06 AM               274 dm043.epd.bz2
07/22/2008  12&#58;06 AM               176 dm044.epd.bz2
07/22/2008  12&#58;06 AM               181 dm045.epd.bz2
07/22/2008  12&#58;06 AM               256 dm046.epd.bz2
07/22/2008  12&#58;06 AM               213 dm047.epd.bz2
07/22/2008  12&#58;06 AM               121 dm048.epd.bz2
07/22/2008  12&#58;06 AM               320 dm050.epd.bz2
07/22/2008  12&#58;06 AM               208 dm051.epd.bz2
07/22/2008  12&#58;06 AM               223 dm052.epd.bz2
07/22/2008  12&#58;06 AM               142 dm053.epd.bz2
07/22/2008  12&#58;06 AM               105 dm054.epd.bz2
07/22/2008  12&#58;06 AM               117 dm055.epd.bz2
07/22/2008  12&#58;06 AM               141 dm056.epd.bz2
07/22/2008  12&#58;06 AM               266 dm057.epd.bz2
07/22/2008  12&#58;06 AM               113 dm058.epd.bz2
07/22/2008  12&#58;06 AM               157 dm060.epd.bz2
07/22/2008  12&#58;06 AM               113 dm061.epd.bz2
07/22/2008  12&#58;06 AM               222 dm062.epd.bz2
07/22/2008  12&#58;06 AM               212 dm063.epd.bz2
07/22/2008  12&#58;06 AM               172 dm064.epd.bz2
07/22/2008  12&#58;06 AM               153 dm065.epd.bz2
07/22/2008  12&#58;06 AM               451 dm066.epd.bz2
07/22/2008  12&#58;06 AM               226 dm067.epd.bz2
07/22/2008  12&#58;06 AM               259 dm069.epd.bz2
07/22/2008  12&#58;06 AM               254 dm070.epd.bz2
07/22/2008  12&#58;06 AM               106 dm071.epd.bz2
07/22/2008  12&#58;06 AM               142 dm072.epd.bz2
07/22/2008  12&#58;06 AM               110 dm074.epd.bz2
07/22/2008  12&#58;06 AM               119 dm075.epd.bz2
07/22/2008  12&#58;06 AM               103 dm077.epd.bz2
07/22/2008  12&#58;06 AM               112 dm082.epd.bz2
07/22/2008  12&#58;06 AM               108 dm087.epd.bz2
07/22/2008  12&#58;06 AM               110 dm089.epd.bz2
07/22/2008  12&#58;06 AM               152 dm092.epd.bz2
07/22/2008  12&#58;06 AM               145 dm093.epd.bz2
07/22/2008  12&#58;06 AM               113 dm096.epd.bz2
07/22/2008  12&#58;06 AM               116 dm100.epd.bz2
07/22/2008  12&#58;06 AM               117 dm101.epd.bz2
07/22/2008  12&#58;06 AM               114 dm102.epd.bz2
07/22/2008  12&#58;06 AM               112 dm103.epd.bz2
07/22/2008  12&#58;06 AM               113 dm104.epd.bz2
07/22/2008  12&#58;06 AM               115 dm105.epd.bz2
07/22/2008  12&#58;06 AM               107 dm110.epd.bz2
07/22/2008  12&#58;06 AM               116 dm119.epd.bz2
07/22/2008  12&#58;06 AM               107 dm120.epd.bz2
07/22/2008  12&#58;06 AM               149 dm121.epd.bz2
07/22/2008  12&#58;06 AM               119 dm125.epd.bz2
07/22/2008  12&#58;06 AM               118 dm126.epd.bz2
07/22/2008  12&#58;06 AM               130 dm130.epd.bz2
07/22/2008  12&#58;06 AM               142 dm135.epd.bz2
07/22/2008  12&#58;06 AM               331 dm255.epd.bz2
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: And if you order in the next thirty minutes...

Post by sje »

I'll have the (new) EPD versions of all the 100K position test files posted eventually. Each record will need an "id" operation, and all the mate-in-N files will need a "bm" operation. The latter will require an adjustment in Symbolic's code to generate all appropriate mating moves as not all of these positions have a unique key move.

Now one might think that a short mate is too easy for a modern program. However, there have been cases posted here where a program has missed a short mate due to null move pruning. The mate might still be found by the program, but at a longer, sub-optimal distance. Using these test files can help detect this situation should it occur.

And even if a single mate-in-N (N <=5) isn't too much of a challenge, then doing a hundred thousand of them will take enough time to make running the gauntlet justified as a benchmark as well as a system test.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: And if you order in the next thirty minutes...

Post by Dann Corbit »

sje wrote:I'll have the (new) EPD versions of all the 100K position test files posted eventually. Each record will need an "id" operation, and all the mate-in-N files will need a "bm" operation. The latter will require an adjustment in Symbolic's code to generate all appropriate mating moves as not all of these positions have a unique key move.

Now one might think that a short mate is too easy for a modern program. However, there have been cases posted here where a program has missed a short mate due to null move pruning. The mate might still be found by the program, but at a longer, sub-optimal distance. Using these test files can help detect this situation should it occur.

And even if a single mate-in-N (N <=5) isn't too much of a challenge, then doing a hundred thousand of them will take enough time to make running the gauntlet justified as a benchmark as well as a system test.
I added these three files to my EPD folder:
04/14/2009 05:36 PM 1,676,524 matein1.epd.bz2
04/14/2009 05:36 PM 1,734,679 MATEIN2.EPD.bz2
04/14/2009 05:36 PM 2,004,703 matein3.epd.bz2
All three files are 100% verified and contain all feasible solutions along with the score, dm count and solution pv.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: And if you order in the next thirty minutes...

Post by Dann Corbit »

Some of those have quite a few solutions:

Code: Select all

8/8/5n2/2b2q2/k2p2b1/3r4/6K1/1n6 b - - acn 1947; acs 0; bm Ba3 Ba7 Bb4 Bb6 Bd1 Bd6 Be2 Be7 Bf8 Bh3+ Bh5 Ka3 Ka5 Kb3 Kb4 Kb5 Na3 Nc3 Nd2 Nd5 Nd7 Ne4 Ne8 Ng8 Nh5 Nh7 Qd5+ Qe4+ Qe5 Qe6 Qf3+ Qf4 Qg5 Qh5 Qh7 Ra3 Rb3 Rc3 Rd1 Rd2+ Re3 Rf3 Rh3; ce 32762; dm 3; pv Bh3+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Kf7 Rc7+ Ke6 Qe5#;
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: And if you order in the next thirty minutes...

Post by Dann Corbit »

This one (in particular) has 62 solutions:
[d]2r5/8/3b2k1/3b2r1/6p1/8/3K4/1q6 b - - acn 3779; acs 0; bm Ba2 Ba3 Ba8 Bb3 Bb4+ Bb7 Bb8 Bc4 Bc5 Bc6 Bc7 Be4 Be5 Be6 Be7 Bf3 Bf4+ Bf7 Bf8 Bg2 Bg3 Bg8 Bh1 Bh2 Kf5 Kf6 Kf7 Kg7 Kh5 Kh6 Kh7 Qa1 Qa2+ Qb2+ Qb3 Qb4+ Qb5 Qb6 Qc1+ Qc2+ Qe4 Qf1 Qf5 Qg1 Qh1 Ra8 Rb8 Rc1 Rc2+ Rc3 Rc4 Rc5 Rc6 Rc7 Rd8 Re8 Rf5 Rf8 Rg8 Rh5 Rh8 g3; ce 32762; dm 3; pv Bb4+ Ke2 Re5+ Kf2 Qe1#;

which is pretty remarkable for having only 8 chessmen on the board.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: And if you order in the next thirty minutes...

Post by sje »

Dann Corbit wrote:This one (in particular) has 62 solutions:
[d]2r5/8/3b2k1/3b2r1/6p1/8/3K4/1q6 b - - acn 3779; acs 0; bm Ba2 Ba3 Ba8 Bb3 Bb4+ Bb7 Bb8 Bc4 Bc5 Bc6 Bc7 Be4 Be5 Be6 Be7 Bf3 Bf4+ Bf7 Bf8 Bg2 Bg3 Bg8 Bh1 Bh2 Kf5 Kf6 Kf7 Kg7 Kh5 Kh6 Kh7 Qa1 Qa2+ Qb2+ Qb3 Qb4+ Qb5 Qb6 Qc1+ Qc2+ Qe4 Qf1 Qf5 Qg1 Qh1 Ra8 Rb8 Rc1 Rc2+ Rc3 Rc4 Rc5 Rc6 Rc7 Rd8 Re8 Rf5 Rf8 Rg8 Rh5 Rh8 g3; ce 32762; dm 3; pv Bb4+ Ke2 Re5+ Kf2 Qe1#;

which is pretty remarkable for having only 8 chessmen on the board.
Perhaps it's a record of some kind. I think it's interesting that a position could have that many mate-in-three moves and not a single mate-in-two move.

The mate-in-four set is currently in the stew pot and should be ready soon.

----

On the EPD side of things, the "ce" operator is deprecated in favor of the "pes" operator and the "acs" operator is deprecated in favor of the "te" and "tu" operators. While the "acd" and "acn" operators remain, the interpretation of their operand values is of course heavily dependent upon the analyzing program.

For the mate-in-three set, the "dm" operand values are all "3" and are set prior to analysis. And also for this set, the "pes" operand values are all "MateIn3" and are set by the analyzing program.

The semantics for the "bm", "pv", and "dm" operators that appear above remain the same.

In all of the EPD suites that I'll deliver, each record will have an "id" operation and its single operand will always be a symbol and never a quoted string. (Operator "name" is used for a string identification operation.) In a break with tradition, the synthesized suites will be zero indexed and the "id" symbols will be a concatenation of the file name base, a period, and the record ordinal:

Code: Select all

    id checkmates.00000;
    id checkmates.00001;
    ...
    id checkmates.99999;
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: And if you order in the next thirty minutes...

Post by sje »

By the way, that's position #18560:

Code: Select all

2r5/8/3b2k1/3b2r1/6p1/8/3K4/1q6 b - - 5 122 bm Ba2 Ba3 Ba8 Bb3 Bb4+ Bb7 Bb8 Bc4 Bc5 Bc6 Bc7 Be4 Be5 Be6 Be7 Bf3 Bf4+ Bf7 Bf8 Bg2 Bg3 Bg8 Bh1 Bh2 Kf5 Kf6 Kf7 Kg7 Kh5 Kh6 Kh7 Qa1 Qa2+ Qb2+ Qb3 Qb4+ Qb5 Qb6 Qc1+ Qc2+ Qe4 Qf1 Qf5 Qg1 Qh1 Ra8 Rb8 Rc1 Rc2+ Rc3 Rc4 Rc5 Rc6 Rc7 Rd8 Re8 Rf5 Rf8 Rg8 Rh5 Rh8 g3; dm 3; id matein3.18560;
I have moved the FEN files into their own directory, and I have provided the corresponding EPD files also in their own directory. Note that all the EPD files use a full six field FEN position specification, not the old first four fields only layout. Some older programs can read the updated format directly, but other programs may need a slight modification.

The EPD input files do not have the "acd", "acn", "pes", "pv", "te", or "tu" operations; these should be provided by the analyzing program.

----

So how long does it take *your* program to solve a hundred thousand mate-in-three positions? In this context, "solve" means finding all solution moves. Symbolic takes 614 seconds including all I/O and formatting overhead. That's about six milliseconds per position or a rate of about 163 positions per second.
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

BAM eek BAM eek BAM eek BOOM -- 10^5 mate in four problems

Post by sje »

In the FEN directory at http://idisk.mac.com/chessnotation-Public?view=web you'll find the newly generated file matein4.fen that has a hundred thousand mate-in-four problems in FEN format.

The corresponding EPD file will be posted soon.

A taste:

[D] 4q2r/3n1p2/1pk2P2/1pb2nNp/pP5p/P2P1K2/1RPBP3/7R b - - 7 39 bm Nd4+; dm 4; id matein4.30920;

Analysis: [MateIn4/1,724] 39... Nd4+ 40 Kg2 Qxe2+ 41 Kh3 Qg4+ 42 Kh2 Qg3#