FAILURE MAP
← Case archive

FA-73189 / Probabilistic sketches / Member archive

MinHash Jaccard estimation: hashes the minimum element · case 04

Every signature component comes from the same element, so the estimate is 0 or 1.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
overlapping sets k=4[[325621332, 298921234, 923264514, 134317810], [266074489, 969022022, 1889181774, 402753262], 0.0][[325621332, 298921234, 172996381, 100363], [76042063, 11287721, 139351251, 100270], 0.0]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 ↗