Add detection calibration sweep
This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
## Sprint 124 Detection calibration sweep tooling (2026-07-07)
|
||||
|
||||
Changed:
|
||||
- Added `scripts/run_detection_calibration_sweep.sh` as an operator-facing confidence-threshold sweep for the configured-YOLO real-data path.
|
||||
- The sweep reuses `scripts/verify_real_data_detection_qa_workflow.sh` once per threshold, so each row is backed by persisted Project, Dataset, AnalysisRun, Detection, QualityCheck, Metric and export records.
|
||||
- The sweep fetches project `quality-checks` after each run and writes per-threshold summaries plus `calibration_summary.json` with detection count, QA score, precision, recall, F1, mean IoU, matches, false positives and false negatives.
|
||||
- Registered the sweep in `scripts/run_readiness_check.sh` as a syntax check.
|
||||
- Added regression coverage in `backend/tests/test_sprint124_detection_calibration_sweep.py`.
|
||||
- Updated `scripts/README.md`, `backend/README.md`, `docs/AI_PIPELINES.md`, `docs/TODO.md` and `CHANGELOG.md`.
|
||||
|
||||
Validation:
|
||||
- RED: `python -m pytest backend/tests/test_sprint124_detection_calibration_sweep.py -q` failed because `scripts/run_detection_calibration_sweep.sh` did not exist.
|
||||
- `python -m pytest backend/tests/test_sprint124_detection_calibration_sweep.py -q` passed.
|
||||
- `bash -n scripts/run_detection_calibration_sweep.sh` passed.
|
||||
- `bash scripts/run_detection_calibration_sweep.sh --help` passed.
|
||||
- Missing-input guard printed usage and did not start a live workflow.
|
||||
|
||||
Open:
|
||||
- Run the sweep on Tower with the Geel operator sample and record the observed threshold metrics.
|
||||
|
||||
Limitations:
|
||||
- The sweep is intentionally mutating and creates one real workflow run per threshold.
|
||||
- It is calibration tooling only; it does not change inference, add model downloads, fetch providers, seed demo detections or change API/UI behavior.
|
||||
|
||||
Next recommended pass:
|
||||
- Run the Tower sweep for the current Geel sample, then repeat on additional operator-provided orthophoto/reference samples before choosing V1 default confidence/IoU guidance.
|
||||
|
||||
## Sprint 123 YOLO class and tile CRS normalization (2026-07-07)
|
||||
|
||||
Changed:
|
||||
|
||||
Reference in New Issue
Block a user