score and gtol are undefined according to pylint or eclipse.pydev