fix: use project root not routes/ for results_dir and reports_dir in coach

This commit is contained in:
KoalaTrapLord authored and GitHub committed 2026-03-22 12:07:56 -04:00
1 parent d3c9e293d8
commit e4bc3c5ce6
1 file changed
+1 -1
+1 -1
View File
@@ -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)