Page 1 of 1

A problem with LGPGNVER

PostPosted: 05 May 2005, 11:56
by Igor Gorelikov
A problem with LGPGNVER
-----------------------

LGPGNVER has problems with draw recognition in commented games.

PGN VERificator v1.17 by George Lyapko (c) 2002-2005

Level of warnings: 0
=============================================================================
Game 1: AnMon 5.30-Thinker 4.6b

1. d4 Nf6 2. c4 g6 3. Nf3 d5 4. Nc3 Bg7 5. Qb3 dxc4 6. Qxc4 O-O 7. e4 Nc6
8. Be2 Nd7 9. Be3 Nb6 10. Qc5 Nd7 11. Qa3 e5 12. Rd1 exd4 13. Nxd4 Nxd4
14. Bxd4 Bxd4 15. Rxd4 c5 16. Rd2 Qg5 17. g3 Nb6 18. f4 Qe7 19. O-O Be6
20. Rc1 Rfd8 21. Rxd8+ Qxd8 22. Rd1 Qc7 23. e5 Rd8 24. Qxa7 Ra8 25. Nb5
Qc6

Result :1/2-1/2 {0.00/11}
Warning level :4
Final position: r5k1/Qp3p1p/1nq1b1p1/1Np1P3/5P2/6P1/PP2B2P/3R2K1 w - - 3 26
Analyze result:* {no draw found}

Here is the game:

[Event "New IL-8, C8c"]
[Site "Celeron 1GHz 256MB"]
[Date "2005.04.29"]
[Round "1"]
[White "AnMon 5.30"]
[Black "Thinker 4.6b"]
[Result "1/2-1/2"]
[ECO "D97"]
[Opening "Gr№nfeld"]
[Time "21:01:49"]
[Variation "Russian, Simagin, 8.Be2"]
[TimeControl "3600+3"]
[Termination "normal"]
[PlyCount "65"]
[WhiteType "program"]
[BlackType "program"]

1.d4 Nf6 2.c4 g6 3.Nf3 d5 4.Nc3 Bg7 5.Qb3 dxc4 6.Qxc4 O-O 7.e4 Nc6 8.Be2 Nd7
9.Be3 {+0.36/11} Nb6 10.Qc5 {+0.31/12} Nd7 {-0.40/7} 11.Qa3 {+0.35/12} e5 {-0.37/9}
12.Rd1 {+0.44/11} exd4 {+0.13/8} 13.Nxd4 {+0.48/13} Nxd4 {-0.35/11} 14.Bxd4 {+0.45/13}
Bxd4 {-0.34/11} 15.Rxd4 {+0.46/12} c5 {-0.39/10} 16.Rd2 {+0.54/11} Qg5 {-0.21/9}
17.g3 {+0.57/12} Nb6 {-0.30/11} 18.f4 {+0.59/12} Qe7 {-0.38/10} 19.O-O {+0.63/11} Be6
{-0.27/8} 20.Rc1 {+0.66/10} Rfd8 {-0.03/7} 21.Rxd8+ {+0.84/11} Qxd8 {-0.51/11} 22.Rd1
{+0.93/12} Qc7 {-0.47/10} 23.e5 {+0.93/11} Rd8 {-0.33/11} 24.Qxa7 {+1.22/10} Ra8
{+0.02/10} 25.Nb5 {-0.01/13} Qc6 {0.00/11} 26.Rd6 {0.00/10} Qe4 {0.00/12} 27.Qxb6 {0.00/8}
Qxe2 28.Rd8+ {0.00/7} Kg7 {0.00/10} 29.Rxa8 {0.00/7} Qe1+ 30.Kg2 Qe2+ {0.00/10}
31.Kg1 Qe1+ {0.00/10} 32.Kg2 Qe2+ 33.Kg1 {3-fold repetition} 1/2-1/2

Igor

Re: A problem with LGPGNVER

PostPosted: 06 May 2005, 06:17
by George Lyapko
This problem is related to comments.

Igor Gorelikov wrote:Game 1: AnMon 5.30-Thinker 4.6b

1. d4 Nf6 2. c4 g6 3. Nf3 d5 4. Nc3 Bg7 5. Qb3 dxc4 6. Qxc4 O-O 7. e4 Nc6
8. Be2 Nd7 9. Be3 Nb6 10. Qc5 Nd7 11. Qa3 e5 12. Rd1 exd4 13. Nxd4 Nxd4
14. Bxd4 Bxd4 15. Rxd4 c5 16. Rd2 Qg5 17. g3 Nb6 18. f4 Qe7 19. O-O Be6
20. Rc1 Rfd8 21. Rxd8+ Qxd8 22. Rd1 Qc7 23. e5 Rd8 24. Qxa7 Ra8 25. Nb5
Qc6

Result :1/2-1/2 {0.00/11}
Warning level :4
Final position: r5k1/Qp3p1p/1nq1b1p1/1Np1P3/5P2/6P1/PP2B2P/3R2K1 w - - 3 26
Analyze result:* {no draw found}


As you can see LGPGNVER stops processing the game after move 25. It assumes that every comment inside the game should begin with '+' or '-', but here

Igor Gorelikov wrote:{+0.02/10} 25.Nb5 {-0.01/13} Qc6 {0.00/11} 26.Rd6 {0.00/10} Qe4 {0.00/12} 27.Qxb6 {0.00/8}


it is not true. In the next version I will try to fix the problem...

George