Page GRB references for operator samples
This commit is contained in:
@@ -5938,6 +5938,32 @@ Open:
|
||||
|
||||
- Use `yolo-building-tile-uniquehardneg160` as the next safer hard-negative training dataset candidate. Benchmark after training before changing defaults.
|
||||
|
||||
# Sprint 152 - GRB reference paging for operator samples
|
||||
|
||||
## What changed
|
||||
|
||||
- Fixed `scripts/prepare_operator_real_data_samples.py` so GRB GBG reference exports follow OGC API `rel=next` pagination links instead of silently trusting only the first `limit=1000` page.
|
||||
- Added operator controls:
|
||||
- `--reference-page-limit` / `OPERATOR_GRB_PAGE_LIMIT`, default `1000`.
|
||||
- `--reference-max-features` / `OPERATOR_GRB_MAX_FEATURES`, default `100000`.
|
||||
- Generated reference GeoJSON now records `source_urls`, `reference_pages_fetched`, `reference_truncated`, `reference_page_limit` and `reference_max_features`.
|
||||
- Kept the change operator-only: no GeoIntel API route calls this helper, no product provider endpoint changed, no live GRB/OSM import was added, no migration changed and no YOLO model was activated.
|
||||
|
||||
## What was tested
|
||||
|
||||
- RED: `python -m pytest backend\tests\test_sprint131_operator_sample_expansion.py::test_fetch_reference_follows_grb_next_links_until_complete -q` failed because only the first GRB page was persisted.
|
||||
- GREEN: `python -m pytest backend\tests\test_sprint131_operator_sample_expansion.py::test_fetch_reference_follows_grb_next_links_until_complete -q`
|
||||
- `python -m pytest backend\tests\test_sprint127_operator_sample_quality_matrix.py backend\tests\test_sprint131_operator_sample_expansion.py -q`
|
||||
|
||||
## Known limitations
|
||||
|
||||
- Existing Tower AOI1024 artifacts were generated before this fix. Regenerate the operator samples with `--force` before retraining or re-auditing dense AOI labels.
|
||||
- This does not make the Sprint 7B GRB provider a live product importer; it only fixes explicit operator sample preparation.
|
||||
|
||||
## Next recommended pass
|
||||
|
||||
- Regenerate `/app/storage/operator-data/operator-samples-1024` on Tower with the paged script, re-export the AOI1024 YOLO tile dataset, rerun the dataset audit and only then consider another inactive training candidate.
|
||||
|
||||
# Sprint 151 - Runtime GIS upload and AOI1024 YOLO candidate
|
||||
|
||||
## What changed
|
||||
|
||||
Reference in New Issue
Block a user