0863-curated-water-and-land-answer-by-name met
- Issue
- #863
- Stated in
- expectations/0863-curated-water-and-land-answer-by-name.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
Which kind of water a row is, and which land class, are curated one vendor row at a time in water-flow-materials.json and land-flow-classes.json, keyed on the vendor's row identifier. A caller asking through the lookup has no identifier, so until #358 those rows came back as twelve kinds of water or nothing at all -- while every row of both tables also records the vendor's spelling. The lookup now consults both tables under the row's prepared name, declining any name the tables read two ways that the caller's compartment cannot split, and a value the caller states themselves still wins.
Measured by replaying every recorded row of the build through the lookup, which is what the lookup.* measures are. On the build of 30 August 2026 (20260830T1046047189150000, merge 0cd2b4cd0385426eb9c898a7494e6e0f) the land rows went from 93 answered and 332 declined to all 425 answered, and the water rows from 201 answered and 125 declined to 309 answered and 17 declined -- the 17 being names like Water, unspecified natural origin asked in a compartment that does not say whether the water came from the ground or the surface, which is a decline the tables themselves would make. Nothing moved to a wrong flow: the other_flow counts for both buckets were zero before and must stay zero, because the join may add ways for a row to match and must never move one.
Expectations
4| What should be true | State | About |
|---|---|---|
|
Every land row the build classified is answered by the lookup without a uuid, except the six classes only a build can mint
0863-every-recorded-land-row-answers-by-name
332 of 425 declined before the name join; no two of the land table's 1,316 rows disagree about a name, so the name alone answers all of them. A new list whose land rows are not yet in land-flow-classes.json will push this back up, and that is the signal #174 already established: the rows need curating, not the join loosening.
Six on the first five-list full build (2 September 2026, |
met |
measure
key: lookup.land_class.declined
value_when_absent: 0
|
|
No land row the build classified is placed on a different flow by the lookup
0863-no-land-row-moves-to-another-flow
The join may add ways for a row to match and must never move one. |
met |
measure
key: lookup.land_class.other_flow
value_when_absent: 0
|
|
The water rows the build typed by material are answered by the lookup without a uuid
0863-most-recorded-water-rows-answer-by-name
309 of 326 on the 30 August 2026 build, from 201 before the name join. The residue is rows like |
met |
measure
key: lookup.material.same_flow
|
|
No water row the build typed by material is placed on a different flow by the lookup
0863-no-water-row-moves-to-another-flow
Zero before the join and zero after it. |
met |
measure
key: lookup.material.other_flow
value_when_absent: 0
|