code: def _is_correct(self, completion, answer):
      gold = self._extract_answer(answer)
      assert (
          gold != INVALID_ANS
      ), "No ground truth answer found in the document."
      return self._extract_answer(completion) == gold
  
file_path: lm-evaluation-harness/lm_eval/tasks/gsm8k.py
imports: import re
  from lm_eval.base import Task, rf
  from lm_eval.metrics import mean
label_desc: Use image node_id 11 for calling the GradeSchoolMath8K obj's underlying member method code with example usage: obj._is_correct(completion, answer) and returns: unknown