Promote expanded building detector profile
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-13 02:21:42 +02:00
parent d02b4e5219
commit 1c16313ae6
7 changed files with 71 additions and 31 deletions
@@ -281,6 +281,7 @@ export function DetectionLab({
<span>precision {profile.precision.toFixed(3)}</span>
<span>recall {profile.recall.toFixed(3)}</span>
<span>F1 {profile.f1.toFixed(3)}</span>
<span>positive AOIs {profile.positiveSampleCount}</span>
<span>max background FP {profile.maxBackgroundDetections}</span>
</div>
<div className="entity-meta">
@@ -519,7 +520,7 @@ export function DetectionLab({
/>
{selectedDetectionModelId === 'yolo-configured' ? (
<span className="field-guidance">
Use an operator profile for the current local YOLOv8s candidate, or enter a threshold manually for calibration.
Use a validated operator profile, or enter a threshold manually for calibration.
</span>
) : null}
</label>
@@ -8,6 +8,7 @@ export interface DetectionOperatorProfile {
precision: number
recall: number
f1: number
positiveSampleCount: number
maxBackgroundDetections: number
description: string
limitationMessage: string
@@ -15,19 +16,20 @@ export interface DetectionOperatorProfile {
export const DETECTION_OPERATOR_PROFILES: DetectionOperatorProfile[] = [
{
id: 'balanced-review',
displayName: 'Balanced review',
modelAssetId: 'geointel-building-yolov8s-aoi1024bg512r3e50-pt',
id: 'expanded-balanced-review',
displayName: 'Recommended balanced review',
modelAssetId: 'geointel-building-yolov8s-aoi1024expandedminpx4vis035e50-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.',
defaultApproved: true,
promotionRecommendation: 'promote_candidate',
precision: 0.6470590036169351,
recall: 0.4699913836847832,
f1: 0.5432865390636915,
positiveSampleCount: 7,
maxBackgroundDetections: 0,
description: 'Recommended expanded-AOI profile for balanced building review across the validated Kempen samples.',
limitationMessage:
'Candidate only because pure-empty false-positive pressure still blocks default promotion on the background gate.',
'Default-approved after the pure-empty gate passed; persistent small-building misses still require operator QA.',
},
{
id: 'conservative-review',
@@ -39,8 +41,9 @@ export const DETECTION_OPERATOR_PROFILES: DetectionOperatorProfile[] = [
precision: 0.840006,
recall: 0.202135,
f1: 0.32086574003576274,
positiveSampleCount: 7,
maxBackgroundDetections: 0,
description: 'Promoted high-precision profile for demos or review sessions where fewer false positives matter more than recall.',
description: 'Legacy high-precision profile for 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.',
},