ARCHOS 525 BLUEPRINT · /d/dgm_code-connectivity-and-duplicate-clustering
Connectivity & Duplicate Entity Clustering (MinHash LSH + Union-Find)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_code-connectivity-and-duplicate-clustering) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-connectivity-and-duplicate-clustering)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-connectivity-and-duplicate-clustering" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Connectivity & Duplicate Entity Clustering (MinHash LSH + Union-Find) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Raw Entity Records"]
n1_1["LSH / Blocking Keys"]
n2a_2["Similarity Scorer"]
n2b_3[("Union-Find Clusterer")]
n3_4[("Golden Canonical IDs")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Emit bands · MinHash"| n1_1
n1_1 -->|"2a. Score = · Pairwise"| n2a_2
n1_1 -->|"2b. Union pair · DSU"| n2b_3
n2a_2 -->|"3a. Assign ID · Catalog"| n3_4
n2b_3 -->|"3b. Merge · RAM"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Raw Entity RecordsSTATELESSUsers / Docs / Products
- LSH / Blocking KeysSTATELESSAvoids O all-pairs compare
- Similarity ScorerSTATELESSJaccard / cosine / fuzzy match
- Union-Find ClustererSTATEFULTransitive closure with cap
- Golden Canonical IDsSTATEFULDeduplicated entity clusters
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Raw Entity Records → LSH / Blocking Keys (Emit bands)[MinHash]
- LSH / Blocking Keys → Similarity Scorer (Score >=)[Pairwise]
- LSH / Blocking Keys → Union-Find Clusterer (Union pair)[DSU]
- Similarity Scorer → Golden Canonical IDs (Assign ID)[Catalog]
- Union-Find Clusterer → Golden Canonical IDs (Merge)[RAM]
- Golden Canonical IDs → Downstream & OTel (Emit /)[OTLP/API]