Skip to content

Commit

Permalink
Added basic tests to check content is ok. Fixed issue when file can't…
Browse files Browse the repository at this point in the history
… be opened because the encoding is missing. Fixed the value error message when python-chess tries to parse an invalid move.
  • Loading branch information
zq99 committed Oct 28, 2022
1 parent 3c4f617 commit 8910a27
Show file tree
Hide file tree
Showing 26 changed files with 47,966 additions and 47,289 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,17 @@ This is a full list of the columns in each output file:
| move_sequence | Sequence of moves upto current position |


## Contributions

Contributions are welcome, all modifications should come with appropriate tests demonstrating
an issue has been resolved, or new functionality is working as intended.

All tests can be run by doing the following:

from testing.tests import run_all_tests
run_all_tests()


## Acknowledgements

This project makes use of the [python-chess](https://github.com/niklasf/python-chess) library.
8 changes: 6 additions & 2 deletions converter/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def parse_file(self, add_headers_flag=True):
"""

log.info("Processing file:{}".format(self.pgn_file))
pgn = open(self.pgn_file)
pgn = open(self.pgn_file, encoding="UTF-8")

engine = None
if self.engine_path is not None:
Expand Down Expand Up @@ -131,7 +131,11 @@ def __process_move(self, game_id, game, moves_writer, engine, depth):
player_move = PlayerMove(move, notation)

# this gets the name of the piece that was moved
index = chess.SQUARE_NAMES.index(player_move.get_to_square())
try:
index = chess.SQUARE_NAMES.index(player_move.get_to_square())
except ValueError as e:
log.error(f"Error: {notation} is an invalid move.")
break
p = board.piece_at(chess.SQUARES[index])

player_move.set_piece(str(p))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='pgn2data',
version='0.0.7',
version='0.0.8',
packages=['converter', 'common', 'testing'],
url='https://github.com/zq99/pgn2data',
python_requires=">=3.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
game_id,game_order,event,site,date_played,round,white,black,result,white_elo,white_rating_diff,black_elo,black_rating_diff,white_title,black_title,winner,winner_elo,loser,loser_elo,winner_loser_elo_diff,eco,termination,time_control,utc_date,utc_time,variant,ply_count,date_created,file_name
5580acfe-cf25-4067-bbd3-903ea22186f6,1,F/S Return Match,"Belgrade, Serbia JUG",1992.11.04,29,"Fischer, Robert J.","Spassky, Boris V.",1/2-1/2,,,,,,,draw,,draw,,,,,,,,,,2022-07-01T21:48:35+0000,basic_format.pgn
9514cb04-e7ba-4e5c-9078-1426010be4d4,1,F/S Return Match,"Belgrade, Serbia JUG",1992.11.04,29,"Fischer, Robert J.","Spassky, Boris V.",1/2-1/2,,,,,,,draw,,draw,,,,,,,,,,2022-10-28T21:34:12+0000,basic_format_test.pgn

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions testing/exports/content_test_game_info.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
game_id,game_order,event,site,date_played,round,white,black,result,white_elo,white_rating_diff,black_elo,black_rating_diff,white_title,black_title,winner,winner_elo,loser,loser_elo,winner_loser_elo_diff,eco,termination,time_control,utc_date,utc_time,variant,ply_count,date_created,file_name
a58a5c25-1e63-41f7-aba0-401aac96119a,1,Carlsen - Caruana World Championship Match,London ENG,2018.11.09,1,Fabiano Caruana,Magnus Carlsen,1/2-1/2,?,,?,,,,draw,,draw,,0,B31,,,,,,229,2022-10-28T21:34:26+0000,content_test.pgn
230 changes: 230 additions & 0 deletions testing/exports/content_test_moves.csv

Large diffs are not rendered by default.

Large diffs are not rendered by default.

19,050 changes: 9,525 additions & 9,525 deletions testing/exports/output2_moves.csv → testing/exports/multiple_file_test_moves.csv

Large diffs are not rendered by default.

18,592 changes: 9,296 additions & 9,296 deletions testing/exports/pandas_test_export1.csv

Large diffs are not rendered by default.

18,592 changes: 9,296 additions & 9,296 deletions testing/exports/pandas_test_export2.csv

Large diffs are not rendered by default.

220 changes: 110 additions & 110 deletions testing/exports/pandas_test_game_info.csv

Large diffs are not rendered by default.

18,592 changes: 9,296 additions & 9,296 deletions testing/exports/pandas_test_moves.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion testing/exports/reported_issue_02_game_info.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
game_id,game_order,event,site,date_played,round,white,black,result,white_elo,white_rating_diff,black_elo,black_rating_diff,white_title,black_title,winner,winner_elo,loser,loser_elo,winner_loser_elo_diff,eco,termination,time_control,utc_date,utc_time,variant,ply_count,date_created,file_name
4431dffa-e199-41e5-8f0c-4521cb956bcd,1,?,?,2022.6.16,?,Dr. Wolf - Intermediate,James,0-1,,,,,,,James,,Dr. Wolf - Intermediate,,,,,,,,,,2022-07-01T21:48:54+0000,reported_issue_02.pgn
b20fbd19-cfd5-437b-81a6-a8dd62b91178,1,?,?,2022.6.16,?,Dr. Wolf - Intermediate,James,0-1,,,,,,,James,,Dr. Wolf - Intermediate,,,,,,,,,,2022-10-28T21:34:20+0000,reported_issue_02.pgn
256 changes: 128 additions & 128 deletions testing/exports/reported_issue_02_moves.csv

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions testing/exports/reported_issue_04_1_game_info.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
game_id,game_order,event,site,date_played,round,white,black,result,white_elo,white_rating_diff,black_elo,black_rating_diff,white_title,black_title,winner,winner_elo,loser,loser_elo,winner_loser_elo_diff,eco,termination,time_control,utc_date,utc_time,variant,ply_count,date_created,file_name
ce87958f-7524-449b-bc29-13a9b68a79b9,1,San Francisco,San Francisco,2013.05.28,1,"Niemann, Hans Moke","Anderson, Michael S",1-0,1533,,1946,,,,"Niemann, Hans Moke",1533,"Anderson, Michael S",1946,-413,B43,,,,,,47,2022-10-28T21:34:20+0000,reported_issue_04_1.pgn
27 changes: 27 additions & 0 deletions testing/exports/reported_issue_04_1_moves.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
game_id,move_no,move_no_pair,player,notation,move,from_square,to_square,piece,color,fen,is_check,is_check_mate,is_fifty_moves,is_fivefold_repetition,is_game_over,is_insufficient_material,white_count,black_count,white_pawn_count,black_pawn_count,white_queen_count,black_queen_count,white_bishop_count,black_bishop_count,white_knight_count,black_knight_count,white_rook_count,black_rook_count,captured_score_for_white,captured_score_for_black,fen_row1_white_count,fen_row2_white_count,fen_row3_white_count,fen_row4_white_count,fen_row5_white_count,fen_row6_white_count,fen_row7_white_count,fen_row8_white_count,fen_row1_white_value,fen_row2_white_value,fen_row3_white_value,fen_row4_white_value,fen_row5_white_value,fen_row6_white_value,fen_row7_white_value,fen_row8_white_value,fen_row1_black_count,fen_row2_black_count,fen_row3_black_count,fen_row4_black_count,fen_row5_black_count,fen_row6_black_count,fen_row7_black_count,fen_row8_black_count,fen_row1_black_value,fen_row2_black_value,fen_row3_black_value,fen_row4_black_value,fen_row5_black_value,fen_row6_black_value,fen_row7_black_value,fen_row8_black_value,move_sequence
ce87958f-7524-449b-bc29-13a9b68a79b9,1,1,"Niemann, Hans Moke",e4,e2e4,e2,e4,P,White,rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR,0,0,0,0,0,0,16,16,8,8,1,1,2,2,2,2,2,2,0,0,8,7,0,1,0,0,0,0,31,7,0,1,0,0,0,0,0,0,0,0,0,0,8,8,0,0,0,0,0,0,8,31,e4
ce87958f-7524-449b-bc29-13a9b68a79b9,2,1,"Anderson, Michael S",c5,c7c5,c7,c5,P,Black,rnbqkbnr/pp1ppppp/8/2p5/4P3/8/PPPP1PPP/RNBQKBNR,0,0,0,0,0,0,16,16,8,8,1,1,2,2,2,2,2,2,0,0,8,7,0,1,0,0,0,0,31,7,0,1,0,0,0,0,0,0,0,0,1,0,7,8,0,0,0,0,1,0,7,31,e4|c5
ce87958f-7524-449b-bc29-13a9b68a79b9,3,2,"Niemann, Hans Moke",Nf3,g1f3,g1,f3,N,White,rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R,0,0,0,0,0,0,16,16,8,8,1,1,2,2,2,2,2,2,0,0,7,7,1,1,0,0,0,0,28,7,3,1,0,0,0,0,0,0,0,0,1,0,7,8,0,0,0,0,1,0,7,31,e4|c5|Nf3
ce87958f-7524-449b-bc29-13a9b68a79b9,4,2,"Anderson, Michael S",e6,e7e6,e7,e6,P,Black,rnbqkbnr/pp1p1ppp/4p3/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R,0,0,0,0,0,0,16,16,8,8,1,1,2,2,2,2,2,2,0,0,7,7,1,1,0,0,0,0,28,7,3,1,0,0,0,0,0,0,0,0,1,1,6,8,0,0,0,0,1,1,6,31,e4|c5|Nf3|e6
ce87958f-7524-449b-bc29-13a9b68a79b9,5,3,"Niemann, Hans Moke",d4,d2d4,d2,d4,P,White,rnbqkbnr/pp1p1ppp/4p3/2p5/3PP3/5N2/PPP2PPP/RNBQKB1R,0,0,0,0,0,0,16,16,8,8,1,1,2,2,2,2,2,2,0,0,7,6,1,2,0,0,0,0,28,6,3,2,0,0,0,0,0,0,0,0,1,1,6,8,0,0,0,0,1,1,6,31,e4|c5|Nf3|e6|d4
ce87958f-7524-449b-bc29-13a9b68a79b9,6,3,"Anderson, Michael S",cxd4,c5d4,c5,d4,P,Black,rnbqkbnr/pp1p1ppp/4p3/8/3pP3/5N2/PPP2PPP/RNBQKB1R,0,0,0,0,0,0,15,16,7,8,1,1,2,2,2,2,2,2,0,1,7,6,1,1,0,0,0,0,28,6,3,1,0,0,0,0,0,0,0,1,0,1,6,8,0,0,0,1,0,1,6,31,e4|c5|Nf3|e6|d4|cxd4
ce87958f-7524-449b-bc29-13a9b68a79b9,7,4,"Niemann, Hans Moke",Nxd4,f3d4,f3,d4,N,White,rnbqkbnr/pp1p1ppp/4p3/8/3NP3/8/PPP2PPP/RNBQKB1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,7,6,0,2,0,0,0,0,28,6,0,4,0,0,0,0,0,0,0,0,0,1,6,8,0,0,0,0,0,1,6,31,e4|c5|Nf3|e6|d4|cxd4|Nxd4
ce87958f-7524-449b-bc29-13a9b68a79b9,8,4,"Anderson, Michael S",a6,a7a6,a7,a6,P,Black,rnbqkbnr/1p1p1ppp/p3p3/8/3NP3/8/PPP2PPP/RNBQKB1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,7,6,0,2,0,0,0,0,28,6,0,4,0,0,0,0,0,0,0,0,0,2,5,8,0,0,0,0,0,2,5,31,e4|c5|Nf3|e6|d4|cxd4|Nxd4|a6
ce87958f-7524-449b-bc29-13a9b68a79b9,9,5,"Niemann, Hans Moke",Nc3,b1c3,b1,c3,N,White,rnbqkbnr/1p1p1ppp/p3p3/8/3NP3/2N5/PPP2PPP/R1BQKB1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,6,6,1,2,0,0,0,0,25,6,3,4,0,0,0,0,0,0,0,0,0,2,5,8,0,0,0,0,0,2,5,31,e4|c5|Nf3|e6|d4|cxd4|Nxd4|a6|Nc3
ce87958f-7524-449b-bc29-13a9b68a79b9,10,5,"Anderson, Michael S",b5,b7b5,b7,b5,P,Black,rnbqkbnr/3p1ppp/p3p3/1p6/3NP3/2N5/PPP2PPP/R1BQKB1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,6,6,1,2,0,0,0,0,25,6,3,4,0,0,0,0,0,0,0,0,1,2,4,8,0,0,0,0,1,2,4,31,e4|c5|Nf3|e6|d4|cxd4|Nxd4|a6|Nc3|b5
ce87958f-7524-449b-bc29-13a9b68a79b9,11,6,"Niemann, Hans Moke",Be3,c1e3,c1,e3,B,White,rnbqkbnr/3p1ppp/p3p3/1p6/3NP3/2N1B3/PPP2PPP/R2QKB1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,5,6,2,2,0,0,0,0,22,6,6,4,0,0,0,0,0,0,0,0,1,2,4,8,0,0,0,0,1,2,4,31,e4|c5|Nf3|e6|d4|cxd4|Nxd4|a6|Nc3|b5|Be3
ce87958f-7524-449b-bc29-13a9b68a79b9,12,6,"Anderson, Michael S",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|g4|Ne5|Rdf1
ce87958f-7524-449b-bc29-13a9b68a79b9,26,13,"Anderson, Michael S",Rc8,a8c8,a8,c8,R,Black,2r1k2r/1bq1bppp/p2ppn2/1p2n3/3NP1PP/2NBBP2/PPPQ4/2K2R1R,0,0,0,0,0,0,15,15,7,7,1,1,2,2,2,2,2,2,1,1,3,4,4,4,0,0,0,0,10,12,10,6,0,0,0,0,0,0,0,0,2,4,6,3,0,0,0,0,4,6,18,10,e4|c5|Nf3|e6|d4|cxd4|Nxd4|a6|Nc3|b5|Be3|Bb7|f3|Qc7|Qd2|Nf6|Bd3|Be7|O-O-O|d6|h4|Nbd7|g4|Ne5|Rdf1|Rc8
3 changes: 3 additions & 0 deletions testing/exports/reported_issue_04_2_game_info.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
game_id,game_order,event,site,date_played,round,white,black,result,white_elo,white_rating_diff,black_elo,black_rating_diff,white_title,black_title,winner,winner_elo,loser,loser_elo,winner_loser_elo_diff,eco,termination,time_control,utc_date,utc_time,variant,ply_count,date_created,file_name
beafb94b-0af9-4100-9580-765c30d0c8d9,1,San Francisco,San Francisco,2013.05.28,1,"Niemann, Hans Moke","Anderson, Michael S",1-0,1533,,1946,,,,"Niemann, Hans Moke",1533,"Anderson, Michael S",1946,-413,B43,,,,,,47,2022-10-28T21:34:20+0000,reported_issue_04_2.pgn
65363aab-f82c-4c28-bf06-454e770ec7d0,2,Carlsen - Caruana World Championship Match,London ENG,2018.11.09,1,Fabiano Caruana,Magnus Carlsen,1/2-1/2,?,,?,,,,draw,,draw,,0,B31,,,,,,229,2022-10-28T21:34:20+0000,reported_issue_04_2.pgn

0 comments on commit 8910a27

Please sign in to comment.