Skip to content

E5 — Classic matcher #513

Closed
7 of 7 issues completed
Closed

Description

@athvin

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.

Sub-issues

Sub-issues

7 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added
    mvp
    epic
    on Nov 5, 2026
  2. athvin commented on Nov 7, 2026

    @athvin
    OwnerAuthor

    Decomposed into 7 sub-issues (2026-11-07)

    This epic was unclaimable as a single card: claim-ticket's claim is a PR saying Closes #<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.

    Spec unit Issue Priority Est
    1.6 comparison operators #795 P1 0.3
    1.9 cross-field groups #796 P0 0.5
    1.21 match confidence model #797 P0 0.4
    1.12 model versioning #798 P1 0.3
    1.11 preprocessing #799 P1 0.3
    1.25 hierarchy exclusion #800 P2 0.2
    1.27 + 1.28 group list and filters #801 P1 0.3

    Four of the twelve units are already DONE — no issue filed

    Recording these so they are not re-litigated. Each was grepped, not inferred:

    • 1.7 weights — 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.
    • 1.8 blank handling — all three modes exist as NullPolicy::{Never, BothBlankMatches, EitherBlankMatches} (:385-397). Note we deliberately diverge on the default: the spec defaults to "match if both blank", we default to Never (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.
    • 1.10 required match — MatchConstraints::required_match, compiled as a conjunct on every blocking rule so a violating pair is never generated (:414-419).
    • 1.23 blocking and scale — the engine is benchmarked bit-identical to Splink and faster at ~53% less memory. The spec's complexity warning is the only unbuilt sliver and is not worth a card.

    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

    Status left at Todo on all seven — promoting to In progress is the deliberate act claim-ticket reserves, so it is yours. This card stays In progress as the tracker.

  3. self-assigned this
    on Nov 8, 2026
  4. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    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.

  5. removed their assignment
    on Nov 8, 2026
  6. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    Claim released (PR #882 closed) — this card is the tracker per its decomposition comment; picking up #800, the one open sub-issue.

  7. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicmvp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions