Skip to content

EC-EE: require only what the source actually fills - #247

Merged
ivorbosloper merged 2 commits into
mainfrom
split/ec_ee
Sep 14, 2026
Merged

ivorbosloper merged 2 commits into
mainfrom
split/ec_ee

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

missing_schemas marked properties required that the release does not fill for every parcel, so the conversion died at write time, one column per run, after the whole file had been read. Also names the shapefile inside the archive and migrates the year column the release actually has.

A 100-row fixture cannot catch this: check the whole source (gpd.read_file(...).isna().sum()) rather than peeling columns one run at a time.

The converter's missing_schemas marked properties as required that the release
does not fill for every parcel, so the conversion failed at write time — one
column per run, after the whole file had been read.

Checking this needs the whole source rather than the 100-row fixture: a column
the source only sometimes fills passes the test and fails the full run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
@ivorbosloper
ivorbosloper merged commit e8424dc into main Sep 14, 2026
7 checks passed
@ivorbosloper
ivorbosloper deleted the split/ec_ee branch September 14, 2026 10:14
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.

2 participants