(self, completion, answer)
| 110 | return INVALID_ANS |
| 111 | |
| 112 | def _is_correct(self, completion, answer): |
| 113 | gold = answer |
| 114 | assert gold != INVALID_ANS, "No ground truth answer found in the document." |
| 115 | return self._extract_answer(completion) == gold |
| 116 | |
| 117 | def process_results(self, doc, results): |
| 118 | """Take a single document and the LM results and evaluates, returning a |
no test coverage detected