0792-one-vendor-name-one-metal met
- Issue
- #792
- Stated in
- expectations/0792-one-vendor-name-one-metal.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
BAFU names a metal in thirteen to fifteen compartments and means the element in all of them. This list publishes twelve or thirteen of those rows as the element and one or two as the ion, and the whole of the difference is one subcompartment: unspecified, in air and in water.
The cause is not a ruling. Eleven BAFU rows carry **two** registry numbers rather than one -- the element's and an ion's -- because the extraction unions what BAFU's own processes wrote, and BAFU's processes do not agree. For Chromium to unspecified water, **122** exchanges in 122 processes write 7440-47-3, one exchange in one process writes 18540-29-9, and nine write no number at all. The merge then reads cas_numbers[0] -- rows.py says in a comment that a source list supplies at most one -- and the five-digit ion numbers sort before 7439- and 7440-, so the single stray exchange decides the substance for all 123.
The correction is the one the extractor was written to expect: it keeps both numbers on purpose, so that a manual fix can choose, and eleven fixes in bafu-2026-v1-manual-fixes.json now do. This is the mirror of #146 -- there BAFU wrote the element's number beside Cadmium II, a name that states the ion, and the name was the half that was right; here BAFU writes the ion's number beside Cadmium, a name that states the element, and the name is again the half that is right, with 97 to 99 per cent of BAFU's own exchanges agreeing with it.
Measured on the build of 2026-08-29 (20260829T0723544328260000, 9718911). Every claim below fails on it: each metal reaches two substances there rather than one.
What it costs in published numbers: nothing. The element and its +2 ion carry the same six factors in Environmental -> Air -> Unknown and Environmental -> Water -> Unknown -- the JRC states chromium in unspecified water at 12,274 CTUe and 5.2671e-05 CTUh, which is exactly what Chromium(6+) carries. This is #146's reason for fixing, unchanged: one name means one thing.
The twelfth ambiguous row is left alone. Sulfur dioxide to unspecified air carries 2025884 beside 7446-09-5, and 2025884 is not a registry number in any format; the row matches on its EC number and reaches Sulfur Dioxide either way, so nothing about the substance is in doubt.
Expectations
9| What should be true | State | About |
|---|---|---|
BAFU's Chromium emitted to unspecified water is published as chromium, not as chromium(VI)
0792-chromium-in-unspecified-water-is-the-element
The row the issue is named for, and the sharpest of the eleven: BAFU's other four chromium-in-water rows -- groundwater, lake, ocean, river -- all reach |
met |
source_row
list: bafu
uuid: 2516d6e7-cccb-5d0e-bd0e-4d9e9e1fb644
|
BAFU's fifteen rows named Cadmium are one substance
0792-bafu-cadmium-is-one-substance
Two before: thirteen rows on |
met |
source_row
list: bafu
name: Cadmium
|
BAFU's thirteen rows named Chromium are one substance
0792-bafu-chromium-is-one-substance
Two before: twelve on |
met |
source_row
list: bafu
name: Chromium
|
BAFU's fifteen rows named Lead are one substance
0792-bafu-lead-is-one-substance
Two before: thirteen on |
met |
source_row
list: bafu
name: Lead
|
BAFU's fifteen rows named Mercury are one substance
0792-bafu-mercury-is-one-substance
Two before: thirteen on |
met |
source_row
list: bafu
name: Mercury
|
BAFU's fourteen rows named Nickel are one substance
0792-bafu-nickel-is-one-substance
Two before: twelve on |
met |
source_row
list: bafu
name: Nickel
|
BAFU's fifteen rows named Zinc are one substance
0792-bafu-zinc-is-one-substance
Two before: thirteen on |
met |
source_row
list: bafu
name: Zinc
|
BAFU's Cadmium II still reaches the cadmium(2+) ion
0792-the-ion-bafu-names-is-still-the-ion
The half this change must not move, and the reason the six claims above are safe: BAFU has a spelling for the ion, and a fix that read every BAFU metal as the element would take this row with it. It is #146's row and it keeps #146's answer. Stated as a claim rather than left to the diff because the two changes pull in opposite directions on the same file, and a later sweep that tidied one of them would break the other silently. |
met |
source_row
list: bafu
name: Cadmium II
|
BAFU's Chromium VI in unspecified water still reaches Chromium(6+)
0792-chromium-vi-in-unspecified-water-is-untouched
The flow the corrected row is leaving, in the compartment it is leaving it in. |
met |
source_row
list: bafu
uuid: b298c2f3-8a93-53e4-a7c8-160cbb3856a9
|