0627-an-ion-is-named-for-its-charge met
- Issue
- #627
- Stated in
- expectations/0627-an-ion-is-named-for-its-charge.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
This list published Tin(2+) and Tin, ion side by side. They are stannous and stannic tin -- Sn+2 and Sn+4, charges 2 and 4, both stated on the objects themselves -- and a reader could not tell that from the names.
X, ion is not a source list's name. It is ours, and it means "I could not work out the charge": flow_layers.ions reads the charge out of the **label**, so EF's arsenic (v) and ecoinvent's Potassium(1+) come out named for their charge and EF's tin, ion falls back. The charge then arrives anyway -- transformers.enrich_references reads it off PubChem against the registry number, 22537-50-4 being tin(4+) -- and transformers run after the flow layers, so by then the name is written and nothing revisits it. See #128.
Measured on the unbounded build of 21 August 2026 at a00386e.
Expectations
3| What should be true | State | About |
|---|---|---|
The tin(4+) cation is published as Tin(4+), not as Tin, ion
0627-stannic-tin-is-named-for-its-charge
The worked example. |
met |
substance
label: Tin(4+)
|
BAFU's Iron, ion is still published under the name that says its charge is unknown
0627-an-unstated-charge-keeps-the-fallback-name
**The half that stops this guessing, and it is the reason the rule asks for a *stated* charge rather than deriving one.** BAFU's |
met |
substance
label: Iron, Ion
|
|
No ion rename happens that a curator has not approved
0627-nothing-is-renamed-without-a-ruling
#16's lesson, applied to a new writer of a published |
met |
measure
key: stats.ion_pref_label_from_stated_charge.undecided
|