denselinkage.core.models.MatchDecision¶
- class denselinkage.core.models.MatchDecision(is_match: bool, confidence: float | None = None, rationale: str | None = None)[source]¶
Bases:
objectA successful decision —
is_matchis always a realbool.Failures are NOT represented here. A matcher that cannot decide a pair yields the sibling
MatchError(seeMatcher.matchandLinkageResult.errors), keeping this type a pure decision.confidence/rationaleare matcher-dependent — bothNonefor matchers that do not produce them (e.g.ThresholdMatcher).