0588-a-substance-record-holds-one-thing met
- Issue
- #588
- Stated in
- expectations/0588-a-substance-record-holds-one-thing.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 substance records each held two different things, and one substance was published under a class name (#116). The carbon released to soil and air shared a record with the carbon held in soil and biomass stocks; rhenium ore shared a record with the dissolved rhenium ion; EF's 100-year biogenic CO2 accounting flow shared a record with plain biogenic CO2 -- which had let the duplicate pass deprecate EF's own plain uptake flow into the accounting variant, so ecoinvent's ordinary uptake row followed the redirect into 100-year semantics; five flows EF names Water sat on Water vapour under the vendor's word while the curated material file had already said they are vapour; and the refrigerant HFO-1234yf was published as Polyhaloalkene, the family it belongs to. Each had a mechanism waiting: the carbon and rhenium splits are separate rulings in contested-cas-decisions.json, the CO2 variant is an origin qualifier like the delayed-emission corrections beside it, the water names are an approve ruling in preferred-label-decisions.json, the rename is a manual fix with the class word kept off the synonyms by the chemical_classes list, and one ecoinvent row that had reached the stock only through the now-withdrawn registry number gets the match override its own vendor's mapping implies. Measured against a full build of main at 96ccee9 and a full build of this branch, 19 August 2026 -- EF 3.1 base, ecoinvent 3.12, ecoinvent 3.8 and BAFU 2026 v1 merged. Substance identifiers named below are the minted, content-derived ids of those builds; a change to the id derivation moves them and the comment records where they came from.
Expectations
12| What should be true | State | About |
|---|---|---|
|
EF's stock flow sits on the stock substance, not on the element
0588-the-carbon-stock-is-its-own-substance
EF's |
met |
flow
uuid: 26f9293f-8c18-4f3b-a334-e57a8ecda895
|
|
Elemental carbon keeps its seven release flows and loses the stock
0588-elemental-carbon-keeps-its-releases
8 flows on the before build, the eighth being the stock. The seven releases -- EF's five, BAFU's two additions -- are untouched: the ruling separates names, and every release row is named plain |
met |
substance
label: Carbon
cas: 7440-44-0
|
|
ecoinvent's stock ledger rows reach the stock substance, under its own name
0588-ecoinvents-stock-rows-reach-the-stock
Three rows: 3.12's Decrease, which the vendor's own correspondence table sends to EF's stock flow; 3.8's direction-less row, prepared likewise; and 3.12's Increase, which is absent from the vendor's table and had reached the stock only through the shared registry number -- the very evidence the |
met |
source_row
list: ecoinvent
name_contains: In Soil Or Biomass Stock
|
|
BAFU's stock row reaches the same flow instead of minting a twin
0588-bafus-stock-row-joins-them
On the before build this row minted a flow and a substance of its own -- the element object answering to the name |
met |
source_row
list: bafu
name: Carbon, Organic, In Soil Or Biomass Stock
|
|
The rhenium taken out of the ground is the metal, not the ion
0588-rhenium-the-metal-is-its-own-substance
On the before build no substance named |
met |
substance
label: Rhenium
|
|
The rhenium ion keeps its thirteen emission flows
0588-the-ion-keeps-its-thirteen
14 on the before build, the fourteenth being the resource flow. The thirteen are EF's |
met |
substance
label: Rhenium(2+)
|
|
The 100-year biogenic CO2 accounting flow is a substance of its own
0588-the-100yr-accounting-flow-is-its-own-substance
An accounting variant, like the two delayed-emission correction substances beside it, and until the |
met |
substance
label: Carbon Dioxide (biogenic-100yr)
|
|
EF's own plain biogenic uptake flow is alive again
0588-plain-biogenic-co2-loses-the-variant
EF 3.1's |
met |
flow
uuid: da174fac-e567-42d3-99b5-a688913dc88e
include_deprecated: yes
|
|
ecoinvent's CO2-from-air uptake row still follows ecoinvent's own correspondence
0588-ecoinvents-uptake-keeps-its-own-mapping
ecoinvent's correspondence table has said |
met |
source_row
list: ecoinvent
name: Carbon dioxide
context: ["natural resource","in air"]
|
|
The one substance-label conflict is ruled, and the queue is empty
0588-the-water-ruling-empties-the-queue
1 on the before build: |
met |
measure
key: queue.substance-label-conflict
|
|
No flow is left disagreeing with its substance about the name
0588-no-label-conflict-remains
5 on the before build -- the five water flows, the one conflict the queue held. With the ruling written the queue is empty and every published flow carries its substance's name. Zero is claimed exactly, not bounded: the next conflict should fail this expectation and be ruled or split, not absorbed. |
met |
measure
key: flows.label_disagrees_with_substance
|
|
CAS 754-12-1 is published under Common Chemistry's name, not the family word
0588-the-refrigerant-is-named-for-the-member-not-the-family
Published as |
met |
substance
cas: 754-12-1
|