MCPcopy Create free account
hub / github.com/EternityJune25/ComoRAG / __init__

Method __init__

script/eval_qa.py:73–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 metric_name: str = "qa_f1_score"
72
73 def __init__(self):
74 self.logger = get_logger(__name__)
75
76 def calculate_metric_scores(self, gold_answers: List[List[str]], predicted_answers: List[str], aggregation_fn: Callable = np.max) -> Tuple[Dict[str, float], List[Dict[str, float]]]:
77 """

Callers

nothing calls this directly

Calls 1

get_loggerFunction · 0.70

Tested by

no test coverage detected