MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / main

Function main

experiments/benchmark/evaluate_benchmark_predictions.py:202–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201
202def main() -> int:
203 args = parse_args()
204 metrics = evaluate(args.benchmark_dir, args.predictions)
205 text = json.dumps(metrics, ensure_ascii=False, indent=2)
206 if args.output:
207 args.output.parent.mkdir(parents=True, exist_ok=True)
208 args.output.write_text(text + "\n", encoding="utf-8")
209 print(text)
210 return 0
211
212
213if __name__ == "__main__":

Calls 2

evaluateFunction · 0.85
parse_argsFunction · 0.70

Tested by

no test coverage detected