Brightway Flows 1.2.0
GitHub
Issue
#577
Stated in
expectations/0577-zytron-is-not-dmpa.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

EF 3.1 publishes a herbicide under the abbreviation DMPA, over 13 flows carrying CAS 299-85-4. The abbreviation is not a name: this list holds three substances with equal claim to it, and there are more outside.

| substance | registry number | flows | |---|---|---| | Zytron, the herbicide | 299-85-4 | 13 | | dimethylolpropionic acid | 4767-03-7 | 13 | | 2,2-dimethoxy-2-phenylacetophenone | 24650-42-8 | 13 |

Only the herbicide is published *as* DMPA; the other two carry it as an alternative name. Outside the list the abbreviation also reaches 3,4-dimethoxy-L-phenylalanine and medroxyprogesterone acetate, which is Depo-Provera.

The registry number the list carries is already right. The name is what was doing the damage, and it was doing it to the pipeline as well as to a reader: commonchem_cas_review raises a blocking cas-ambiguous item when a flow's name matches several ChEBI records and none carries the flow's own number. dmpa matches two, neither of them this herbicide, so the pass could not tell whether the list had the wrong number and asked a curator. zytron matches no ChEBI record, so once the flow is named for the substance the question does not arise.

retain_original_as_synonym is deliberately not set. Publishing DMPA as a synonym for the herbicide would assert exactly what the rename denies, and #113's rule -- a synonym that names two substances is published for neither -- withdraws it in any case. Nothing is lost from the mapping: every flow records EF's own spelling as elementary_flow_sources.source_flow_name, so an inventory that maps by uuid still resolves.

There is no expectation here about the queue being empty. A queue with no rows produces no measure, so an expectation naming one would report unresolved rather than met.

Expectations

4
What should be true State About
The herbicide EF 3.1 calls DMPA is published as Zytron
0577-the-herbicide-is-published-as-zytron

Measured on the build of 18 August 2026 at commit ad6b20e: published as Dmpa over 13 flows. Zytron is Common Chemistry's own name for 299-85-4, which is the authority this project follows for a name (#104), and EF 3.1 ships Zytron and Zytron Herbicide among the synonyms on these very flows -- so the source already knows what it published.

met substance
cas: 299-85-4
The rename leaves the herbicide one substance over its thirteen flows
0577-the-abbreviation-names-one-substance

A guard rather than a claim about the fix: 299-85-4 named one substance over 13 flows before the rename and must go on doing so. A rename that split the substance, or that pulled in one of the other substances the abbreviation reaches, would show here.

met substance
cas: 299-85-4
Dimethylolpropionic acid keeps its own name and its own registry number
0577-the-other-dmpa-keeps-its-own-name

The second of the three substances in this list that answer to DMPA, and the reason the abbreviation is not retained as a synonym for the first. It is published as 3-hydroxy-2-(hydroxymethyl)-2-methylpropanoic Acid and carries DMPA as an alternative name; renaming the herbicide must not disturb it, and nothing may merge the two on the strength of a shared abbreviation.

met substance
cas: 4767-03-7
The photoinitiator keeps its own name and its own registry number
0577-the-third-dmpa-keeps-its-own-name

The third, published as 2,2-dimethoxy-1,2-diphenylethan-1-one and also carrying DMPA. Three substances, thirteen flows each, one abbreviation between them: that is the whole of why the herbicide is renamed and why the abbreviation is published as a name for none of them.

met substance
cas: 24650-42-8

Keyboard

?
Show or hide this map
/
Focus search
Esc
Close