0128-flow-labels-follow-the-substance met
- Issue
- #128
- Stated in
- expectations/0128-flow-labels-follow-the-substance.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
A published flow is called what its substance is called. The name of a substance is written twice -- on the flow object, where every correction lands, and on each of its flows, which is what the export publishes -- and until substance_label_v1 nothing carried a correction from the first copy to the second. On the build of 19 August 2026 at commit b9ef40b (EF 3.1 base with ecoinvent 3.12, ecoinvent 3.8 and BAFU 2026 v1 merged) 886 published flows carried a name their own substance had superseded, and 149 substances appeared in the export under two different names at once. These expectations pin one substance per family of the defect: a metal ion whose thirteen flows split between EF 3.1's roman-numeral spelling and the substance's, a land class renamed by #66 whose flow kept the old name, and a ruled name (#313) that eleven flows carried and a twelfth spelled differently. The bound at the end is the guard: the count of disagreeing flows must not climb back, whichever pass causes it. The known conflations that a rename would silently bury are excluded from the fix by the substance-label-conflict queue and are tracked in #116.
Expectations
5| What should be true | State | About |
|---|---|---|
|
Mercury's ionic flows all carry the substance's spelling
0128-the-ion-spelling-is-the-substances
On the build of 19 August 2026 the substance |
met |
flow
name: Mercury(2+)
|
|
The roman-numeral spelling no longer names any published flow
0128-the-ion-old-spelling-is-not-a-name
The other half of the same claim, stated separately because a rename that copied the new name onto some flows and left others would meet the first expectation's count only by accident. 13 flows carried this spelling on the build of 19 August 2026. The demoted spelling survives as a synonym on each flow, which no expectation kind can claim; tests/test_substance_labels.py pins it. |
met |
flow
name: Mercury (ii)
|
|
The land transformation renamed by #66 is published under its new name
0128-the-land-class-rename-reaches-the-flow
#66 named this class from its fields -- cropland, irrigated, held extensively -- and the substance took the name while its one flow kept EF 3.1's |
met |
flow
name: From cropland, irrigated, extensive
|
|
HC Blue No. 1's fourteenth flow carries the ruled name like the other thirteen
0128-the-ruled-name-covers-every-flow
#313 ruled the capitals into the name. On the build of 19 August 2026 the substance carried the ruling and twelve of its thirteen flows did; the indoor-air flow the merge added published |
met |
substance
cas: 2784-94-3
|
|
Few published flows disagree with their substance about the name, and each one left is queued or ruled
0128-disagreement-does-not-climb-back
391 on the build of 19 August 2026, counting past case and punctuation the way label rulings do. On a full build of the same inputs on this branch the base pass repaired 951 labels (440 renames, 511 respellings) and the merges added none back: 5 flows remain, all of them the one |
met |
measure
key: flows.label_disagrees_with_substance
|