Support browser calibration summaries in evidence export
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
## Sprint 137 Browser calibration summary evidence bundle handoff (2026-07-08)
|
||||
|
||||
Changed:
|
||||
- Extended `scripts/export_detection_calibration_evidence.sh` so it can consume Detection Lab `detection-calibration-summary.json` browser exports as well as the existing operator `calibration_summary.json` format.
|
||||
- Added summary normalization for browser-exported `rows`, root `project_id`, persisted `quality_check_id` values and `CALIBRATION_EVIDENCE_MODE=best` fallback selection.
|
||||
- Updated `scripts/README.md`, `CHANGELOG.md` and `docs/TODO.md`.
|
||||
- Added regression coverage in `backend/tests/test_sprint137_browser_calibration_summary_evidence_script.py`.
|
||||
|
||||
Tested:
|
||||
- Red step: `python -m pytest backend\tests\test_sprint137_browser_calibration_summary_evidence_script.py -q` failed while browser summary support was absent.
|
||||
- `python -m pytest backend\tests\test_sprint137_browser_calibration_summary_evidence_script.py backend\tests\test_sprint136_calibration_summary_export_ui.py backend\tests\test_sprint125_detection_calibration_evidence_bundle.py -q` (`3 passed`)
|
||||
- `bash -n scripts/export_detection_calibration_evidence.sh`
|
||||
- `python -m compileall backend/app`
|
||||
- `bash scripts/run_readiness_check.sh` (`416 passed`; frontend typecheck/build passed; Alembic head `202606120900`; live smoke syntax passed)
|
||||
|
||||
Open:
|
||||
- Live Tower deploy validation still needs to run for this pass.
|
||||
|
||||
Limitations:
|
||||
- This is operator evidence tooling only. It does not add backend endpoints, change migrations, rerun inference, create new QA metrics, promote thresholds, mutate model configuration, download models, add provider fetching or change frontend runtime behavior.
|
||||
|
||||
Next recommended pass:
|
||||
- Add a tiny local fixture smoke for the evidence bundle script that uses a saved browser-style summary plus mocked canonical evidence responses, so the bundle renderer itself is tested beyond static contract checks.
|
||||
|
||||
## Sprint 136 Guided calibration summary export (2026-07-08)
|
||||
|
||||
Changed:
|
||||
|
||||
@@ -423,5 +423,6 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Add guided in-app detection calibration runner for explicit threshold sweeps.
|
||||
- [x] Link guided calibration rows to the QA evidence map.
|
||||
- [x] Add guided calibration summary export from the Detection Lab.
|
||||
- [x] Allow the evidence bundle script to consume Detection Lab calibration summary exports.
|
||||
- [ ] Add more AOIs after the tile-level baseline so the next local model attempt is not limited to Geel/Mol/Turnhout.
|
||||
- [ ] Add negative/background AOIs so the next tile dataset is not all positive tiles.
|
||||
|
||||
Reference in New Issue
Block a user