0417-unit-mismatch-means-one-thing met
- Issue
- #417
- Stated in
- expectations/0417-unit-mismatch-means-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
has_unit_mismatch flags a source row measured in something other than the flow it landed on, with no published factor saying by how much. A created flow's rows were flagged by that definition. A matched row was flagged unless the factor was one units.json gives, so a curated factor across quantity kinds (a kilogram on a megajoule flow at 9.41 MJ/kg) cleared the flag only if unit-change-allowlist.json also named the pair. A curated crossing that missed the allowlist would have been reported on one route and not the other. Now any published factor clears the flag on both routes. Whether a crossing was ruled on is a separate question, answered by merge.unit_crossings_unrecorded (0805-every-quantity-kind-crossing-is-recorded.json). BAFU 2026 v1 and ecoinvent 3.8 are held at nothing by 0393-unit-table-factors-are-published.json; this file holds the other three lists there.
Expectations
3| What should be true | State | About |
|---|---|---|
|
No AGRIBALYSE 3.2 row lands on a flow in another unit without a published factor or an allowlist entry
0417-agribalyse-no-unconverted-unit-mismatch
0 in |
met |
measure
key: merge.agribalyse-3.2.unit_mismatch
|
|
The same holds for ecoinvent 3.12
0417-ecoinvent-312-no-unconverted-unit-mismatch
0 in |
met |
measure
key: merge.ecoinvent-3.12.unit_mismatch
|
|
The same holds for Stepwise 2006
0417-stepwise-no-unconverted-unit-mismatch
0 in |
met |
measure
key: merge.stepwise-2006-1.09.unit_mismatch
|