0810-stepwise-land-rows-reach-their-classes met
- Issue
- #810
- Stated in
- expectations/0810-stepwise-land-rows-reach-their-classes.json
- Graded against
- Statuses are those of the build recorded on 2026-11-24 07:55 UTC (run 20261124T0755302069730000, merging ecoinvent-3.13, ecoinvent-3.12, ecoinvent-3.8, bafu-2026-v1, stepwise-2006-1.09, agribalyse-3.2).
Why this file exists
Four source lists ship a row for land occupied by a building site, and all four spell it the same way. Three of them reached the flow this list already publishes for it; Stepwise 2006 made a new one, named the way Stepwise writes it rather than the way this list does.
A land row does not say what it is in a way an algorithm can read: Occupation, construction site is a building site and Occupation, heterogeneous, agricultural is an agricultural mosaic, and no rule derives the second from its name. So the class is curated, one row per vendor flow, in land-flow-classes.json, and the merge looks the row up by the list it came from and the flow's identifier. Stepwise was registered in #164 and merged from #169, and no row of it was in that file -- so every land row of Stepwise's missed the curated route and fell through to name matching.
On the four-list build of 2026-08-29 (20260829T1158418340740000) that cost 35 new flows out of 41 land rows, and the damage was not only the duplicates: the new flows carry a *vendor's* spelling, the lookup matches on names, and so a caller asking where ecoinvent's Occupation, construction site belongs was answered with Stepwise's new flow while the build had put that row on EF's Construction site. lookup.land_class.other_flow -- #328's standing claim that a land row the lookup cannot classify is declined rather than guessed at -- read 33 against 0 on every build before Stepwise merged, and all 33 name one of ten flows Stepwise minted.
Stepwise's rows are curated here: 28 of the 41, which is every one whose name the land-class axes can read. Twenty-five of those reach a class another list already ships, and three are classes new to the file. The remaining 13 name the state the land was in before -- sealed, on grassland, forest, on arable land, accelerated denaturalisation, primary forest to intensive forest -- which no axis in domain/land_use.py has a word for. They go on being published under Stepwise's own spelling, and are recorded as such in tests/data/observed-land-classes.json's unparsed list rather than left silent.
Expectations
5| What should be true | State | About |
|---|---|---|
|
Stepwise's building-site row reaches the building-site flow the list already publishes
0810-the-construction-site-row-reaches-the-flow-the-list-has
The row the issue is named for. On the build of 2026-08-29 it was |
met |
source_row
list: stepwise
uuid: 95f8ed6d-0c05-56d4-92ad-c5704605838a
|
No flow is published as Occupation, Construction Site
0810-no-building-site-flow-under-stepwises-spelling
The duplicate itself, named the way it was published rather than by its identifier, because what has to stop is a *vendor's* spelling being a published flow name in |
met |
flow
name: Occupation, Construction Site
|
No flow is published as Occupation, Industrial Area
0810-no-industrial-area-flow-under-stepwises-spelling
The worst of the ten by how many rows it misdirected: five of the 33 disagreements the lookup reports are ecoinvent's and BAFU's |
met |
flow
name: Occupation, Industrial Area
|
|
The Stepwise land rows that already reached their flow now reach it by their class
0810-the-rows-that-matched-by-name-now-match-by-class
Six of Stepwise's 41 land rows did find the flow the list already had, by name -- |
met |
source_row
list: stepwise
uuid: 7b76ef56-ecaf-5bf2-808f-4b1be6ed335c
|
|
The Stepwise rows naming the land's previous state keep a flow of their own
0810-the-thirteen-that-name-a-previous-state-are-still-published
Stated so that what this change does *not* do is a claim somebody can run rather than a sentence in a pull request. Thirteen of Stepwise's land rows name the state the land was in before it was paved or planted -- a square metre of paving that was grassland costs 0.7 in Stepwise's |
met |
flow
name: Occupation, Sealed, On Grassland
|