sutt / chess

1 stars 0 forks source link

tests/batchverify: are the kickouts still wrong? #12

Open sutt opened 6 years ago

sutt commented 6 years ago

Are these still an issue?

Check_Schedule Discrepancies: 76 | GarryKasparov.pgn-2827 - caused by promotion=N causing an immediate check 63 | GarryKasparov.pgn-17019 - queen side castling causes check 61 | GarryKasparov.pgn-18587 - queen side castling causes check 7 | GarryKasparov.pgn-22523 - queen side castling causes check 55 | GarryKasparov.pgn-23291 - not a check_schedule discrepancy; some other err 56 | GarryKasparov.pgn-23307 - not a check_schedule discrepancy; some other err 57 | GarryKasparov.pgn-23323 - not a check_schedule discrepancy; some other err 34 | GarryKasparov.pgn-24555 - queen side castling causes check 2 | GarryKasparov.pgn-25643 - queen side castling causes check 7 | GarryKasparov.pgn-25723 - queen side castling causes check

sutt commented 6 years ago

See an example below: queen side castling causes check, but that's not recorded in the PGN, only in the chess app

1 | GarryKasparov.pgn-17019 First Turn Check doesnt match (_i_turn format): 20 Player allegedly in check: Black play() check value: True schema check value: False Board State pre-move at i_turn: 22

A B C D E F G H

8 r n ~ k ~ b ~ r 7 p p ~ ~ ~ p p p 6 ~ n ~ ~ b ~ ~ ~ 5 ~ ~ p ~ P ~ ~ ~ 4 ~ ~ p ~ ~ ~ ~ ~ 3 ~ ~ N ~ B N ~ ~ 2 P P ~ ~ ~ P P P 1 ~ ~ K R ~ B ~ R

PGN:

  1. d4 d5 2. c4 dxc4 3. e4 c5 4. d5 Nf6 5. Nc3 e6 6. Nf3 exd5 7. e5 Nfd7 8. Qxd5 Nb6 9. Qxd8+ Kxd8 10. Be3 Be6 11. O-O-O Ke8 12. Ng5 Nc6 13. Nb5 Rc8 14. Be2 Nd4 15. Bxd4 cxd4 16. Nxe6 fxe6 17. Nxd4 Kf7 18. Bg4 Re8 19. f4 Bc5 20. g3 a6 21. h4 Re7 22. h5 Rhe8 23. Nf3 h6 24. f5 exf5 25. Bxf5 Kg8 26. g4 Rc7 27. Kc2 a5 28. Rhe1 a4 29. e6 a3 30. Bg6 Rec8 31. Bf7+ Kh7 32. Re5 Be7 33. Rb5 Na4 34. Rd7 Nc5 35. Rxc7 Rxc7 36. bxa3 Bf6 37. Rb6 Rc8 38. Ne5 Ra8 39. Nd7 Nxd7 40. exd7 Rd8 41. Bg6+ Kg8 42. Re6
sutt commented 6 years ago

There is one error that is actually valid: caused by non-ability to select promotion 76 | GarryKasparov.pgn-2827 - caused by promotion=N causing an immediate check