MCPcopy Index your code
hub / github.com/algorithmicsuperintelligence/optillm / save_result

Function save_result

scripts/eval_math500_benchmark.py:714–719  ·  view source on GitHub ↗

Save a single result to the results file.

(filename: str, result: Dict)

Source from the content-addressed store, hash-verified

712 return []
713
714def save_result(filename: str, result: Dict):
715 """Save a single result to the results file."""
716 results = load_existing_results(filename)
717 results.append(result)
718 with open(filename, 'w') as f:
719 json.dump(results, f, indent=2)
720
721def analyze_results(results: list[Dict]):
722 """

Callers 1

mainFunction · 0.70

Calls 1

load_existing_resultsFunction · 0.70

Tested by

no test coverage detected