Open vesper8 opened 3 years ago
https://en.wikipedia.org/wiki/Numeric_Annotation_Glyphs
etc.
Excellent thank you! I guess these are the NAGs I saw many references to. Would be helpful to drop that wikipedia link in the Readme IMO.. not everyone is familiar with this terminology
This repo is not maintained since 2019 (it says this clearly on README page), so the chances are slim. I'll make a fork and fix a few things here and there, but cannot promise if the author will be willing to put them back into the codebase.
Thanks for jumping in with the explanation. See also #15. However, python-chess has changed a lot since I originally wrote this script, so maybe the behavior has changed there. Edit: Also, #14
The first part I'm confused about is.. what does do exactly? It seems like it goes through the whole game and makes note of missed opportunities.. on both sides?
It compares the engine evaluation of the played move with the engine evaluation of the engine's bestmove. If the played move is sufficiently worse, it adds an annotation with the engine's primary variation. Which NAG is used is determined by how bad the move was.
Is that right? What if I only want to see missed opportunities from one side's perspective.. such as from white's perspective.. is there an option for that?
This script does not have that feature, no. I've leveled up considerably in python since I wrote this (it was actually a project to teach myself python in the first place, so it's the very first serious python application I ever did) and I regard the current state of this code as frankly more effort to maintain than it's worth, let alone extend. Every now and then I kick around the thought of doing a python-chess-annotator-ng
from scratch with more of the python skills I've developed since, but other things always get in the way.
Lastly, is it possible to pass it an additional option that would return the score after every single move?
This is also not a feature, although it wouldn't be a tremendous amount of work to extend the script to do that. You would probably want to add a command-line switch to change the value of NEEDS_ANNOTATION_THRESHOLD
to 0 (or a user-defined value).
Edit: Bear in mind that a value of 0
would mean you would also get annotations when you played the engine's bestmove, which might not make a lot of sense.
Hello and first of all thanks a lot for making this. I've tried several other chess analyzer tools and I managed to get none of them to work on OSX and yours is the first that works and was simple to set up.
I've tried it once and fed it a PGN file and it generated this basically
I'm trying to make sense of what I'm seeing here. I intend to consume this data programatically and not just copy/pasting it into a PGN reader
The first part I'm confused about is.. what does do exactly? It seems like it goes through the whole game and makes note of missed opportunities.. on both sides?
Is that right? What if I only want to see missed opportunities from one side's perspective.. such as from white's perspective.. is there an option for that?
Then I note that there are
$2, $4 and $6
Are those suppose to represent
inaccuracies, blunders.. and something else?
If so.. is there a mapping somewhere that corresponds to the different possible symbols that can be used to signify something like that?Lastly, is it possible to pass it an additional option that would return the score after every single move?
Many thanks for taking the time to educate me, I hope to use your software very soon!