Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PGN Test Set

Author: Richard A. Fowell (fowell@netcom.com)

Date: 14:02:34 06/14/98

Go up one level in this thread


On June 14, 1998 at 03:50:32, Manfred Rosenboom wrote:

>Hi,
>
>I just uploaded my PGN test suite to
>
>http://www.geocities.com/CapeCanaveral/Launchpad/2640/pgn_test.zip
>
>The idea for creating this file, was to test my own PGN import
>parser. If anyone of you find, that some important test case
>is missing, please mail me and I will add that test case.
>
>Manfred

Thanks! After testing nine PGN programs Friday, I compiled this
list of PGN errors, roughly in order of observed frequency, but
only the top three were made by more than one program.

  - ending a PGN movetext line short
    (the spec says maximal number of tokens in less than 80 characters)
  - using a space as the last character of a movetext line
  - omitting the space between a period and White's move when
     adjacent on the same line
  - inserting optional tags before the last of the standard 7 tags
  - omitting the empty line after the movetext
  - using "ep" for en passant
  - using "" rather than "?" for an unknown tag entry
  - omitting the Game Termination Marker
  - using "+" or "++" for checkmate rather than "#"
  - using lower case "oh" or zeros for castling
  - omitting the empty line after the tag section
  - omitting a "+" for a check
  - putting in extra spaces in the movetext
  - using tabs rather than spaces in the movetext
  - omitting one of the standard 7 tags (typically the "Round" tag)
  - having the standard 7 tags out of order
  - having the "Date" tag data in the wrong format



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.