MCPcopy Create free account
hub / github.com/WorldModelBench-Team/WorldModelBench / save_results

Function save_results

evaluation.py:190–193  ·  view source on GitHub ↗

Save evaluation results to a file.

(results: Dict, save_path: str)

Source from the content-addressed store, hash-verified

188
189
190def save_results(results: Dict, save_path: str):
191 """Save evaluation results to a file."""
192 dump(results, save_path, indent=4)
193 Console().print(f"[green]Results saved to: {save_path}[/green]")
194
195class RichLogHandler(logging.Handler):
196 """Custom logging handler that uses Rich for formatting."""

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected