cleanup: remove dead code and duplicate docs
- Remove session-ses_2f27.md (161KB raw session log) - Remove 49 ROOT_* duplicate files across REFERENCE/ - Remove 14 duplicate files between REFERENCE/ root and history/ - Remove asr_legacy.rs (dead code, replaced by asr.rs) - Remove src/core/worker/ (duplicate JobWorker) - Remove src/core/layers/ (empty directory) - Remove 4 .bak files in src/ - Remove 7 dead private methods in worker/processor.rs - Remove backup directory from git tracking
This commit is contained in:
@@ -23,7 +23,7 @@ import signal
|
||||
import platform
|
||||
import psutil
|
||||
from datetime import datetime, timezone
|
||||
from typing import Dict, Any, Optional, List, Tuple
|
||||
from typing import Dict, Any, List
|
||||
from pathlib import Path
|
||||
import traceback
|
||||
|
||||
@@ -606,7 +606,7 @@ class ASRBenchmarkRunner:
|
||||
metrics = result.get('metrics', {})
|
||||
real_time = result.get('real_time', {})
|
||||
|
||||
lines.append(f"- **Status**: Success")
|
||||
lines.append("- **Status**: Success")
|
||||
lines.append(f"- **Start**: {real_time.get('test_start', 'N/A')}")
|
||||
lines.append(f"- **End**: {real_time.get('test_end', 'N/A')}")
|
||||
lines.append(f"- **Duration**: {metrics.get('processing_time_seconds', 0):.3f}s")
|
||||
@@ -615,7 +615,7 @@ class ASRBenchmarkRunner:
|
||||
lines.append(f"- **Memory Peak**: {metrics.get('peak_memory_mb', 0):.1f}MB")
|
||||
lines.append(f"- **Language**: {metrics.get('language_detected', 'N/A')} ({metrics.get('language_probability', 0):.2f})")
|
||||
else:
|
||||
lines.append(f"- **Status**: Failed")
|
||||
lines.append("- **Status**: Failed")
|
||||
lines.append(f"- **Error**: {result.get('error', 'Unknown error')}")
|
||||
|
||||
lines.append("")
|
||||
@@ -680,7 +680,7 @@ def main():
|
||||
runner.generate_results_json()
|
||||
runner.generate_markdown_report()
|
||||
|
||||
print(f"\nBenchmark completed!")
|
||||
print("\nBenchmark completed!")
|
||||
print(f"Results: {output_dir / 'asr_benchmark_results.json'}")
|
||||
print(f"Report: {output_dir / 'asr_benchmark_report.md'}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user