From 2466f1253a30d2ccede5e7c83407b3c98055ebc3 Mon Sep 17 00:00:00 2001 From: second_constantine Date: Thu, 22 Jan 2026 20:20:46 +0300 Subject: [PATCH] feat: remove timestamp from report filenames for consistency Previously, report filenames included a timestamp (e.g., `benchmark_20231015_143022.md`), which caused issues when regenerating reports as it would create duplicate files. The timestamp is no longer included in the filenames to ensure consistent naming and avoid overwriting conflicts. This change affects both benchmark and summary report generation in `src/utils/report.py`. --- src/utils/report.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/utils/report.py b/src/utils/report.py index 4211be7..77788ef 100644 --- a/src/utils/report.py +++ b/src/utils/report.py @@ -28,8 +28,7 @@ class ReportGenerator: output_dir = model_dir os.makedirs(output_dir, exist_ok=True) - timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") - filename = f"{results['benchmark_name']}_{timestamp}.md" + filename = f"{results['benchmark_name']}.md" file_path = os.path.join(output_dir, filename) with open(file_path, 'w', encoding='utf-8') as f: @@ -170,8 +169,7 @@ class ReportGenerator: output_dir = model_dir os.makedirs(output_dir, exist_ok=True) - timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") - filename = f"summary_{timestamp}.md" + filename = f"summary.md" file_path = os.path.join(output_dir, filename) with open(file_path, 'w', encoding='utf-8') as f: