MCPcopy Create free account
hub / github.com/InternScience/SpectrumLab / _calculate_accuracy

Method _calculate_accuracy

spectrumlab/evaluator/base.py:22–23  ·  view source on GitHub ↗
(self, answer: str, prediction: str, item: Dict)

Source from the content-addressed store, hash-verified

20
21 @abstractmethod
22 def _calculate_accuracy(self, answer: str, prediction: str, item: Dict) -> bool:
23 pass
24
25 def evaluate(
26 self,

Callers 2

evaluateMethod · 0.95
evaluate_manyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected