FAILURE MAP
← Case archive

FA-73204 / Probabilistic sketches / Member archive

MinHash Jaccard estimation: offset added after reduction · case 04

Signature values exceed the field and disagree with producers that reduce the full expression.

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, 1108737985, 172996381, 100363], [76042063, 1108737985, 139351251, 100270], 0.25][[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 ↗