Dan Honeycutt wrote: Norm Pollock wrote:
jdart wrote:To save the output you need to redirect to a file, for example:
playchess2 input.pgn > output.pgn
I did realize that. But what I am asking for is a way to capture the games that were excluded. Namely, the games that seem to have an incorrect result based on the evaluation of the final position.
My book utility is at a rough beta stage at the moment. It has a pgn check function which looks for mismatched braces, conflicting results and the like. It also has my Cupcake engine built in. I don't think it would be too much trouble to make a "suspicious results" check if you want. Do you have criteria you'd like to use?
Thanks for the response. For a start, you could try:
1) If the game ended in a draw, in most cases, the pawn-based score for the final position should be between -1.00 and +1.00 inclusive regardless of the color to move.
2) If the game ended 1-0, in most cases, the pawn-based score for the final position should be greater than +2.00 if White is to move, or less than -2.00 if Black is to move.
3) If the game ended 0-1, in most cases, the pawn-based score for the final position should be less than -2.00 if White is to move, or greater than +2.00 if Black is to move.
If the result is not consistent with the score of the final position using the above criteria, then the game should be extracted for analysis. There could be countless reasons for the mismatch- such as time pressure, blunder, a non-winnable position with unequal material, or a recording error.