feat: add measured detection review loop
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-15 03:00:08 +02:00
parent 94ecd377b7
commit d22abe8e7b
27 changed files with 1578 additions and 29 deletions
+17
View File
@@ -708,6 +708,23 @@ curl http://localhost:1202/api/v1/projects/{project_id}/quality-checks
The frontend QA/QC Results panel uses this endpoint after loading the demo
workflow or running QA.
Detection QA evidence can be reviewed without changing its persisted metrics:
```bash
curl "http://localhost:1202/api/v1/projects/{project_id}/quality-checks/{quality_check_id}/reviews?reviewed=false&limit=50"
curl -X POST "http://localhost:1202/api/v1/projects/{project_id}/quality-checks/{quality_check_id}/reviews" \
-H "Content-Type: application/json" \
-d '{"evidence_role":"false_positive","evidence_feature_id":"DETECTION_UUID","decision":"qa_alignment_mismatch","notes":"Box and footprint represent the same building."}'
```
The list is derived from persisted quality-check evidence and paginates at a
maximum of 200 rows. The upsert verifies project ownership, quality-check type,
role-specific decisions and persisted Detection/VectorFeature ownership.
`detection_reviews` never mutates model output, reference geometry or canonical
Metric rows. Evidence GeoJSON queries only stored evidence ids instead of a
complete regional GRB dataset.
### Export foundation
Persisted exports can be created from the existing workbench state: