FA-73199 / Probabilistic sketches / Member archive
MinHash Jaccard estimation: agreement normalised like a set Jaccard · case 04
Similarity estimates are systematically deflated for partially overlapping sets.
Case contract
Input {k, A, B} integer sets. Signature component i is min over v of (A_i v + B_i) mod 2^31-1 with fixed coefficients. The estimate is the fraction of positions where both signatures agree, rounded to 4 decimals. Two empty sets have undefined similarity (None, with empty signatures); exactly one empty set gives 0.0. Return [sigA, sigB, estimate].
Why this case matters
Near-duplicate detection and set-similarity joins compare MinHash signatures instead of the sets; signature and comparison rules must match exactly across producers.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| overlapping sets k=6 | [[27887117, 330532488, 78683252, 134317934, 178394676, 329803467], [83636661, 330532488, 78683252, 134317934, 144309083, 104634115], 0.3333] | [[27887117, 330532488, 78683252, 134317934, 178394676, 329803467], [83636661, 330532488, 78683252, 134317934, 144309083, 104634115], 0.5] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗