pub fn plan_numeric_conflicts(
candidates: &[ConflictCandidate],
) -> Vec<NumericConflict>Expand description
Every pair of candidates that may be one attribute with two values:
one fold_scope_key class, not behavior (left to
--retire-inferred-behavior), different numbers, and whole-fact
similarity of at least NUMERIC_CONFLICT_MIN_SIMILARITY.
The verdict never lets a farther source retire a closer one: an owner-stated fact beats an automated one; two automated facts are resolved only when their keys name the same attribute, the closer source winning, then the one seen later (then the later row). Two owner-stated facts, or keys that may name two attributes, are left for review. Sorted by similarity, highest first.