Other than ease of solution, a future-proof test suite

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, chrisw, Rebel

Dann Corbit
Posts: 12680
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Other than ease of solution, a future-proof test suite

Post by Dann Corbit »

Created with the where clause:
where dm between 8 and 12 and acs > 0 and acd = 999 and dbo.ChessmanCount(Epd) >= 16 and (not (bm like '% %'))
This means every position is a mate in between 8 and twelve moves
The positions were not solved instantaneously by Chest319
The positions were proven (no special pruning so they are actually provably optimal and correct)
There are at least 16 chessmen on the board, so that they won't be trivially defeated by EGTB files
There is a single shortest mate (though other moves might mate, but it would take more moves)
Here is the link:


The files inside look like this:
10/09/2024 06:51 AM 2,935,920 provmats-ana.epd
10/09/2024 06:51 AM 772,064 provmats.epd

The archive looks like this:
10/09/2024 06:52 AM 879,085 provmats.7z

There are 12855 unique positions in the list.
Since the positions are uniquely solved with a single move for minimum mate, they can never be improved by additional search.
However, due to the exponential advances in both hardware and software, the test sets will eventually become trivial.

Notes:
the analysis file (provmats-ana.epd) gives the source when I have it.
many of the positions will be found in existing problem tests, but most are not.
many of the positions will also be from actual games.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12680
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Other than ease of solution, a future-proof test suite

Post by Dann Corbit »

A similar set with mates between 5 and 7 moves.

45,662 positions. Some are permutations or reflections due to experiments I have run in the past.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12680
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Other than ease of solution, a future-proof test suite

Post by Dann Corbit »

Note that the analysis file and the bare problem file have their names flipped.
Sorry, I do stuff like that a lot (dyslexic)
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Joerg Oster
Posts: 952
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Other than ease of solution, a future-proof test suite

Post by Joerg Oster »

Dann Corbit wrote: Wed Oct 09, 2024 3:59 pm Created with the where clause:
where dm between 8 and 12 and acs > 0 and acd = 999 and dbo.ChessmanCount(Epd) >= 16 and (not (bm like '% %'))
This means every position is a mate in between 8 and twelve moves
The positions were not solved instantaneously by Chest319
The positions were proven (no special pruning so they are actually provably optimal and correct)
There are at least 16 chessmen on the board, so that they won't be trivially defeated by EGTB files
There is a single shortest mate (though other moves might mate, but it would take more moves)
Here is the link:


The files inside look like this:
10/09/2024 06:51 AM 2,935,920 provmats-ana.epd
10/09/2024 06:51 AM 772,064 provmats.epd

The archive looks like this:
10/09/2024 06:52 AM 879,085 provmats.7z

There are 12855 unique positions in the list.
Since the positions are uniquely solved with a single move for minimum mate, they can never be improved by additional search.
However, due to the exponential advances in both hardware and software, the test sets will eventually become trivial.

Notes:
the analysis file (provmats-ana.epd) gives the source when I have it.
many of the positions will be found in existing problem tests, but most are not.
many of the positions will also be from actual games.
A big thank you, Dann. 8-)
Jörg Oster
peter
Posts: 3269
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Other than ease of solution, a future-proof test suite

Post by peter »

Great, Dann, thanks a lot, regards
Peter.
Jouni
Posts: 3462
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Other than ease of solution, a future-proof test suite

Post by Jouni »

Thanks. So these are checked with Chest full search?
Jouni
peter
Posts: 3269
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Other than ease of solution, a future-proof test suite

Post by peter »

Checked on my own so far only those, that Huntsman doesn't solve within 5" at 30 threads, and only out of the latest 506 (#11+#12).

Here's nr. 12367:

[d]1r4k1/5pp1/2Rp4/3Pp3/pB2P2P/2P1P3/5K2/1q6 b - - 0 1

Analysis by The Huntsman 1:

1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8.Kh3 Txd7 9.Le3 Df3+ 10.Kh2 Sxe3 11.Kg1 Dg2#
4. -+ (-#12): 1...Dg6 2.Tf3 Dd6+ 3.Kg2 Dxd7 4.Ld4 Dg4+ 5.Kf2 Sf4 6.Te3 Dg2+ 7.Ke1 Sd3+ 8.Kd1 Df1+ 9.Kd2 Dc1+ 10.Ke2 De1+ 11.Kf3 Df2+ 12.Ke4 Df4#

So, given solution 1...a3 at the one and 1...Rxd7 of the other one aren't single best moves, just edited those as for DTM equal solutions as second and third one bm(s), regards
Peter.
peter
Posts: 3269
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Other than ease of solution, a future-proof test suite

Post by peter »

Next ones, nr. 12419:

[d]4r3/p5k1/8/5pPp/P1Pp3P/1P1P1RK1/6R1/3q4 b - - 0 1

Analysis by The Huntsman 1:

1. -+ (-#11): 1...f4+ 2.Txf4 Te3+ 3.Kh2 Dxd3 4.b4 Th3+ 5.Kg1 De3+ 6.Tff2 d3 7.Th2 Txh2 8.Kxh2 Dxf2+ 9.Kh3 d2 10.a5 d1D 11.g6 Ddf1#
2. -+ (-#11): 1...Dh1 2.Tgf2 Dg1+ 3.Kh3 Te3 4.Txe3 dxe3 5.Tg2 Df1 6.Kh2 f4 7.b4 e2 8.Tg1 Df2+ 9.Kh1 Dxh4+ 10.Kg2 Dg3+ 11.Kh1 Dh3#
3. -+ (-#11): 1...Te3 2.Txe3 dxe3 3.Kf4 Dxd3 4.b4 De4+ 5.Kg3 f4+ 6.Kh3 e2 7.Tg1 De3+ 8.Kh2 Df2+ 9.Kh1 Dxh4+ 10.Kg2 Dg3+ 11.Kh1 Dh3#
4. -+ (-#12): 1...Te6 2.c5 f4+ 3.Txf4 Te3+ 4.Kh2 Dxd3 5.Kg1 Th3 6.Tff2 De3 7.g6 d3 8.Tg5 Tf3 9.Kh2 Txf2+ 10.Tg2 Df4+ 11.Kh1 Df3 12.Kg1 Dxg2#

12432:

[d]5rk1/6p1/3p4/3P3q/1P2p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'm through with the #11+#12- list, that will take some time anyhow.
Peter.
peter
Posts: 3269
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Other than ease of solution, a future-proof test suite

Post by peter »

Edit- time over, just this one also already now to show, DTM isn't always correct neither, here is 12747 with a given #12- line, there's a shorter one with 2...Qxe1 instead of 2...Bxa2 (!?) of analyse- line of epd:

[d]6k1/6p1/2q2p1p/p1P1pP2/Prb3P1/3R3K/QP5P/4B3 b - - 0 1

Analysis by The Huntsman 1:

1. -+ (-#10): 1...De4 2.Tg3 Dxe1 3.b3 Lf1+ 4.Dg2 Lxg2+ 5.Kxg2 De2+ 6.Kh3 h5 7.gxh5 Df1+ 8.Tg2 Dxf5+ 9.Kg3 Tg4+ 10.Kh3 Dxh5#
2. -+ (-#11): 1...Lxa2 2.Lxb4 De4 3.Tg3 Lc4 4.Kh4 Df4 5.Tg2 axb4 6.c6 Kh7 7.Tc2 Ld3 8.Tg2 Lxf5 9.Kh3 Df3+ 10.Kh4 g5+ 11.Kh5 Dh3#
3. -+ (-#13): 1...Dh1 2.Lxb4 Lxa2 3.b3 Lb1 4.Tg3 h5 5.Ld2 hxg4+ 6.Kxg4 Dd1+ 7.Kh3 Dxd2 8.Tf3 Le4 9.Kg3 De1+ 10.Tf2 De3+ 11.Kh4 Dxf2+ 12.Kg4 Lxf5+ 13.Kh5 Dxh2#
Peter.
peter
Posts: 3269
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Other than ease of solution, a future-proof test suite

Post by peter »

peter wrote: Thu Oct 10, 2024 8:57 pm here is 12747 with a given #12- line, there's a shorter one
Position is stored as #11, not as #12 as mistyped above, everything else is correct.
Peter.