Spaces:
Running
Running
File size: 588 Bytes
877add7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """Canonical evaluation runner for all evaluation bundles."""
from __future__ import annotations
from pathlib import Path
from app.evaluation.benchmark_report import build_benchmark_report
from app.evaluation.plotting import generate_training_plots
def run_all(root: Path) -> dict[str, object]:
reports_dir = root / "outputs" / "reports"
report = build_benchmark_report(reports_dir / "benchmark_report.txt")
plots = generate_training_plots(report_dir=reports_dir, plot_dir=root / "outputs" / "plots")
return {"report": report, "plots": plots}
__all__ = ["run_all"]
|