fsmosca / gameselector

Find good and bad games.
GNU General Public License v3.0
1 stars 2 forks source link

Requests #2

Open CPagador opened 6 months ago

CPagador commented 6 months ago

Hi Ferdinand,

I have more requests, please.

In Winboard there are these kind of games that WB adjudicates draws when the winning side loses on time, but its opponent has no chance of winning the game. Here are some examples of the type of comments in these games:

{polyglot: resign (illegal engine move by white: h7h8q) but bare king} 1/2-1/2 {polyglot: resign (illegal engine move by black: b2b1q) but bare king} 1/2-1/2 {White wins on time but bare king} 1/2-1/2 {Black wins on time but bare king} 1/2-1/2 {Error: first chess program (polyglot -noini -ec "Zagreus.exe" -ed "C:\WinBoard-4.6.2\Engines\Zagreus_1.1.0\Windows") exited unexpectedly but bare king} 1/2-1/2

I'd like these games to be removed from the DB.

I'd also like to add games generated by Arena GUI to my database. Games that finish with:

{White forfeits on time} {Black forfeits on time} {Arena Adjudication. Illegal move!}

should be also filtered.

If it is not too difficult, would be nice to have a report in a text file, indicating how many games were removed because the engines lost on time or by illegal moves or other reasons like crashing (engine exit unexpectedly) under the known conditions.

Regards, Carlos

PS: Here is an example of pgn:

https://fastupload.io/CtSTQAZ3gndeQkD/file

CPagador commented 6 months ago

Here is a bigger pgn database.

https://fastupload.io/OM32mMFLh7KmoC2/file

CPagador commented 6 months ago

It seems Arena adjudicates draw sometimes when one side loses on time with big advantage. Like this:

[Event "MadChess5"] [Site "DESKTOP-PIO4BDF"] [Date "2024.02.12"] [Round "1"] [White "MadChess 3.2 1400"] [Black "Zagreus 1.1.0"] [Result "1/2-1/2"] [BlackElo "2200"] [ECO "C10"] [Opening "French"] [Time "18:59:45"] [Variation "Rubinstein, 5.Nf3 Ngf6"] [WhiteElo "1400"] [TimeControl "180+2"] [Termination "time forfeit"] [PlyCount "245"] [WhiteType "program"] [BlackType "program"]

  1. e4 e6 2. d4 d5 3. Nd2 dxe4 4. Nxe4 Nd7 5. Nf3 Ngf6 6. Nc3 {+0.60/5 9} Bb4 {-2.07/6 5} 7. Bd3 {+0.51/5 7} Bxc3+ {-2.49/5 4} 8. bxc3 {+0.88/7 10} Nd5 {-2.01/5 5} 9. c4 {+1.00/5 10} Nb4 {-2.47/5 5} 10. Bb2 {+0.81/4 7} Nxd3+ {-2.02/6 5} 11. Qxd3 {+1.03/7 8} Ne5 {-1.41/5 5} 12. dxe5 {+5.64/6 9} Qxd3 {-3.25/6 5} 13. cxd3 {+5.77/5 5} Bd7 {-3.21/7 6} 14. Ba3 {+5.71/5 8} Bc6 {-1.96/6 3} 15. Bb4 {+5.75/5 7} Bxf3 {-1.18/6 3} 16. gxf3 {+5.45/5 6} O-O-O {-1.07/7 3} 17. Ke2 {+5.74/5 7} Rd7 {-1.14/6 3} 18. Rhg1 {+5.83/5 7} Rg8 {-1.64/6 3} 19. h4 {+6.04/4 6} Kb8 {-0.20/6 3} 20. a4 {+6.09/4 6} Rd4 {+0.97/6 3} 21. h5 {+6.36/4 4} Rh4 {+1.52/5 1} 22. Rh1 {+6.37/4 3} Rxh1 {+1.79/5 1} 23. Rxh1 {+6.43/5 5} Kc8 {+0.94/6 2} 24. a5 {+6.69/4 5} Kd7 {+1.39/6 2} 25. Rh3 {+6.44/4 4} Ra8 {+1.66/6 2} 26. f4 {+6.39/5 6} Kc6 {+2.16/6 2} 27. Ke3 {+6.22/5 6} Re8 {+2.36/6 2} 28. Rg3 {+6.42/5 5} Rg8 {+1.73/6 2} 29. Rxg7 {+8.90/4 3} Rxg7 {+6.52/7 3} 30. d4 {-2.58/5 5} Rg8 {+6.43/7 3} 31. Ke4 {-2.38/5 4} Kd7 {+6.78/6 3} 32. Kf3 {-2.28/5 5} Ra8 {+6.38/6 3} 33. Ba3 {-1.78/5 5} Re8 {+6.19/7 4} 34. f5 {-1.95/5 3} exf5 {+6.89/7 5} 35. Kf4 {-2.48/5 4} Re6 {+6.72/7 6} 36. f3 {-3.02/4 3} Ra6 {+7.94/7 7} 37. Bb4 {-3.77/5 3} Rh6 {+7.75/7 9} 38. Kxf5 {-3.10/6 4} Rxh5+ {+7.90/7 10} 39. Kf6 {-3.63/6 4} Ke8 {+7.26/7 9} 40. d5 {-3.71/5 3} Rh3 {+7.91/7 8} 41. f4 {-3.93/5 3} Rh4 {+8.47/7 8} 42. Kf5 {-3.32/5 3} Rh5+ {+7.88/7 7} 43. Kf6 {-2.61/6 3} Rh6+ {+7.84/7 7} 44. Kg7 {-2.61/6 2} Rh4 {+7.35/7 6} 45. d6 {-3.06/5 3} Rxf4 {+7.96/7 6} 46. dxc7 {-1.94/4 2} Rxc4 {+7.18/6 5} 47. Bd6 {-2.17/5 3} h5 {+7.07/6 5} 48. Kf6 {-2.17/5 2} Rf4+ {+6.63/6 5} 49. Kg5 {-0.05/9 3} Rc4 {+6.54/6 4} 50. Kf6 {0.00/6 3} Rc1 {+5.98/6 4} 51. Kg5 {-1.95/5 2} Kd7 {+6.65/6 4} 52. Kxh5 {-2.56/5 3} Ra1 {+7.23/6 4} 53. Kh6 {-1.51/5 2} Rh1+ {+6.36/6 4} 54. Kg7 {-2.03/8 2} Rf1 {+5.94/5 3} 55. Kf8 {-2.03/6 3} Rf5 {+6.00/6 4} 56. Kg8 {-2.03/6 2} Rf3 {+6.01/6 3} 57. Kg7 {-2.00/6 2} a6 {+5.90/6 3} 58. Kf8 {-1.36/6 2} Rf2 {+5.90/6 3} 59. Bc5 {-1.50/6 2} Rf3 {+5.89/6 3} 60. Bd6 {0.00/6 2} Rf5 {+5.89/6 3} 61. Kg8 {-1.50/7 3} Rf2 {+5.89/6 3} 62. Kg7 {-1.50/6 2} f5 {+3.85/6 3} 63. e6+ {+1.89/5 3} Kc8 {+3.90/7 2} 64. e7 {+2.38/5 3} Re2 {+1.12/6 2} 65. Kf6 {+3.67/5 3} Kd7 {+3.47/6 2} 66. Kxf5 {+4.26/5 3} Re1 {+3.33/5 2} 67. Kf4 {+3.86/5 3} Re6 {+3.52/5 2} 68. c8=N {0.00/5 2} Kxc8 {+3.93/6 2} 69. Kf5 {-1.09/5 2} Kd7 {+3.90/6 2} 70. Bc5 {-0.90/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/5 1} Rg7 {+6.80/6 2} 102. Ba5 {-6.25/6 2} Kd4 {+6.98/6 2} 103. Bd2 {-6.39/7 2} Rd7 {+6.85/6 2} 104. Bb4 {-6.62/6 2} Kd3 {+6.93/6 2} 105. Bc5 {-6.26/6 2} Kc3 {+6.84/6 1} 106. Bf2 {-6.62/6 2} Rf7 {+6.67/6 2} 107. Bg3 {-6.21/6 2} Kb4 {+4.37/6 2} 108. Bd6+ {-6.56/7 2} Kb3 {+4.31/8 2} 109. Bg3 {-6.87/6 4} Kb4 {+4.38/6 1} 110. Bd6+ {0.00/8 3} Kc4 {+4.30/8 2} 111. Bb8 {-6.69/6 2} Re7 {+4.38/6 1} 112. Bf4 {-7.12/6 2} Rh7 {+4.38/6 1} 113. Bd6 {-6.91/6 2} Rh6 {+6.48/6 2} 114. Kc7 {-18.51/7 1} Kd5 {+6.73/6 2} 115. Bf8 {-7.13/5 2} Rh7+ {+6.99/6 2} 116. Kb6 {-7.08/7 2} Ke5 {+7.00/6 2} 117. Bb4 {-6.27/6 2} Rd7 {+6.90/5 1} 118. Bf8 {0.00/6 2} Kf6 {+7.04/6 2} 119. Bb4 {-5.73/6 1} Kg6 {+7.01/6 2} 120. Bf8 {0.00/6 2} Kg5 {+6.93/6 2} 121. Bc5 {-5.54/6 1} Kg4 {+6.78/5 1} 122. Bb4 {-5.80/5 1} Kg5 {+6.98/6 2} 123. Bc5 {0.00/6 2} ... {Black forfeits on time} 1/2-1/2

I'd like those games removed too, because in this game Black lost on time but had an advantage of more than 5 pawns. (I use 5 instead of 7 now).