Richard Allbert wrote:HI!
Thanks for these test suites
I've been writing an epd testing function and was wondering... the "c0" you use before listing the moves and points.... ist that a standard you will always use? I found a definition of EPD standard online, but it doesn't say anything about the c0.
Second question... for comapring results... better the absolute result (correct answer), or total points results?
Regards
Richard
From:
http://www.geocities.com/CapeCanaveral/ ... n_1616.htm
We have this:
16.2.5.5: Opcode "c0": comment (primary, also "c1" though "c9")
The opcode "c0" (lower case letter "c", digit character zero) indicates a top level comment that applies to the given position. It is the first of ten ranked comments, each of which has a mnemonic formed from the lower case letter "c" followed by a single decimal digit. Each of these opcodes takes either a single string operand or no operand at all.
This ten member comment family of opcodes is intended for use as descriptive commentary for a complete game or game fragment. The usual processing of these opcodes are as follows:
1) At the beginning of a game (or game fragment), a move sequence scanning program initializes each element of its set of ten comment string registers to be null.
2) As the EPD record for each position in the game is processed, the comment operations are interpreted from left to right. (Actually, all operations in n EPD record are interpreted from left to right.) Because operations appear in ASCII order according to their opcode mnemonics, opcode "c0" (if present) will be handled prior to all other opcodes, then opcode "c1" (if present), and so forth until opcode "c9" (if present).
3) The processing of opcode "cN" (0 <= N <= 9) involves two steps. First, all comment string registers with an index equal to or greater than N are set to null. (This is the set "cN" though "c9".) Second, and only if a string operand is present, the value of the corresponding comment string register is set equal to the string operand.
my summary:
c0 is a handy comment field that must be processed by compliant EPD parsers. So I use that field to store the information I need.