Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

fix(identity): implement the default exact record comparator

Rudy Celekli2903b79e0ac6
diff --git a/specialized/identity-graph-operator.md b/specialized/identity-graph-operator.md
index 04fe7092..d2bf6bf3 100644
--- a/specialized/identity-graph-operator.md
+++ b/specialized/identity-graph-operator.md
@@ -155,6 +155,11 @@ class IdentityMatcher:
return weighted_score / total_weight if total_weight > 0 else 0.0
+ def compare(self, value_a: str, value_b: str, comparator: str) -> float:
+ if comparator != "exact":
+ raise ValueError(f"Unsupported comparator: {comparator}")
+ return 1.0 if value_a == value_b else 0.0
+
def normalize(self, value: str, normalizer: str) -> str:
if normalizer == "email":
return value.lower().strip()