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): pin a model to the comparator algorithm version it was built against #798
Spec unit 1.12 (Classic model: versioning) · parent #513
Existing models stay on Similar v1 when the algorithm changes; new models get v2. Done: Model carries algorithm version; re-analysis of an untouched model yields identical groups across runs.
What exists
er-versions — but it solves a different problem. Its surface (rust/crates/er-versions/src/lib.rs) is RunFingerprint, FieldDrift, ModeDecision, check_mode_preconditions, rebuild_reason_for: it decides whether a run may be incremental given std_version / survivorship_version drift. That is run-mode arbitration, not comparator versioning.
config_hash pins the configuration. Neither pins the implementation behind a comparator token.
The gap
jaro_winkler:0.90 names a threshold, not a version of the Jaro–Winkler implementation. Improve or fix that comparator and every existing model silently re-groups on its next analysis — with an unchanged config and an unchanged config_hash, so nothing in the system says why the answer moved.
Done when
a trained/compiled model records the comparator algorithm version it was built against
an existing model keeps its recorded version when the implementation changes; newly created models take the current one
re-analysis of an untouched model across a deliberate comparator change yields identical groups (the regression that makes this real)
the version is visible wherever the model is — not only in storage
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.
Claimed by codex session 01a1b861-d8a0-7400-8aae-17fdde0059ec on Mac at 2026-11-08T07:49:44Z — draft PR #845 is the claim; closing it releases the ticket.
Activity
athvin commentedon Nov 8, 2026
Claimed by codex session
01a1b861-d8a0-7400-8aae-17fdde0059econMacat 2026-11-08T07:49:44Z — draft PR #845 is the claim; closing it releases the ticket.feat(match): pin a model to its comparator algorithm version (#798)
wip: claim #798 — pin a model to its comparator algorithm version
feat(match): pin a model to its comparator algorithm version (#798)
feat(match): pin a model to the comparator algorithm version it was b…