extract score method from handleEndOfModule (if module not validated, function is not defined)