Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

E-factor, process mass intensity and reaction mass efficiency of one step from its mass inventory, version 1.0.3

rxn-mass-metrics@1.0.3: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Level: Checked against a reference; metrics of the listed inventory and the roles assigned. Reference kind: our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

Every version of this method · Every method · What the levels mean

Version 1.0.3

Level: Checked against a reference; metrics of the listed inventory and the roles assigned. Reference kind: our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18. rxn-mass-metrics@1.0.3

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: Complete and simple E-factors after Sheldon, as stated in Becker et al. 2021, Appendix A Eq. (A2) (Molecules 26:573, read 17 November 2026): (inputs − product)/product, the simple one over the chemicals consumed only (here reactant, reagent and catalyst lines, the record's mapping); RME as CHEM21's answer sheet; PMI through rxn-step-pmi (the ACS GCIPR workbook). The product is taken at its assay mass. Results are exact rationals, each rounded once. Compared with exact arithmetic in a Python program, with the ACS PMI tool's and CHEM21's printed examples, and with a second implementation in Python by a separate agent of the same model family (47 cases, 25 at the edges). A calculated value of the listed inventory; recycling and recovery are not modelled.

PMI and water PMI through rxn-step-pmi (by role and by category); cEF = (all − product)/product; sEF counts reactants, reagents and catalysts; RME = product over reactants. Each mass is read as the shortest decimal of its working value; results are exact rationals, each rounded once: equal reactant and product masses give an RME of exactly 100 % and, where the step lists no reagent or catalyst, an sEF of exactly 0. Bounds are checked on the working value (the kit's statement): a purity within one rounding of 100 % is read as 100 %. The order of notes carries no meaning.

  • How results are reported: none: full double precision from exact rational arithmetic; the caller rounds
  • Uncertainty: Exact rational arithmetic on the stated masses, each result rounded once to a double; no uncertainty in a mass or purity is propagated.
  • Reference, as its record states it: exact arithmetic in a Python program, with the ACS PMI tool's and CHEM21's printed examples; a second implementation in Python by a separate agent of the same model family
  • Computes through: rxn-step-pmi@1.0.1
  • Level confirmed by this project's ruling of 17 November 2026

What this page can and cannot show

What was checked

66 cases in 4 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case; the source's own worked example, Python standard library decimal and fractions, Python 3.13.18: 38 agree within the tolerance the file states, 28 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 16 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-10
    • Reference: Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: every number relative 1e-12, the water PMI and both E-factors absolute 1e-12 (each can be 0); withheld rules, roles, categories, statuses and codes exact
  • File 2, 3 cases

    • Where the expected values came from: the source's own worked example, ACS GCI Pharmaceutical Roundtable: the PMI calculation tool's Basic Example and the CHEM21 efficiency-metrics answer sheet, both read in full 10 November 2026
    • Recorded on: 2026-11-10
    • Reference: Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: numbers printed to one decimal place, absolute 0.05 (half the last printed digit); statuses and codes exact
  • File 3, 3 cases

    • Where the expected values came from: the source's own worked example, ACS GCI Pharmaceutical Roundtable: the PMI calculation tool's Basic Example and the CHEM21 efficiency-metrics answer sheet, both read in full 10 November 2026
    • Recorded on: 2026-11-10
    • Reference: Python standard library decimal and fractions, Python 3.13.18; licence PSF-2.0
    • Tolerance as the file states it: numbers printed as integers, absolute 0.5 (half the last printed digit); statuses and codes exact
  • File 4, 44 cases

    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12, the water PMI and both E-factors absolute 1e-12 (each can be 0); withheld rules, roles, categories, statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

Sheldon's and Roschangar's own papers on the simple and complete E-factor (the method reads them as Becker et al. 2021 state them); comparability with published biologics PMI values (the ACS biopharmaceutical PMI definition is unread); recycling and recovery are not modelled.

Definition or model

A closed form: the result follows from the inputs by the equations alone.

Equations

Equation 1

Definition: a contribution summed over the lines that carry one label.

byCategory: Σ m / m_P over the lines carrying each caller's category label
lines with no label are summed as uncategorised
the label is free text, is not an ACS PMI category, and changes no metric
Symbol Meaning and unit
category a free label the caller puts on a line

Equation 2

RME = 100 % × m_P / Σ_reactant lines m
Symbol Meaning and unit
RME reaction mass efficiency, %

Source: ACS GCI Pharmaceutical Roundtable learning site, CHEM21 'Efficiency metrics' exercise (direct amidation with a borate ester): questions, data sheet and answer sheet, section answer sheet, question 2: RME = mass of isolated product / total mass of reactants × 100 %, the answer sheet PDF as downloaded on 10 November 2026; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning b58e200bfe87. Free to read (free download; no licence grant stated), checked 2026-11-11. No erratum found (searched the exercise pages on learning.acsgcipr.org, web search for an erratum to the exercise), 2026-11-11.

Equation 3

cEF = (Σ_all lines m − m_P) / m_P
Symbol Meaning and unit
cEF complete E-factor

Source: Becker M, Lütz S, Rosenthal K. Environmental Assessment of Enzyme Production and Purification. Molecules 2021;26(3):573, section Appendix A, Eq. (A2), after Sheldon (the paper's ref. 7), as stated in Becker 2021: E = (Σ m(materials) − m(product))/m(product); the complete E factor includes water consumed as well as chemicals, and §2 counts solvents with it. All lines, and m_P as the product's assay mass (weighed mass × purity), are the record's reading, version of record, read as Europe PMC's JATS full-text XML (PMC7865607), not the publisher's copy (mdpi.com refused the automated fetch, HTTP 403, 17 November 2026); read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning cf29d91af68f. Free to read (CC BY 4.0), checked 2026-11-17. No erratum found (searched crossref (10.3390/molecules26030573): no update or erratum relation), 2026-11-17.

Equation 4

sEF = (Σ_reactant, reagent and catalyst lines m − m_P) / m_P
Symbol Meaning and unit
sEF simple E-factor

Source: Becker M, Lütz S, Rosenthal K. Environmental Assessment of Enzyme Production and Purification. Molecules 2021;26(3):573, section Appendix A, Eq. (A2), after Sheldon (the paper's ref. 7), as stated in Becker 2021: the simple E factor includes only chemicals consumed, not solvents or water (§2, the text after Table 2). Reactant, reagent and catalyst lines as the chemicals consumed, 'other' lines left out with solvent and water, is the record's mapping, version of record, read as Europe PMC's JATS full-text XML (PMC7865607), not the publisher's copy (mdpi.com refused the automated fetch, HTTP 403, 17 November 2026); read in full on 2026-11-17 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning cf29d91af68f. Free to read (CC BY 4.0), checked 2026-11-17. No erratum found (searched crossref (10.3390/molecules26030573): no update or erratum relation), 2026-11-17.

Constants

Constants: none used.

Worked example

Worked example: one case of rxn-mass-metrics@1.0.3, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • lines[0].name = acid
  • lines[0].role = reactant
  • lines[0].mass = 1.22 g
  • lines[1].name = alcohol
  • lines[1].role = reactant
  • lines[1].mass = 0.74 g
  • lines[2].name = acid catalyst
  • lines[2].role = reagent
  • lines[2].mass = 0.1 g
  • lines[3].name = toluene
  • lines[3].role = solvent
  • lines[3].mass = 20 g
  • lines[4].name = wash water
  • lines[4].role = water
  • lines[4].mass = 50 g
  • lines[5].name = brine and drying agent
  • lines[5].role = other
  • lines[5].mass = 8 g
  • product.mass = 1.1 g
  • product.purity = 98 %

Steps

  1. total = 80.06 g, from lines[0].mass, lines[1].mass, lines[2].mass, lines[3].mass, lines[4].mass, lines[5].mass; by a rule this method's record does not list as an equation; gives totalInputMass.
  2. mP = 1.078 g, from product.mass, product.purity; by a rule this method's record does not list as an equation; gives productMassAssay.
  3. PMI = 74.267161, from total, mP; by a rule this method's record does not list as an equation; gives processMassIntensity.
  4. cEF = 73.267161, from total, mP; by equation 3; gives completeEFactor.

The working, as the case writes it:

Lines: reactants 1.22 + 0.74 = 1.96 g
reagent 0.10 g
solvent 20.0 g
water 50.0 g
other 8.0 g
total 80.06 g. Product 1.10 g at 98 % = 1.078 g. PMI = 80.06/1.078 = 74.2672
water PMI = 50.0/1.078 = 46.3822
cEF = 78.982/1.078 = 73.2672
sEF = (1.96 + 0.10 − 1.078)/1.078 = 0.910946
RME = 1.078/1.96 × 100 = 55.000 %. All 80.06 g uncategorised.

Answer

  • totalInputMass = 80.06 g
  • productMassAssay = 1.078 g
  • processMassIntensity = 74.267161
  • completeEFactor = 73.267161

Where these values came from: our own exact-arithmetic script and a hand-worked case; hand-worked in the fixture (derivation and worked steps).

At build the tool returned this answer within the tolerance the file states: every number relative 1e-12, the water PMI and both E-factors absolute 1e-12 (each can be 0); withheld rules, roles, categories, statuses and codes exact.

Who worked this case: not recorded.

What it refuses, and its input ranges

  • QUANTITY_SOURCE (invalid input): a charge or a line gives not exactly one of its quantities (amount, mass or volume), or a reagent other than the reference carries a scale
  • DENSITY_MISSING (invalid input): a liquid, a mass-fraction solution or a line given by volume has no density
  • PRODUCT_EXCEEDS_INPUTS (invalid input): the product's assay mass is more than every line put in

Input ranges: lines[*].mass: above 0 g; outside it, invalid input (OUT_OF_RANGE). lines[*].volume: above 0 mL; outside it, invalid input (OUT_OF_RANGE). lines[*].density: above 0 g/mL; outside it, invalid input (OUT_OF_RANGE). product.mass: above 0 g; outside it, invalid input (OUT_OF_RANGE). product.purity: above 0 and at most 1; outside it, invalid input (OUT_OF_RANGE).

Changes

2026-11-24-rxn-mass-metrics@1.0.3-1

2026-11-24 · rxn-mass-metrics@1.0.3 · Corrections to our methods

  • What was wrong: The product's assay mass, whose exact value was not zero but lay below the smallest double, was served as 0 g. For example, stored reference values#esterification-hand-worked with every number set to 1e-300: a product of 1e-300 g at a purity of 1e-300 % has an assay mass of 1e-602 g, served as 0 g beside its process mass intensities.
  • Affected: rxn_mass_metrics (served, verified, on 24 November 2026) at rxn-mass-metrics 1.0.2 and earlier, at extreme stated values only, where an exact result underflows the double range. No landed case reaches it: every pinned output hash is unchanged.
  • What changed: In 1.0.3 the shared qty in stored reference values gives NaN for a non-zero rational that rounds to 0, which the kit refuses whole as RESULT_OUTSIDE_DOUBLE_RANGE. Every pinned output hash is unchanged.
  • How it was found: A second sweep with two small values together (the CSO's lane A memo, §3, on the first sweep's gap), 24 November 2026: each pair of numeric arguments of each tool's first five computed fixture cases at (1e-300, 1e-300), (1e-160, 1e-160), (1e-200, 1e-200), (1e300, 1e300) and (1e-300, 1e-20), and every argument at once at 1e-300, 1e-160, 1e-120 and 1e-100, before and after the fix.
  • Cases added: None in the fixtures (the kit's own double-range refusal is never a published case); the sweep's changed replies are recorded in stored reference values.

Tools that use it

Cite this version

E-factor, process mass intensity and reaction mass efficiency of one step from its mass inventory. Drybench; rxn-mass-metrics@1.0.3; https://www.drybench.com/methods/m/rxn-mass-metrics/1.0.3 (accessed [date]).