You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(match): cross-field comparison groups — compare mobile on A against home_phone on B #796
Spec unit 1.9 (Classic model: cross-field groups) · parent #513
Group Name on fields so values compare across fields (Work vs Mobile phone, Billing vs Shipping state); collective group matching. Done: Phone in Mobile on record A matches Phone in Home on record B.
What exists
Nothing. This is the one genuine matcher-semantics gap in the epic, and it is worth being precise about why the obvious hits are not it:
variant_match is a lexicon comparator (nickname/synonym expansion), not cross-field — er-compile/src/lib.rs:399.
profile.rs:447's group_name is an unrelated SQL column alias in the profiler.
er-config's survivorship_groups groups fields for survivorship (which fields survive together from one record), not for comparison.
Every comparison today is column-to-same-column: ComparisonSpec is keyed by one canonical attribute (er-config/src/lib.rs:456).
Why it matters beyond parity
A CRM holds one phone in mobile and the same phone in home_phone constantly. Same-column comparison scores that pair as disagreement on two fields, which is worse than no evidence — it actively pushes a true duplicate below threshold.
Done when
config declares a comparison group (a set of attributes compared as a pool rather than pairwise by name)
it compiles to both the blocking conjunct and the comparison level, so a cross-field agreement can generate the candidate as well as score it
phone in mobile on A matches phone in home_phone on B, as a golden test
a config with no group declared produces byte-identical model SQL (the config_hash stability rule every optional block here follows)
Split out of the parent epic on 2026-11-07 by reading the spec's pillar table against this repo, file by file. Every "what exists" line below was grepped, not inferred — the parent epic's own history includes a coverage figure that was wrong because a stale design doc was trusted. Spec unit numbers refer to the DataGroomr Feature Parity Spec pillar tables. Estimates are mine and independent of the epic's total.
Activity
athvin commentedon Nov 7, 2026
Claimed — working in #824 (draft). Closing that PR releases the claim. Promoted from Todo per the parent epic's decomposition note.
feat(match): cross-field comparison groups — pool attributes in confi…
feat(match): cross-field comparison groups (#796)