pub const AI_MAGIKA_CONFIDENCE_THRESHOLD: f32 = 0.50;Expand description
Default Magika ML confidence threshold for the confidence gate in
MagikaRouter::classify_file() and media_meta::extract_metadata().
At or above this score, Magika’s classification is trusted directly.
Below this score, the gate checks whether the file extension is in
MAGIKA_KNOWN_EXTENSIONS: if yes, trust Magika; if no, fall back
to extension-based ContentRouter.
Configurable via [ai.enrichment] magika_confidence_threshold in
foxingd config. CLI fxcp enrich uses this constant as the default.