pub fn parse_quantity(value: &Value) -> Option<f64>Expand description
Read a baseline/target scalar as a comparable quantity, or None when it
is not one.
None is never an error — it means “this pair cannot be compared”, and an
uncomparable pair is simply not evidence either way. Booleans are excluded
deliberately: false → true is a state change, not a movement along an
axis, and calling it “an increase” would let KAIZEN-006 pass judgement on
something it cannot measure.