Million Mate Madness

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

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Million Mate Madness

Post by Ferdy »

bnst wrote:I made a simple perl script that check for illegal number of pieces and illegal FEN and illegeal number of pawns and it found 2972 errors.
The most were pawns on the first or last row and the rest 201 errors were more than eight pawns of one colour.
Regards Andreas
The 1714 that I reported was actually based from my collection of single bm positions. Already emailed Dann about this figure.

Let me check the orig file if I can match your figure.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Million Mate Madness

Post by Ferdy »

bnst wrote:I made a simple perl script that check for illegal number of pieces and illegal FEN and illegeal number of pawns and it found 2972 errors.
The most were pawns on the first or last row and the rest 201 errors were more than eight pawns of one colour.
Regards Andreas
Here is the summary.

Code: Select all

Position  NoBM  IPawnLoc  INumPawn  INumPiece  IPaAndPie  IFen
 1112569    46      2870       201         16         31    27
NoBM = No bestmove
IPawnLoc = Illegal pawn location, at 1st and 8th rank
INumPawn = Illegal number of pawns, could be wp > 8 or bp > 8
INumPiece = Illegal number of pieces (not pawns), could be wr > 10 and others
IPaAndPie = Illegal counts based on pawns and pieces combination, could be wr = 3 but wp = 8. The positions here are not in INumPawn and not in INumPiece.
IFen = Illegal Fen, this is based on the Python-Chess Library (PCL) that I use. I save the fen whenever that method set_fen(fen) raised an error.
Looking at the positions, these are fen with qk castle field for example. Also 2 successive digit in the row like /1K1P4/P4B11/8 w

It could happen that positions in INumPawn can be found in IPawnLoc.

Download:
http://www.mediafire.com/download/5hp6p ... n_test.rar

Files in the download:

Code: Select all

02/27/2015  09:52 PM             3,078 illegalFen.epd
02/27/2015  09:52 PM            26,228 illegalNumPawns.epd
02/27/2015  09:52 PM             2,466 illegalNumPieces.epd
02/27/2015  09:52 PM             3,692 illegalNumPiecesAndPawns.epd
02/27/2015  09:52 PM           354,274 illegalPawnLocation.epd
02/27/2015  09:52 PM             4,735 noBestMove.epd
02/27/2015  09:52 PM               142 summary_log.txt
JohnS
Posts: 215
Joined: Sun Feb 24, 2008 2:08 am

Re: Million Mate Madness

Post by JohnS »

Ferdy wrote:
bnst wrote:I made a simple perl script that check for illegal number of pieces and illegal FEN and illegeal number of pawns and it found 2972 errors.
The most were pawns on the first or last row and the rest 201 errors were more than eight pawns of one colour.
Regards Andreas
Here is the summary.

Code: Select all

Position  NoBM  IPawnLoc  INumPawn  INumPiece  IPaAndPie  IFen
 1112569    46      2870       201         16         31    27
NoBM = No bestmove
IPawnLoc = Illegal pawn location, at 1st and 8th rank
INumPawn = Illegal number of pawns, could be wp > 8 or bp > 8
INumPiece = Illegal number of pieces (not pawns), could be wr > 10 and others
IPaAndPie = Illegal counts based on pawns and pieces combination, could be wr = 3 but wp = 8. The positions here are not in INumPawn and not in INumPiece.
IFen = Illegal Fen, this is based on the Python-Chess Library (PCL) that I use. I save the fen whenever that method set_fen(fen) raised an error.
Looking at the positions, these are fen with qk castle field for example. Also 2 successive digit in the row like /1K1P4/P4B11/8 w

It could happen that positions in INumPawn can be found in IPawnLoc.

Download:
http://www.mediafire.com/download/5hp6p ... n_test.rar

Files in the download:

Code: Select all

02/27/2015  09:52 PM             3,078 illegalFen.epd
02/27/2015  09:52 PM            26,228 illegalNumPawns.epd
02/27/2015  09:52 PM             2,466 illegalNumPieces.epd
02/27/2015  09:52 PM             3,692 illegalNumPiecesAndPawns.epd
02/27/2015  09:52 PM           354,274 illegalPawnLocation.epd
02/27/2015  09:52 PM             4,735 noBestMove.epd
02/27/2015  09:52 PM               142 summary_log.txt
Great work!

Dann: Will you be providing a revised version without the bad positions?

Many thanks.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Million Mate Madness

Post by Dann Corbit »

JohnS wrote:
Ferdy wrote:
bnst wrote:I made a simple perl script that check for illegal number of pieces and illegal FEN and illegeal number of pawns and it found 2972 errors.
The most were pawns on the first or last row and the rest 201 errors were more than eight pawns of one colour.
Regards Andreas
Here is the summary.

Code: Select all

Position  NoBM  IPawnLoc  INumPawn  INumPiece  IPaAndPie  IFen
 1112569    46      2870       201         16         31    27
NoBM = No bestmove
IPawnLoc = Illegal pawn location, at 1st and 8th rank
INumPawn = Illegal number of pawns, could be wp > 8 or bp > 8
INumPiece = Illegal number of pieces (not pawns), could be wr > 10 and others
IPaAndPie = Illegal counts based on pawns and pieces combination, could be wr = 3 but wp = 8. The positions here are not in INumPawn and not in INumPiece.
IFen = Illegal Fen, this is based on the Python-Chess Library (PCL) that I use. I save the fen whenever that method set_fen(fen) raised an error.
Looking at the positions, these are fen with qk castle field for example. Also 2 successive digit in the row like /1K1P4/P4B11/8 w

It could happen that positions in INumPawn can be found in IPawnLoc.

Download:
http://www.mediafire.com/download/5hp6p ... n_test.rar

Files in the download:

Code: Select all

02/27/2015  09:52 PM             3,078 illegalFen.epd
02/27/2015  09:52 PM            26,228 illegalNumPawns.epd
02/27/2015  09:52 PM             2,466 illegalNumPieces.epd
02/27/2015  09:52 PM             3,692 illegalNumPiecesAndPawns.epd
02/27/2015  09:52 PM           354,274 illegalPawnLocation.epd
02/27/2015  09:52 PM             4,735 noBestMove.epd
02/27/2015  09:52 PM               142 summary_log.txt
Great work!

Dann: Will you be providing a revised version without the bad positions?

Many thanks.
Yes.
I will have a revised version.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Million Mate Madness

Post by Vinvin »

Ferdinand , could you clean up the file here please : http://www.talkchess.com/forum/viewtopi ... 107#615107
1) Sometimes, there's text before the FEN/EPD, is it possible to remove it automatically ?
2) A lot of positions are duplicate but different comments after the FEN/EPD, is it possible to hold only 1 (the longest string) ?

Thanks :D ,
Vincent
Ferdy wrote:
bnst wrote:I made a simple perl script that check for illegal number of pieces and illegal FEN and illegeal number of pawns and it found 2972 errors.
The most were pawns on the first or last row and the rest 201 errors were more than eight pawns of one colour.
Regards Andreas
Here is the summary.

Code: Select all

Position  NoBM  IPawnLoc  INumPawn  INumPiece  IPaAndPie  IFen
 1112569    46      2870       201         16         31    27
NoBM = No bestmove
IPawnLoc = Illegal pawn location, at 1st and 8th rank
INumPawn = Illegal number of pawns, could be wp > 8 or bp > 8
INumPiece = Illegal number of pieces (not pawns), could be wr > 10 and others
IPaAndPie = Illegal counts based on pawns and pieces combination, could be wr = 3 but wp = 8. The positions here are not in INumPawn and not in INumPiece.
IFen = Illegal Fen, this is based on the Python-Chess Library (PCL) that I use. I save the fen whenever that method set_fen(fen) raised an error.
Looking at the positions, these are fen with qk castle field for example. Also 2 successive digit in the row like /1K1P4/P4B11/8 w

It could happen that positions in INumPawn can be found in IPawnLoc.

Download:
http://www.mediafire.com/download/5hp6p ... n_test.rar

Files in the download:

Code: Select all

02/27/2015  09:52 PM             3,078 illegalFen.epd
02/27/2015  09:52 PM            26,228 illegalNumPawns.epd
02/27/2015  09:52 PM             2,466 illegalNumPieces.epd
02/27/2015  09:52 PM             3,692 illegalNumPiecesAndPawns.epd
02/27/2015  09:52 PM           354,274 illegalPawnLocation.epd
02/27/2015  09:52 PM             4,735 noBestMove.epd
02/27/2015  09:52 PM               142 summary_log.txt