From e4bc3c5ce64b41aae460b67051fe7334c8932c74 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Sun, 22 Mar 2026 12:07:56 -0400 Subject: [PATCH] fix: use project root not routes/ for results_dir and reports_dir in coach --- routes/coach.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/coach.py b/routes/coach.py index 9ac7ead..74e6de8 100644 --- a/routes/coach.py +++ b/routes/coach.py @@ -657,7 +657,7 @@ async def coach_generate_reports(): """Rebuild all deck reports from batch result JSONs in results/.""" try: from coach.report_generator import generate_deck_reports - lab_root = Path(__file__).parent + lab_root = Path(__file__).parent.parent results_dir = str(lab_root / CFG.results_dir) reports_dir = str(lab_root / "deck-reports") updated = generate_deck_reports(results_dir, reports_dir)