MCPcopy Create free account
hub / github.com/Alibaba-NLP/ViDoRAG / eval_overall

Method eval_overall

eval.py:145–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 return self.output_file_path
144
145 def eval_overall(self):
146 data = []
147 with open(self.output_file_path, "r") as f:
148 for line in f:
149 data.append(json.loads(line.strip()))
150 results = eval_search(data)
151 with open(self.output_file_path.replace(".jsonl", "_eval.json"), "w") as f:
152 json.dump(results, f,indent=2,ensure_ascii=False)
153
154 def eval_overall_type_wise(self):
155 data = []

Callers 1

eval.pyFile · 0.80

Calls 1

eval_searchFunction · 0.90

Tested by

no test coverage detected