Files

1.4 KiB

State/capital verification

states.tsv is the canonical 50-row alphabetical dataset. Postal code, full state name, and capital travel together into src/states.c. Geography span index N is always TSV row N; no second alphabetical ordering is introduced. Alaska = Juneau; Hawaii = Honolulu. DC and territories are excluded.

Checked 2026-11-09 against both full lists:

Minnesota is displayed as Saint Paul. Normalization also accepts St. Paul and St Paul, in any case and with repeated or surrounding whitespace.

map-seeds.json documents source SVG interior coordinates, replacing outside callout-label positions for small Northeast states. The conversion asserts that each seed is land and is in a distinct connected state region. Detached land is assigned to its nearest identified region, with explicit geographic rules for the Alaska/Hawaii inset islands and Michigan's Upper Peninsula. Geometry is a simplified educational map, not a survey or political boundary authority.

map-manifest.json records source region sizes, per-view dimensions, source crop bounds and per-state pixel coverage. tests/check_assets.py checks all 50 identity slots, disjoint span coverage, bounds, and small-state/inset presence. tools/prepare_assets.py reproduces all generated C and previews using only Python's standard library; no SVG is parsed by the CoCo program.