feat: add measured detection review loop
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user