VoiceGuard Bot commited on
Commit
b933510
·
1 Parent(s): eeaad03

Optimize: Lower Chunk Threshold to 0.90 to fix AI false negatives (relying on Heuristic Override for false positive protection)

Browse files
Files changed (1) hide show
  1. app/core/detector.py +4 -1
app/core/detector.py CHANGED
@@ -182,7 +182,10 @@ class DeepfakeDetector:
182
  is_chunk_ai = False
183
  if "fake" in lbl or "spoof" in lbl or "synthetic" in lbl:
184
  # Strict threshold for indvidual chunks
185
- if scr >= 0.99:
 
 
 
186
  is_chunk_ai = True
187
  chunk_score = scr
188
  else:
 
182
  is_chunk_ai = False
183
  if "fake" in lbl or "spoof" in lbl or "synthetic" in lbl:
184
  # Strict threshold for indvidual chunks
185
+ # REVISED (Phase 8): Lowered from 0.99 to 0.90.
186
+ # 0.99 was too strict, causing false negatives for High-Quality AI (ElevenLabs).
187
+ # We rely on Heuristic Override to protect noisy human files.
188
+ if scr >= 0.90:
189
  is_chunk_ai = True
190
  chunk_score = scr
191
  else: