Quality of these computer generated puzzles

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

Moderators: hgm, Rebel, chrisw

User avatar
vittyvirus
Posts: 646
Joined: Wed Jun 18, 2014 2:30 pm
Full name: Fahad Syed

Quality of these computer generated puzzles

Post by vittyvirus »

These are extracted from World Blitz Chess Championship 2017 from a program I wrote past year during summer.

https://justpaste.it/5aiig

I'm not an extremely strong chess player, so I'm unsure of the worth of the puzzles that it generates, but I've tried to make them look like if they were picked by humans. My question is, do these puzzles compare to, say, chess.com tactics trainer and other online sites?
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Quality of these computer generated puzzles

Post by MikeB »

vittyvirus wrote: Sun Jan 13, 2019 6:35 am These are extracted from World Blitz Chess Championship 2017 from a program I wrote past year during summer.

https://justpaste.it/5aiig

I'm not an extremely strong chess player, so I'm unsure of the worth of the puzzles that it generates, but I've tried to make them look like if they were picked by humans. My question is, do these puzzles compare to, say, chess.com tactics trainer and other online sites?
This one is nice, it is a mate in 14 with only Kb5 leading to mate.
[d]8/1k6/1P6/2Q5/K1P2q2/8/8/8 w - - 25 98

Code: Select all

  #14 Kb5 Kb8 Ka6 Qf7 Qd5 Qxd5 cxd5 Kc8 d6 Kd7 b7 Kxd6 b8=Q+ Kd5 Qf4 Ke6 Kb7 Kd5 Kb6 Ke6 Kc6 Ke7 Qf5 Ke8 Kd6 Kd8 Qd7# 
Nice mate-in-9
[d]3Q4/1p4k1/p1bN1p1p/4q3/4N3/8/5K2/8 w - - 10 1

Code: Select all

  #9 Qc7+ Kh8 Nf7+ Kg8 Nxe5 fxe5 Nd6 Bd7 Qxd7 e4 Nxe4 a5 Nc5 a4 Ne6 a3 Qg7# 
Based on a small sample - maybe 15 or so ...Many are very favorable to one side regardless of the move. Those that have one "best" move ( and all other moves draw or lose) are ok for humans - but would be considered easy by many players - may be ok for beginners.
Image
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Quality of these computer generated puzzles

Post by Dann Corbit »

vittyvirus wrote: Sun Jan 13, 2019 6:35 am These are extracted from World Blitz Chess Championship 2017 from a program I wrote past year during summer.

https://justpaste.it/5aiig

I'm not an extremely strong chess player, so I'm unsure of the worth of the puzzles that it generates, but I've tried to make them look like if they were picked by humans. My question is, do these puzzles compare to, say, chess.com tactics trainer and other online sites?
Quite a few are imbalanced. Here is a simple wood count measure of those with an apparent advantage:

Code: Select all

>> ** IMBALANCED ** << [-111]:( 1k6/1pp2pQ1/3qb3/PB6/5n2/5P2/5B2/6K1 b - - )
>> ** IMBALANCED ** << [222]:( 1k6/7R/P7/2K5/2P5/8/8/1r6 w - - )
>> ** IMBALANCED ** << [-111]:( 1r2k2r/5ppp/1pp3q1/2QpP1N1/4bP2/1R6/1P4PP/5RK1 w k - )
>> ** IMBALANCED ** << [111]:( 2K5/7R/k1P5/8/8/8/8/6r1 w - - )
>> ** IMBALANCED ** << [222]:( 3b1k2/5p2/4qP2/2p1P3/P1P2BQp/1P3R1K/4r3/8 w - - )
>> ** IMBALANCED ** << [-111]:( 3k4/5p2/8/4p1q1/3bP2p/5P2/6QB/5K2 b - - )
>> ** IMBALANCED ** << [111]:( 3k4/8/6N1/2R5/2b5/3p3P/6PK/5r2 b - - )
>> ** IMBALANCED ** << [111]:( 3q2k1/2R2p1p/4b1p1/4Q1P1/1P1N4/2P1K1P1/r7/8 w - - )
>> ** IMBALANCED ** << [-304]:( 3r3Q/1p1k1p2/4p3/3bP2P/8/2q2P2/6PK/3R4 w - - )
>> ** IMBALANCED ** << [-225]:( 3rr1k1/p3bppp/8/p1pqNb2/3P4/P1P5/4BPPP/2BQR1K1 w - - )
>> ** IMBALANCED ** << [114]:( 4R3/8/6k1/8/3p1n1P/5K2/4p3/8 b - - )
>> ** IMBALANCED ** << [857]:( 4k3/1r1b1p2/3Qp3/8/1P2P3/6P1/5PB1/6K1 w - - )
>> ** IMBALANCED ** << [-111]:( 4r1k1/3b1p2/1n1p1b1p/p2P2p1/P1pP2P1/2q2BN1/5B1P/3QR1K1 w - - )
>> ** IMBALANCED ** << [111]:( 4r2k/1R3B2/5Pp1/p3P3/Pb2K3/4p3/2P5/8 w - - )
>> ** IMBALANCED ** << [111]:( 5k1N/8/1p3P2/p3BK1p/P1Pb4/1n5P/8/8 w - - )
>> ** IMBALANCED ** << [111]:( 5k2/p2r1p2/2p2r2/4R2P/7Q/1P6/P1qp1PP1/3R2K1 w - - )
>> ** IMBALANCED ** << [111]:( 5r2/6kp/1P4p1/2p3q1/P1B1Pn2/2P2R2/8/1K1Q4 w - - )
>> ** IMBALANCED ** << [222]:( 5r2/6kp/6p1/1Pp3P1/P1B1Pn1q/2P2R2/8/1K1Q4 w - - )
>> ** IMBALANCED ** << [225]:( 5rk1/5p2/5np1/4R1Q1/p1B1b2P/KPP5/5q2/2R5 w - - )
>> ** IMBALANCED ** << [111]:( 6R1/3k1P2/1p6/p1b1K3/P1B5/1P6/5r2/8 w - - )
>> ** IMBALANCED ** << [415]:( 6R1/5p1k/2N4p/4B3/r1n2PP1/5K2/8/8 w - - )
>> ** IMBALANCED ** << [222]:( 6k1/1p1n4/p3NP2/P1PP1p2/8/4P3/8/5K2 w - - )
>> ** IMBALANCED ** << [-222]:( 6k1/3R2p1/p1r1ppN1/7p/7P/r1n3P1/5P2/2R2K2 w - - )
>> ** IMBALANCED ** << [-222]:( 6k1/5np1/p3Np1p/1p1Qp3/2q3P1/4P2P/5P2/6K1 w - - )
>> ** IMBALANCED ** << [415]:( 6k1/6P1/5K2/8/8/3N4/2p5/8 w - - )
>> ** IMBALANCED ** << [-225]:( 6k1/p4rp1/1p2q1Np/4p2P/4Q3/1P4P1/P4PK1/8 w - - )
>> ** IMBALANCED ** << [111]:( 7K/3r4/P4k2/8/8/1P6/5p2/5R2 b - - )
>> ** IMBALANCED ** << [111]:( 7b/3k3p/4p1pP/P3P3/2NN4/3n2P1/6K1/8 w - - )
>> ** IMBALANCED ** << [222]:( 8/1k6/1P6/2Q5/K1P2q2/8/8/8 w - - )
>> ** IMBALANCED ** << [106]:( 8/1p1k4/1r6/5rp1/P1P5/K5Q1/1P6/8 w - - )
>> ** IMBALANCED ** << [111]:( 8/2r3k1/5p2/5Pp1/4Q3/1Pq5/2P4R/1K6 b - - )
>> ** IMBALANCED ** << [222]:( 8/3Q4/1k6/1P6/2P5/1K6/4q3/8 w - - )
>> ** IMBALANCED ** << [222]:( 8/3k4/PK6/8/2R4P/8/1r6/8 w - - )
>> ** IMBALANCED ** << [-225]:( 8/3nk3/3p3p/3BpK1P/1B2P3/8/P6r/8 b - - )
>> ** IMBALANCED ** << [-336]:( 8/4B3/r7/1R4p1/5pk1/3r4/5PK1/8 b - - )
>> ** IMBALANCED ** << [111]:( 8/5K2/6Pb/1k2N3/8/8/8/8 w - - )
>> ** IMBALANCED ** << [415]:( 8/5Q2/7R/1P4p1/4p3/4q1kP/8/3r1B1K w - - )
>> ** IMBALANCED ** << [111]:( 8/5k2/1p3PN1/p3BK1p/P1Pb4/1n5P/8/8 w - - )
>> ** IMBALANCED ** << [111]:( 8/5r1p/q5pk/2PR4/4Q1PP/5p1K/5P2/8 w - - )
>> ** IMBALANCED ** << [222]:( 8/6R1/3k4/3P3r/3KP3/8/8/8 w - - )
>> ** IMBALANCED ** << [111]:( 8/6p1/3rpkPp/R6P/Pp2rP2/1P1N3R/2n5/5K2 w - - )
>> ** IMBALANCED ** << [111]:( 8/7k/5Qp1/2p3P1/P7/1P3P2/3p2K1/4q3 b - - )
>> ** IMBALANCED ** << [111]:( 8/7k/5Qp1/2p3P1/P7/1P3PK1/3pq3/8 b - - )
>> ** IMBALANCED ** << [-222]:( 8/8/4k3/1R6/4bK2/2p2p2/6r1/4B3 b - - )
>> ** IMBALANCED ** << [-111]:( 8/8/8/2k3K1/5n1p/2P3p1/8/5B2 b - - )
>> ** IMBALANCED ** << [-415]:( 8/8/8/5k2/5b1K/5r2/6R1/8 b - - )
>> ** IMBALANCED ** << [333]:( 8/8/p5Q1/2k2N2/7P/5qPK/PP6/5n2 w - - )
>> ** IMBALANCED ** << [-667]:( 8/p5kp/1pp1R3/3pB2P/7q/3r4/PP4B1/6K1 b - - )
>> ** IMBALANCED ** << [-222]:( 8/r3q1k1/5pp1/2N4p/5Pbn/2Q5/6BK/2R5 b - - )
>> ** IMBALANCED ** << [111]:( 8/r5k1/5p2/2q2Pp1/4Q3/1P6/2P5/1K5R w - - )
>> ** IMBALANCED ** << [-225]:( K7/5r2/1k1B4/8/8/8/8/8 b - - )
>> ** IMBALANCED ** << [-111]:( r3R1k1/1p3p2/5qp1/p1Pb4/2p4p/Q1P2PB1/P1r3PK/4R3 b - - )
>> ** IMBALANCED ** << [-415]:( r3r1k1/1bn2pbp/q1p2np1/p1Bp4/P2P4/1Q2PNP1/5PBP/2RR2K1 w - - )
>> ** IMBALANCED ** << [222]:( r7/8/3K2p1/2P5/2B1b3/5k2/PP2R3/8 w - - )
Now, a position that is behind and yet wins is actually often more interesting than one that is balanced.
I am running a quick test of your problem set right now.

Colin Frayn also wrote a checkmate generator, where you supply the desired material configuration and it will generate checkmates with that configuration.
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.
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: Quality of these computer generated puzzles

Post by duncan »

Dann Corbit wrote: Mon Jan 14, 2019 9:11 pm
Colin Frayn also wrote a checkmate generator, where you supply the desired material configuration and it will generate checkmates with that configuration.
Do you know of a link ?
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Quality of these computer generated puzzles

Post by Dann Corbit »

duncan wrote: Mon Jan 14, 2019 9:23 pm
Dann Corbit wrote: Mon Jan 14, 2019 9:11 pm
Colin Frayn also wrote a checkmate generator, where you supply the desired material configuration and it will generate checkmates with that configuration.
Do you know of a link ?
Binary:
http://www.frayn.net/beowulf/matetest.zip
Code:
http://www.frayn.net/beowulf/matetestc.zip

I modified the source to allow deeper mates.
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: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Quality of these computer generated puzzles

Post by Dann Corbit »

Here is the version that I tweaked:
https://drive.google.com/open?id=1dxrjf ... oXwQnTpxZo
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: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Quality of these computer generated puzzles

Post by Dann Corbit »

vittyvirus wrote: Sun Jan 13, 2019 6:35 am These are extracted from World Blitz Chess Championship 2017 from a program I wrote past year during summer.

https://justpaste.it/5aiig

I'm not an extremely strong chess player, so I'm unsure of the worth of the puzzles that it generates, but I've tried to make them look like if they were picked by humans. My question is, do these puzzles compare to, say, chess.com tactics trainer and other online sites?
Here is the data as a set of analyzed EPD records. Some have multiple solutions. I guess that all of them will be solved in under a second on decent hardware with a top program (as far as picking the key move goes).

Code: Select all

4r1k1/3b1p2/1n1p1b1p/p2P2p1/P1pP2P1/2q2BN1/5B1P/3QR1K1 w - - acd 31; acs 48; bm Rxe8+; ce 423; pm Rxe8+; pv Rxe8+ Bxe8 Ne4 Qa3 Nxf6+ Kf8 Bg3 Bxa4 Qb1 Nc8 Be2 Qe3+ Kf1 Qe7 Nh5 c3 Qh7 Ke8 Be1 c2 Bd2 Nb6 Qxh6 Nxd5 Kf2 Kd7 Bxg5 f6 Bd2 f5 g5 Nc3 Nf6+ Kc7 Bd3 f4 Bxf4 Bc6 d5 Bxd5 Nxd5+ Nxd5 Bd2 Nb4 Bf5 Kb7 Qh7 Qxh7 Bxh7 Kc8 Ke3 Kb7 h4 Kc7; 
r3r1k1/1bn2pbp/q1p2np1/p1Bp4/P2P4/1Q2PNP1/5PBP/2RR2K1 w - - ac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qh3 Bg7 g6 c5 Rf1 c4; 
3r2k1/1p3rb1/2p5/1n4q1/1P4P1/1Q1pPB1R/8/2B2K1R b - - acd 33; acs 59; bm d2; c0 "d2 is best but Qe5 and Nc3 may also win"; ce 955; pm d2; pv d2 Kg2 dxc1=R Rxc1 Rd2+ Kh1 Rf2 Rc4 R2xf3 Rxf3 Qd5 e4 Rxf3 exd5 Rxb3 dxc6 bxc6 Kg2 Nd4 Kf2 Be5 g5 Kf7 Rc5 Rb2+ Ke3 Bg7 Ra5 Rxb4 Ra8 Rb5 Rd8 Rd5 Ra8 Rxg5 Kf2 Rg4 Ra5; 
1k6/1pp2pQ1/3qb3/PB6/5n2/5P2/5B2/6K1 b - - acd 33; acs 59; bm Nh3+; c0 "Nh3+ is best, but Qd1+ and b6 may also win"; ce 1091; pm Nh3+; pv Nh3+; 
1r2k2r/5ppp/1pp3q1/2QpP1N1/4bP2/1R6/1P4PP/5RK1 w k - acd 35; acs 59; bm Rxb6 Ra1; c0 "Rxb6 and Ra1 are equally good and Nxe4 probably wins also."; ce 1181; pm Rxb6 Ra1; pv Rxb6; 
8/6p1/3rpkPp/R6P/Pp2rP2/1P1N3R/2n5/5K2 w - - acd 31; acs 59; bm Ra7; ce 1239; pm Ra7; pv Ra7; 
5rk1/5p2/5np1/4R1Q1/p1B1b2P/KPP5/5q2/2R5 w - - acd 29; acs 59; bm Rf1 Rxe4; c0 "Rf1 and Rxe4 both win easily and b4 wins as well, but not as dominantly"; ce 1626; pm Rf1 Rxe4; pv Rf1; 
6k1/5np1/p3Np1p/1p1Qp3/2q3P1/4P2P/5P2/6K1 w - - acd 36; acs 54; bm Qd7; ce 1757; pm Qd7; pv Qd7 Qxe6 Qxe6 Kf8 Qxa6 Ng5 Qa8+ Ke7 Qb7+ Kd6 Qxg7 Ke6 Qxh6 Ke7 h4 Nf3+ Kg2 Ne1+ Kg3 Ke6 Qh7 Kd5 Qb1 Kc4 Qxe1 b4 Qe2+ Kc3 Qf3 Kd3 Qxf6 b3 Qxe5 Kc2 Qe4+ Kc1 Qd4 Kc2 Kg2 b2 Qc4+ Kd2; 
r1b1Q3/ppp2ppk/7P/3rP1p1/8/2R1P3/PP3KP1/1q3B1R b - - acd 30; acs 59; bm Rd2+; ce 1784; pm Rd2+; pv Rd2+; 
5r2/6kp/1P4p1/2p3q1/P1B1Pn2/2P2R2/8/1K1Q4 w - - acd 34; acs 59; bm Qd6; c0 "Qd6 is best, but Qd7+ and a5 both win easily"; ce 1813; pm Qd6; pv Qd6; 
7b/3k3p/4p1pP/P3P3/2NN4/3n2P1/6K1/8 w - - acd 31; acs 59; bm a6; c0 "a6 is best, but Nb6+ and Nf3 both win easily"; ce 2510; pm a6; pv a6; 
3q2k1/2R2p1p/4b1p1/4Q1P1/1P1N4/2P1K1P1/r7/8 w - - acd 36; acs 59; bm Qg7+; c0 "Qg7+ is best but Nxe6 and b5 both win easily"; ce 2549; pm Qg7+; pv Qg7+; 
3r3Q/1p1k1p2/4p3/3bP2P/8/2q2P2/6PK/3R4 w - - acd 31; acs 59; bm Rxd5+; ce 3666; pm Rxd5+; pv Rxd5+; 
5k2/p2r1p2/2p2r2/4R2P/7Q/1P6/P1qp1PP1/3R2K1 w - - acd 34; acs 59; bm Rxd2; ce 6381; pm Rxd2; pv Rxd2; 
8/r3q1k1/5pp1/2N4p/5Pbn/2Q5/6BK/2R5 b - - acd 31; acs 59; bm Nxg2; c0 "Nxg2 is best, but Ra2 and Qd6 both win easily"; ce 6867; pm Nxg2; pv Nxg2; 
8/p5kp/1pp1R3/3pB2P/7q/3r4/PP4B1/6K1 b - - acd 42; acs 59; bm Kg8; c0 "Kg8 is best, but Kf7 and Kf8 both win easily"; ce 6973; pm Kg8; pv Kg8; 
8/1p1k4/1r6/5rp1/P1P5/K5Q1/1P6/8 w - - acd 35; acs 59; bm Qd3+; c0 "Qd3+ dominates, but b4 and Qg4 may also win"; ce 7503; pm Qd3+; pv Qd3+; 
5r2/pp3q1k/6bP/2p1Qn2/2P2R2/1P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8 Qxe8+ Rf8 Qxf8+ Kh7 Qh8#; 
5k2/p3R1R1/2p3p1/1qn5/8/2K3B1/PP5P/8 b - - acd 7; acs 0; bm Qd3+; ce 32762; dm 3; pm Qd3+; pv Qd3+ Kb4 Qd4+ Ka3 Qa4#; 
5Q2/1p6/p1bN1Nkp/4q3/8/8/5K2/8 w - - acd 7; acs 0; bm Qf7+; ce 32762; dm 3; pm Qf7+; pv Qf7+ Kg5 Qg7+ Kf4 Qg4#; 
7K/3r4/P4k2/8/8/1P6/5p2/5R2 b - - acd 7; acs 0; bm Kg6; ce 32762; dm 3; pm Kg6; pv Kg6 Rg1+ fxg1=Q b4 Rd8#; 
8/4B3/r7/1R4p1/5pk1/3r4/5PK1/8 b - - acd 7; acs 0; bm f3+; ce 32762; dm 3; pm f3+; pv f3+ Kh2 Rh6+ Kg1 Rd1#; 
6R1/5p1k/2N4p/4B3/r1n2PP1/5K2/8/8 w - - acd 5; acs 0; bm Rh8+; ce 32764; dm 2; pm Rh8+; pv Rh8+ Kg6 Ne7#; 
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.
JohnS
Posts: 215
Joined: Sun Feb 24, 2008 2:08 am

Re: Quality of these computer generated puzzles

Post by JohnS »

Dann Corbit wrote: Mon Jan 14, 2019 11:17 pm Here is the version that I tweaked:
https://drive.google.com/open?id=1dxrjf ... oXwQnTpxZo
I must be missing something since nothing happens when I run the program. How do you use it thanks?
Dann Corbit
Posts: 12538
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Quality of these computer generated puzzles

Post by Dann Corbit »

No idea what went wrong there.
The source did not have my changes, either.

Try this one:
https://drive.google.com/open?id=1dxrjf ... oXwQnTpxZo
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.
JohnS
Posts: 215
Joined: Sun Feb 24, 2008 2:08 am

Re: Quality of these computer generated puzzles

Post by JohnS »

Dann Corbit wrote: Tue Jan 15, 2019 3:43 am No idea what went wrong there.
The source did not have my changes, either.

Try this one:
https://drive.google.com/open?id=1dxrjf ... oXwQnTpxZo
Thanks Dann - it works now.