A synthetic corpus of internal policies: exact copies, a re-published copy, a reordered copy, three versions of the same policy, a paraphrase. Word 3-gram Jaccard, its MinHash estimate (128 hashes, 16 bands × 8 rows) and SimHash — computed live in your browser, bit-identical to the Python script.
| pair | same bytes | Jaccard (3-grams) | MinHash est. | SimHash Hamming | LSH candidate |
|---|---|---|---|---|---|
| travel-v1.2 / travel-v1.2-exact-copy | True | 1.0 | 1.0 | 0 | True |
| travel-v1.2 / travel-v1.2-copy-intranet | False | 0.925 | 0.9297 | 4 | True |
| travel-v1.2-copy-intranet / travel-v1.2-exact-copy | False | 0.925 | 0.9297 | 4 | True |
| travel-v1.2 / travel-v1.2-reordered | False | 0.9221 | 0.9141 | 0 | True |
| travel-v1.2-exact-copy / travel-v1.2-reordered | False | 0.9221 | 0.9141 | 0 | True |
| travel-v1.0 / travel-v1.1 | False | 0.8734 | 0.8828 | 1 | True |
| travel-v1.2-copy-intranet / travel-v1.2-reordered | False | 0.8554 | 0.8438 | 4 | True |
| travel-v1.1 / travel-v1.2 | False | 0.8385 | 0.8438 | 6 | True |
| travel-v1.1 / travel-v1.2-exact-copy | False | 0.8385 | 0.8438 | 6 | True |
| travel-v1.0 / travel-v1.2 | False | 0.8049 | 0.8281 | 5 | True |
| travel-v1.0 / travel-v1.2-exact-copy | False | 0.8049 | 0.8281 | 5 | True |
| travel-v1.1 / travel-v1.2-copy-intranet | False | 0.7803 | 0.7969 | 6 | True |
| travel-v1.1 / travel-v1.2-reordered | False | 0.7725 | 0.7812 | 6 | True |
| travel-v1.0 / travel-v1.2-copy-intranet | False | 0.75 | 0.7812 | 5 | True |
| travel-v1.0 / travel-v1.2-reordered | False | 0.7412 | 0.75 | 5 | True |
Query: hotel night reimbursement limit euros
Clusters (MinHash ≥ 0.8 or identical): travel-v1.0, travel-v1.1, travel-v1.2, travel-v1.2-copy-intranet, travel-v1.2-exact-copy, travel-v1.2-reordered; travel-paraphrase; remote-work; data-retention
Top-5 before deduplication: travel-v1.0 (1.5678), travel-v1.1 (1.5678), travel-v1.2 (1.5678), travel-v1.2-exact-copy (1.5678), travel-v1.2-reordered (1.5678)
Top-5 after collapsing each cluster to its latest official version: travel-v1.2 (1.5678; 6 version(s) kept), travel-paraphrase (0.6111; 1 version(s) kept), data-retention (0.3617; 1 version(s) kept), remote-work (0.2052; 1 version(s) kept)
Note: versions 1.0 and 1.1 say 120 euros per hotel night, version 1.2 and its copies say 150; the cluster keeps all versions.
Pre-computed by the demo script (pinned versions, SHA-256 data manifest, recorded log); this page only reads the record. Olivier Vitrac, PhD, HDR — Head of Adservio Innovation Lab · RAG lecture, November 2026.