Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: For R Hyatt : Crafty book creation bug when underpromotion encountered?

Author: Robert Hyatt

Date: 08:05:29 04/07/05

Go up one level in this thread


On April 07, 2005 at 05:57:41, Marc Lacrosse wrote:

>Dear Robert,
>
>Here is an extract of crafty 19.19 output while trying to process my
>"normav2300.pgn" file.
>After that you will find the concerned games where underpromotion is in the
>format "31.dxc8R" and not "31.dxc8=R".
>I then created a pgn with only the two litigious games and retried.
>This was also rejected by crafty.
>Complete crafty output with this small file is at the end of my post.
>
>Best regards.
>
>Marc

that is illegal PGN.  Unless the standard has changed, the last time I looked
promotions were indicated as dxc8=R, _not_ dxc8R


>
>******EXTRACT FROM CRAFTY OUTPUT WITH THE WHOLE PGN FILES************
>
>White(1): book create normav2300.pgn 62 4 65
>parsing pgn move file (100k moves/dot)
>ERROR!  move 31: dxc8R is illegal (line 9312)
>
>       +---+---+---+---+---+---+---+---+
>    8  |<R>| . |<B>| . |   | . |   |<R>|
>       +---+---+---+---+---+---+---+---+
>    7  | . |   | . |-P-| . |<P>|<P>|<P>|
>       +---+---+---+---+---+---+---+---+
>    6  |<P>|-B-|-Q-|<B>|<K>| . |   | . |
>       +---+---+---+---+---+---+---+---+
>    5  | . |   | . |   |<P>|   |-P-|   |
>       +---+---+---+---+---+---+---+---+
>    4  |   | . |   | . |   |-P-|   | . |
>       +---+---+---+---+---+---+---+---+
>    3  | . |   | . |   | . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>    2  |   | . |-P-| . |   | . |   |-P-|
>       +---+---+---+---+---+---+---+---+
>    1  |<N>|   | . |-K-| . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>         a   b   c   d   e   f   g   h
>
>...................ERROR!  move 23: bxa8B is illegal (line 682119)
>




there is an example of a bad promotion.











>       +---+---+---+---+---+---+---+---+
>    8  |<R>| . |   | . |   | . |   |<R>|
>       +---+---+---+---+---+---+---+---+
>    7  |<P>|-P-| . |<K>| . |   |<P>|<P>|
>       +---+---+---+---+---+---+---+---+
>    6  |   | . |   | . |<P>| . |   | . |
>       +---+---+---+---+---+---+---+---+
>    5  | . |   | . |   | . |<P>| . |   |
>       +---+---+---+---+---+---+---+---+
>    4  |   | . |   |-P-|   | . |   | . |
>       +---+---+---+---+---+---+---+---+
>    3  | . |   | . |   | . |<B>| . |   |
>       +---+---+---+---+---+---+---+---+
>    2  |-P-| . |   |-K-|   |-P-|-P-|-P-|
>       +---+---+---+---+---+---+---+---+
>    1  | . |-R-|-R-|   | . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>         a   b   c   d   e   f   g   h
>
>*********** RELATED ORIGINAL GAMES  ********************************
>
>[Event "Bucharest ROM"]
>[Site "?"]
>[Date "1971.??.??"]
>[Round "?"]
>[White "Ghizdavu, Dumitru"]
>[Black "Ghinda, Mihail_Viorel"]
>[Result "1-0"]
>[ECO "B89"]
>[WhiteElo "2350"]
>[BlackElo "2290"]
>[PlyCount "73"]
>[EventDate "1971.??.??"]
>
>1.e4 c5 2.Nf3 d6 3.d4 cxd4 4.Nxd4 Nf6 5.Nc3 Nc6 6.Bc4 e6 7.Be3 Qc7 8.Qe2 a6
>9.O-O-O Na5 10.Bd3 b5 11.a3 Rb8 12.g4 Nc4 13.Bxc4 bxc4 14.g5 Nd7 15.f4 Qb7
>16.Qxc4 Qxb2+ 17.Kd2 Qxa3 18.Nc6 Ra8 19.Nd5 exd5 20.exd5 Nc5 21.Rhe1 Kd7
>22.Ra1 Qb2 23.Reb1 Nb3+ 24.Kd1 Qxa1 25.Rxa1 Nxa1 26.Ne5+ dxe5 27.Qc6+ Kd8
>28.Bb6+ Ke7 29.d6+ Ke6 30.d7+ Bd6 31.dxc8R Kf5 32.Qe8 Rb8 33.Rc4 Be7
>34.Qa4 Bxg5 35.Rc7 f6 36.c3 Ra8 37.Kc1 1-0
>
>[Event "Tilburg"]
>[Site "?"]
>[Date "1977.??.??"]
>[Round "?"]
>[White "Miles, Anthony J"]
>[Black "Sosonko, Gennadi P"]
>[Result "1-0"]
>[ECO "A18"]
>[WhiteElo "2555"]
>[BlackElo "2530"]
>[PlyCount "69"]
>[EventDate "1977.??.??"]
>
>1.c4 Nf6 2.Nc3 e6 3.e4 d5 4.e5 d4 5.exf6 dxc3 6.bxc3 Qxf6 7.d4 c5 8.Nf3 cxd4
>9.Bg5 Qf5 10.cxd4 Bb4+ 11.Bd2 Nc6 12.Bxb4 Nxb4 13.Rb1 Qa5 14.Qd2 Nc6
>15.Bd3 Qxd2+ 16.Kxd2 b6 17.Rhc1 Ba6 18.Be4 Bb7 19.c5 f5 20.Bxc6+ Bxc6
>21.cxb6 Bxf3 22.b7 Kd7 23.bxa8B Bxa8 24.Rc5 Bxg2 25.Rg1 Be4 26.Rxg7+ Kd6
>27.Ra5 Rb8 28.Ra6+ Kd5 29.Rd7+ Kc4 30.Ra4+ Kb5 31.Raxa7 f4 32.Kc3 Kb6
>33.Rdc7 Rg8 34.a4 Rg2 35.Kb4 1-0
>
>*********** COMPLETE CRAFTY OUTPUT WITH THE SMALL PGN ******************
>
>C:\chess\0work\craftytest>crafty
>unable to open book file [./books.bin].
>
>ERROR!  book.bin not made by version 17.0 or later
>
>C:\chess\0work\craftytest>crafty
>unable to open book file [./book.bin].
>book is disabled
>unable to open book file [./books.bin].
>hash table memory =   24M bytes.
>pawn hash table memory =    6M bytes.
>
>Crafty v19.19 BH
>
>White(1): book create TwoUnderP.pgn 62 4 65
>parsing pgn move file (100k moves/dot)
>ERROR!  move 31: dxc8R is illegal (line 18)
>
>       +---+---+---+---+---+---+---+---+
>    8  |<R>| . |<B>| . |   | . |   |<R>|
>       +---+---+---+---+---+---+---+---+
>    7  | . |   | . |-P-| . |<P>|<P>|<P>|
>       +---+---+---+---+---+---+---+---+
>    6  |<P>|-B-|-Q-|<B>|<K>| . |   | . |
>       +---+---+---+---+---+---+---+---+
>    5  | . |   | . |   |<P>|   |-P-|   |
>       +---+---+---+---+---+---+---+---+
>    4  |   | . |   | . |   |-P-|   | . |
>       +---+---+---+---+---+---+---+---+
>    3  | . |   | . |   | . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>    2  |   | . |-P-| . |   | . |   |-P-|
>       +---+---+---+---+---+---+---+---+
>    1  |<N>|   | . |-K-| . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>         a   b   c   d   e   f   g   h
>
>ERROR!  move 23: bxa8B is illegal (line 37)
>
>       +---+---+---+---+---+---+---+---+
>    8  |<R>| . |   | . |   | . |   |<R>|
>       +---+---+---+---+---+---+---+---+
>    7  |<P>|-P-| . |<K>| . |   |<P>|<P>|
>       +---+---+---+---+---+---+---+---+
>    6  |   | . |   | . |<P>| . |   | . |
>       +---+---+---+---+---+---+---+---+
>    5  | . |   | . |   | . |<P>| . |   |
>       +---+---+---+---+---+---+---+---+
>    4  |   | . |   |-P-|   | . |   | . |
>       +---+---+---+---+---+---+---+---+
>    3  | . |   | . |   | . |<B>| . |   |
>       +---+---+---+---+---+---+---+---+
>    2  |-P-| . |   |-K-|   |-P-|-P-|-P-|
>       +---+---+---+---+---+---+---+---+
>    1  | . |-R-|-R-|   | . |   | . |   |
>       +---+---+---+---+---+---+---+---+
>         a   b   c   d   e   f   g   h
>
>end-of-file reached
>S  <done>
>merging sorted files (1) (100k/dot)
>
>
>parsed 104 moves (2 games).
>found 2 errors during parsing.
>discarded 0 moves (maxply=62).
>discarded 104 moves (minplayed=4).
>discarded 0 moves (win/lose=65.0%).
>book contains 0 unique positions.
>deepest book line was 60 plies.
>longest cluster of moves was 0.
>time used:    0.00 cpu      0.07 elapsed.
>White(1):



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.