I've forked Ferdinand Mosca's Gameselector tool >
https://github.com/fsmosca/gameselector
which separates good games from bad games in a pgn file.
I've enhanced it a bit by adding a gui interface and making
the console output better. Some extra filtering criteria has been added.
The gui has an option to download the latest devel build of stockfish straight into the program.
Any preferred chess engine can be used for evaluating the game ending.
https://github.com/jimablett/gameselector-2
Jim.
Gameselector 2 0.2.2 JA pgn tool available
Moderators: hgm, chrisw, Rebel
-
- Posts: 1827
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
-
- Posts: 1933
- Joined: Sun Dec 13, 2009 6:09 pm
Re: Gameselector 2 0.2.2 JA pgn tool available
I will add a little more information about this tool. Ferdinand Mosca made it at my request about two years ago, analyzing the results of the games I run on my PC, basically in Winboard. Then I added some games played in Arena and Jim Ablett helped me with this and other changes I asked him. Thank you very much Jim, this tool helps me a lot to filter the games that don't go in my database to calculate the rating list.
Basically what the application does is to analyze a pgn and reviews the comment that the GUI makes at the end of each game, in order to remove the games that do not meet the following criteria:
This might not work under other GUIs (because each GUI makes different commentaries at the end of the games.)
Thanks again to Jim Ablett and Ferdinand Mosca.
Basically what the application does is to analyze a pgn and reviews the comment that the GUI makes at the end of each game, in order to remove the games that do not meet the following criteria:
The idea is to remove the games that could distort the rating list, i.e.: engine A had a big advantage to engine B, but lost on time and this changes the rating of all engines who played against them.For a game to be removed, the side that lost on time/illegal move/crash should have an evaluation superior to the negative score_margin. For example if the score margin is 5 and the eval of the losing (by time, illegal, etc.) side is -4.9, -3, 0, 5.5, etc., the game should be removed. The other condition to be removed is when an engine lost on time/illegal move/etc having > score margin advantage, but the GUI adjudicates a draw.
This might not work under other GUIs (because each GUI makes different commentaries at the end of the games.)
Thanks again to Jim Ablett and Ferdinand Mosca.
-
- Posts: 1827
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Gameselector 2 0.2.2 JA pgn tool available
Small update:
Re-packaged and got rid of all virus warning/false positives which happen when
you convert a python script into an executable.
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.
Re-packaged and got rid of all virus warning/false positives which happen when
you convert a python script into an executable.
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.
-
- Posts: 1827
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Gameselector 2 0.2.2 JA pgn tool available
Update:
1. Fixed bug in percentage processed indicator not showing correct percentage processed
2. Added option to save current settings
3. Added 'players_bad_games.txt' andplayer_totals_bad_games.txt reports which will be created at the end showing bad game stats for individual engines e.g >
Jim.
1. Fixed bug in percentage processed indicator not showing correct percentage processed
2. Added option to save current settings
3. Added 'players_bad_games.txt' andplayer_totals_bad_games.txt reports which will be created at the end showing bad game stats for individual engines e.g >
[players_bad_games.txt]
White: Combusken 1.4.0
Black: Critter 1.6a
game lost on time [White]
White: Donna 4.1
Black: Phalanx XXV
game lost on time [White]
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA[player_totals_bad_games.txt]
Combusken 1.4.0_total_bad_games = 1
Donna 4.1_total_bad_games = 1
Jim.
-
- Posts: 1827
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Gameselector 2 0.2.2 JA pgn tool available
New update.
Added some more bad game search criteria
'False illegal-move claim' in comment
"False draw claim: 'Fifty move rule'" in comment:
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.
Added some more bad game search criteria
'False illegal-move claim' in comment
"False draw claim: 'Fifty move rule'" in comment:
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.
-
- Posts: 1827
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Gameselector 2 0.2.2 JA pgn tool available
New update.
new search criteria added - "False draw claim: 'offer draw'"
Same download link >
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.
new search criteria added - "False draw claim: 'offer draw'"
Same download link >
https://drive.proton.me/urls/G2KFHANA2G#uM7OU47pOYsA
Jim.