EvalResults
Returned byEvalRunner.run(). Contains per-model results and aggregate comparisons.
.compare(metric_name=None)
Return a formatted comparison table as a string. Uses the first metric if none specified.
.summary()
Return a dict of per-model aggregate stats (mean score, stdev, latency, token usage).
.to_dataframe()
Convert the summary to a pandas DataFrame for further analysis.
.to_json(path=None)
Export full results (summary + per-sample data) as JSON. Returns the JSON string.
Properties
ModelResult
Per-model results accessible viaresults.model_results["label"].