Repository navigation
Description
Epic E5 from the DataGroomr Feature Parity Spec · spec phase 1 · stack rank 3 of 30
| Spec units | 1.6-1.12, 1.21, 1.23, 1.25, 1.27-1.28 |
| Spec size (greenfield) | 12 eng-weeks |
| Our coverage today | ~85% |
| Estimated remaining | 2.0 eng-weeks (83% saved by what exists) |
| Owning component | DuckDB SQL blocking + Rust UDF extension (similarity, tolerance, phone/email normalizers); our existing entity engine |
| Release | mvp |
What we already have
Essentially all of it, as a generic engine. er-match and dedupe-core implement Fellegi-Sunter with blocking rules, comparison levels, m/u probabilities, match weights and term-frequency adjustment, benchmarked bit-identical to Splink and faster at ~53% less memory. match_score, matching_model and candidate_key entities exist.
What is missing
Salesforce-shaped field semantics, and the per-object tolerance and phone/email normalizer UDFs the spec names. The maths is done; the adaptation is not.
Coverage and remaining-weeks figures are an estimate made by reading this repo against the spec on 2026-11-05, not numbers from the spec itself — the spec sizes everything as greenfield. Treat them as a planning input, not a commitment. Spec unit numbers (e.g. 1.6-1.12) refer to the pillar tables in the linked document.
Activity
athvin commentedon Nov 7, 2026
Decomposed into 7 sub-issues (2026-11-07)
This epic was unclaimable as a single card:
claim-ticket's claim is a PR sayingCloses #<n>, so the first merge would have closed a 2-week epic. The spec's pillar-1 table was read against the tree file by file, and each remaining unit is now its own issue.Four of the twelve units are already DONE — no issue filed
Recording these so they are not re-litigated. Each was grepped, not inferred:
ComparisonSpec::weight: Option<f64>, 0..=100, "when any comparison declares a weight they all must, and they must total 100" (er-config/src/lib.rs:462-471). The spec's "Balance to 100%" button is UI sugar on a rule we already enforce.NullPolicy::{Never, BothBlankMatches, EitherBlankMatches}(:385-397). Note we deliberately diverge on the default: the spec defaults to "match if both blank", we default toNever(a blank is no evidence), and the code comment explains why — "a thousand records with no phone number are not a thousand copies of one person". Keep the divergence.MatchConstraints::required_match, compiled as a conjunct on every blocking rule so a violating pair is never generated (:414-419).Estimate reconciliation
The children sum to 2.3 weeks against this epic's stated 2.0. I did not tune them to match — the 2.0 was a coverage estimate made by reading the repo in one pass, and these are per-unit estimates made after probing each one. The gap is mostly #796 and #797, both of which turned out to be deeper than "adaptation".
The two P0s, and why
mobileand the same phone inhome_phonescores as disagreement on two fields, which pushes true duplicates below threshold — worse than no evidence.thresholdsare match-weight bits at a ~22-bit scale, and every surface would otherwise project them independently. Three surfaces disagreeing about a confidence number is a correctness bug that reads as a rounding quirk.Statusleft atTodoon all seven — promoting toIn progressis the deliberate actclaim-ticketreserves, so it is yours. This card staysIn progressas the tracker.athvin commentedon Nov 8, 2026
Claimed — working in #882 (draft). Closing that PR releases the claim. Scope note: unit 1.25 (hierarchy exclusion) stays with its own ticket #800 and is excluded here.
athvin commentedon Nov 8, 2026
Claim released (PR #882 closed) — this card is the tracker per its decomposition comment; picking up #800, the one open sub-issue.
athvin commentedon Nov 8, 2026
All seven sub-issues of the 2026-11-07 decomposition are now closed: #795, #796, #797, #798, #799, #801, and #800 (merged as 2771aac, PR #883). The four units recorded as already-done in the decomposition comment stand unchanged. Closing the tracker — E5 is complete.