From f9007effa3af7dcec1bc1ade06e8718908befbd6 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Mon, 23 Mar 2026 23:05:25 -0400 Subject: [PATCH] rename: update report_generator.py glob from batch- to ml-decision- --- coach/report_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coach/report_generator.py b/coach/report_generator.py index 6482fd4..b66de1f 100644 --- a/coach/report_generator.py +++ b/coach/report_generator.py @@ -38,7 +38,7 @@ def generate_deck_reports(results_dir: str, reports_dir: str = None) -> List[str output_path.mkdir(parents=True, exist_ok=True) # Load all batch results - batch_files = sorted(results_path.glob("batch-*.json")) + batch_files = sorted(results_path.glob("ml-decision-*.json")) if not batch_files: logger.info("No batch result files found in %s", results_dir) return [] @@ -108,7 +108,7 @@ def generate_single_deck_report(batch_json_path: str, reports_dir: str = None) - # Also load existing batch results for comprehensive reports results_dir = Path(batch_json_path).parent all_batches = [] - for bf in sorted(results_dir.glob("batch-*.json")): + for bf in sorted(results_dir.glob("ml-decision-*.json")): try: with open(bf, "r", encoding="utf-8") as f: all_batches.append(json.load(f))