MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / test_docs

Method test_docs

test/general/lm_eval/tasks/hendrycks_math.py:46–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 return NotImplemented
45
46 def test_docs(self):
47 return map(self._process_doc, self.dataset["test"])
48
49 def _process_doc(self, doc):
50 doc["answer"] = self.remove_boxed(self.last_boxed_only_string(doc["solution"]))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected