pub fn shares(drops: &[(String, f64)]) -> Vec<Contribution>Expand description
Turns raw drops into shares, which is the only arithmetic here. Divided by
the total and not the largest, so they add up to one. When nothing
matters, every share is zero rather than a division by nothing, and
IGNORED_INPUT fires on all of them — which is right.