changed grader_spec to eliminate deprecation warnings about specific error