Files
geointel/frontend/src/components/detection/detectionProfiles.ts
T
Codex b1a4074cc8
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Add guarded promoted YOLO activation
2026-07-11 10:45:06 +02:00

48 lines
1.7 KiB
TypeScript

export interface DetectionOperatorProfile {
id: string
displayName: string
modelAssetId: string
confidenceThreshold: number
defaultApproved: boolean
promotionRecommendation: 'none' | 'promote_candidate'
precision: number
recall: number
f1: number
maxBackgroundDetections: number
description: string
limitationMessage: string
}
export const DETECTION_OPERATOR_PROFILES: DetectionOperatorProfile[] = [
{
id: 'balanced-review',
displayName: 'Balanced review',
modelAssetId: 'geointel-building-yolov8s-aoi1024bg512r3e50-pt',
confidenceThreshold: 0.15,
defaultApproved: false,
promotionRecommendation: 'none',
precision: 0.636639,
recall: 0.424258,
f1: 0.5074022485589402,
maxBackgroundDetections: 46,
description: 'Best positive-AOI F1 profile for deliberate operator review of the inactive AOI1024 model asset.',
limitationMessage:
'Candidate only because pure-empty false-positive pressure still blocks default promotion on the background gate.',
},
{
id: 'conservative-review',
displayName: 'Promoted conservative review',
modelAssetId: 'geointel-building-yolov8s-aoi1024bg512r3e50-pt',
confidenceThreshold: 0.35,
defaultApproved: true,
promotionRecommendation: 'promote_candidate',
precision: 0.840006,
recall: 0.202135,
f1: 0.32086574003576274,
maxBackgroundDetections: 0,
description: 'Promoted high-precision profile for demos or review sessions where fewer false positives matter more than recall.',
limitationMessage:
'Default-approved after the split-background pure-empty gate passed; sparse-context detections remain review-only evidence.',
},
]