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:
Warren
2026-05-04 01:31:21 +08:00
parent ee81e343ce
commit e75c4d6f07
3270 changed files with 35190 additions and 53367 deletions

View File

@@ -14,7 +14,6 @@ Usage:
import json
import argparse
import numpy as np
from datetime import datetime
import psycopg2
import os
@@ -313,7 +312,7 @@ def analyze_match_results(results):
print(f" Is Match: {r['is_match']}")
if r['strategy'] == 'combined':
print(f" Details:")
print(" Details:")
print(f" Best Match: {r['best_match']:.4f}")
print(f" Vote Ratio: {r['vote_ratio']:.2%}")
print(f" Weighted Sim: {r['weighted_sim']:.4f}")
@@ -408,7 +407,7 @@ def main():
print("❌ No embedding in first face")
return
print(f"\n🔧 Matching first face...")
print("\n🔧 Matching first face...")
match_result = match_face_to_identity(
detected_embedding=embedding,
identity_uuid=identity_uuid,
@@ -419,7 +418,7 @@ def main():
)
if match_result:
print(f"\n✅ Match Result:")
print("\n✅ Match Result:")
print(f" Identity: {match_result['identity_name']}")
print(f" Strategy: {match_result['strategy']}")
print(f" Is Match: {match_result['is_match']}")