You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/TODO.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Short running list of in-progress / upcoming work. Edit freely; trim older compl
12
12
-*Overture release* — `scripts/overture/download.py` already resolves a concrete release (pinned or auto-detected) inside `download_overture_snapshot`; currently only the `.parts/<release>/` directory records it and `.parts/` is deleted on success. Surface the resolved release by writing `~/data/openpois/snapshots/overture/<version>/download_metadata.json` with `{"release": "2026-04-15.0", ...}` before the cleanup step. `_resolve_overture_release` reads that file ahead of the `.parts/` heuristic.
13
13
-*Turnover-model commit* — `scripts/models/osm_turnover.py` should capture `git rev-parse HEAD` at training time and either (a) extend `config.write_self("model_output")` to include a `git_commit` entry or (b) drop a `git_commit.txt` next to the model artifacts. `_resolve_model_commit` reads that value instead of the publish-time HEAD, which is the right fingerprint if code has changed between training and publishing.
14
14
- Publishing behaviour: if any of the three files is missing, keep the current fallback (and print a visible warning) so old pipeline runs still publish cleanly.
15
+
-[ ]**DuckDB `ST_Distance_Sphere` returns wrong distances in v1.4.1.** Added 2026-05-19. The bundled spherical distance is off by ~25 % at continental scale (NYC → LA registers as ~4,900 km vs the correct ~3,940 km) and similarly inflated at small scales (a Seattle 65 m pair reads as 43 m). [src/openpois/conflation/change_detection.py](../src/openpois/conflation/change_detection.py) used to depend on it for the R1 current-OSM-survivor filter and silently produced ~4 spurious suppressions per Seattle run as a result; the implementation has been switched to a sklearn BallTree haversine query. Any *new* use of `ST_Distance_Sphere` anywhere in the pipeline should be audited — prefer BallTree or shapely-on-projected-CRS. Tracked separately from the WSL2 httpfs pin below; both should be revisited when we bump DuckDB.
15
16
-[ ] Watch for a DuckDB release that fixes the WSL2 httpfs "Information loss on integer cast" crash (issue #21669, fix PR #21395). Once a tagged release ships with the fix and a full `scripts/overture/download.py` run on WSL2 completes, we can unpin from `duckdb==1.4.1` and revert the per-part download to a single-query DuckDB scan. Added 2026-04-17.
16
17
-[ ] Auto-check taxonomy changes whenever we switch to a new Overture Maps version (detect new/removed L0/L1/L2 categories vs. `taxonomy_crosswalk_overture_maps.csv` and flag gaps). Added 2026-04-16.
17
18
-[ ] Watch for Overture L0/L1 → flat `basic_category` migration (~June 2026). Crosswalk CSV + `assign_overture_shared_label` will need updating. See [docs/taxonomy-setup.md](docs/taxonomy-setup.md).
0 commit comments