Skip to content

geo data refresh + curated alias fixes (0.1.10) - #16

Merged
jm-rivera merged 1 commit into
mainfrom
geo-data-refresh-0.1.10
Jun 14, 2026
Merged

geo data refresh + curated alias fixes (0.1.10)#16
jm-rivera merged 1 commit into
mainfrom
geo-data-refresh-0.1.10

Conversation

@jm-rivera

Copy link
Copy Markdown
Owner

Rebuilds the bundled geo packs (in-place data refresh) and fixes a set of geo resolution bugs:

  • "Congo, Rep." and the other World Bank short names resolve to the correct country.
  • "Taiwan Province of China" → country/TWN (the competing UN region aggregate is removed).
  • "EU Institutions" → DAC/EUInstitutions instead of the European Union.
  • Adds DAC totals, the Euro Area, an OECD Non-DAC group, and a World entity.

Code: GraphContribution.names_to_delete (delete an alias row, not just suppress re-insertion — suppression leaks on cache-reuse builds); Data Commons discovery cache + transient-5xx retry; Wikidata per-batch cache + QID validation; BYOD overlay composition, bulk(on_missing=...), and intake availability union.

Note: the remote deep tiers (admin2–5, cities) need a separate release_data run to publish refreshed assets. The eval_geo gate is informational in CI (no remote tiers); no regression observed (country-tier accuracy 0.827, recalibration ≥ prior on the same pack).

Bundled-data rebuild fixing geo misresolutions: World Bank short names
("Congo, Rep." etc.), "Taiwan Province of China" -> country/TWN, and
"EU Institutions" -> DAC/EUInstitutions. Adds DAC/Non-DAC aggregates,
the Euro Area, and a World entity.

- GraphContribution.names_to_delete: enrichers can delete an individual
  alias row, not just suppress re-insertion (suppression leaks on
  cache-reuse builds where the staging store accumulates prior output).
- Build resilience: Data Commons discovery cache + transient-5xx retry;
  Wikidata per-batch cache + QID validation; calibrate_geo re-stamps the
  pack metadata calibrator checksum on install.
- BYOD: overlay composition, bulk on_missing for resolved-but-uncoded
  entities, intake availability union.
@jm-rivera
jm-rivera merged commit f2b9973 into main Jun 14, 2026
6 checks passed
@jm-rivera
jm-rivera deleted the geo-data-refresh-0.1.10 branch June 14, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant