feat(accuracy): complete phase 3 data scan and quarantine

This commit is contained in:
Jens
2026-08-02 01:06:35 +02:00
parent 41f8a54236
commit 7b92e29e49
13 changed files with 37368 additions and 6 deletions
+30
View File
@@ -12361,3 +12361,33 @@ Open:
disposable environment, but Phase 2 remains **in progress** and Phase 3 is
**not ready**. No training, protected-test release, promotion, national
validation or production migration is authorized by this result.
## 2026-08-02 - Accuracy Improvement Program Phase 3 full data scan
### Implemented and verified scope
- Added `scripts/run_accuracy_phase3_full_data_scan.py`, a read-only,
SHA-256-bound and batch-resumable scanner for the configured local GeoIntel
roots. It validates GeoJSON geometry/bounds, GeoTIFF readability/CRS/
resolution/nodata, manifests, YOLO labels and generic immutable artefacts.
- Retained full scan, anomaly, logical quarantine, duplicate, leakage,
source-freshness, dataset-summary and checkpoint manifests under
`artifacts/evidence/accuracy/P3/`. Three known external boundaries are
explicitly represented as unreachable; no source file was removed or
overwritten.
- Added a deterministic fixture test covering valid/invalid GeoJSON, corrupt
raster input, exact duplicates, quarantine and a byte-stable resumed replay.
### Evidence and decision
- The scan processed 295 local files and recorded 3 unreachable scope items;
`295 + 0 skipped + 3 unreachable = 298` reconciles exactly. Two consecutive
runs produced scan ID `p3-46ee3f8d3a2dc52b` and content hash
`1a219362c6cb2ac00489625f1a9b36e2fd4809ab58ee55ab1f67c3cc34773f3e`.
- 172 anomalies were retained and 163 affected items were logically
quarantined. The P1 split inventory (24 AOI pairs below 2 km and no proven
split independence) remains an explicit leakage attention signal.
- Phase 3 is **done for the bounded project environment** and Phase 4 is
**ready** for remediation/review. This does not unlock training, promotion,
national validation or production release; those gates remain governed by
the execution contract and the incomplete Phase 2 gates.