{"abstract":"pair exactly at overlap threshold is rejected.","category":"Dataset deduplication grouping","checks":6,"contract":"Return whether Jaccard similarity of two token sets is >= threshold; two empty sets have similarity 1.","contract_signature":"a, b, threshold","evaluation_group":"dedup-jaccard-threshold","failed_approach":"Comparing intersection size to the threshold ignores union size.","family":"w3-dataset-deduplication-grouping-jaccard-inclusive-threshold","id":"FA-100281","implementations":{"attempt":{"sha256":"c989b14b95f46504068565da49f64c6e27c8d007c0b5509f6cd8546b3f3ba494","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(a, b, threshold):\n    return len(set(a)&set(b))>=threshold\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('exact threshold',solve(['a','b'],['a','c'],1/3),True)\ncheck('above threshold',solve(['a','b'],['a'],0.5),True)\ncheck('below threshold',solve(['a','b'],['c','d'],0.1),False)\ncheck('both empty',solve([],[],1),True)\ncheck('one empty',solve([],['a'],0),True)\ncheck('identical',solve(['x'],['x'],1),True)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"f3878d89437c6c5d04382ffc6ed183593d61a4fbeb81c8903365ff30d3a5de3c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(a, b, threshold):\n    u=set(a)|set(b); return (len(set(a)&set(b))/len(u) if u else 1)>threshold\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('exact threshold',solve(['a','b'],['a','c'],1/3),True)\ncheck('above threshold',solve(['a','b'],['a'],0.5),True)\ncheck('below threshold',solve(['a','b'],['c','d'],0.1),False)\ncheck('both empty',solve([],[],1),True)\ncheck('one empty',solve([],['a'],0),True)\ncheck('identical',solve(['x'],['x'],1),True)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Inputs are small in-memory fixtures with the stated contract; results do not claim production deduplication quality. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w3-dataset-deduplication-grouping-jaccard-inclusive-threshold","generated_at":"2026-09-30T16:48:34.014805+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic toy operation makes one dataset equivalence or representative rule explicit.","root_cause":"The threshold comparator excludes equality.","sha256":"3feba4c9d1e87edc60bba2a5026e58881430a1683f3f8976571ebd516fccfa00","title":"Dataset deduplication: pair exactly at overlap threshold is rejected · case 01","variant":1,"variant_policy":"The same explicitly authored fixtures repeat across all five numbered records; runtime N is unused. These records share one mechanism and must remain together in evaluation splits.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":29.347,"exit_code":1,"observations":[{"actual":true,"check":"exact threshold","expected":true,"passed":true},{"actual":true,"check":"above threshold","expected":true,"passed":true},{"actual":false,"check":"below threshold","expected":false,"passed":true},{"actual":false,"check":"both empty","expected":true,"passed":false},{"actual":true,"check":"one empty","expected":true,"passed":true},{"actual":true,"check":"identical","expected":true,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exact threshold\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"above threshold\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"below threshold\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"both empty\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"one empty\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"identical\", \"actual\": true, \"expected\": true, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":28.585,"exit_code":1,"observations":[{"actual":false,"check":"exact threshold","expected":true,"passed":false},{"actual":false,"check":"above threshold","expected":true,"passed":false},{"actual":false,"check":"below threshold","expected":false,"passed":true},{"actual":false,"check":"both empty","expected":true,"passed":false},{"actual":false,"check":"one empty","expected":true,"passed":false},{"actual":false,"check":"identical","expected":true,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exact threshold\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"above threshold\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"below threshold\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"both empty\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"one empty\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"identical\", \"actual\": false, \"expected\": true, \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}