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`.
This commit is contained in:
second_constantine 2026-01-22 20:20:46 +03:00
parent 8ef3a16e3a
commit 2466f1253a

View File

@ -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: