{"abstract":"Wildcard preconditions test representation existence without requiring a stored tag.","category":"HTTP ranges","checks":6,"contract":"For an If-Match wildcard, return [200,body] for any existing representation, including an untagged one, else [412,empty].","contract_signature":"exists, tag, body","evaluation_group":"s3-http_ranges-conditional","failed_approach":"The partial repair uses return [200,body] if exists and tag is not None else [412,\"\"], which still violates the stated contract.","family":"s3-http_ranges-if-match-wildcard-existence","id":"FA-26351","implementations":{"attempt":{"sha256":"429c699f134b05c1c9a64c7f9be4d0d80bdd0f192663129bdf0a68a700ce0dd1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(exists, tag, body):\n    return [200,body] if exists and tag is not None else [412,\"\"]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('if-match-wildcard-existence fixture 0', solve(True,None,\"x\"*N), [200,\"x\"*N])\ncheck('if-match-wildcard-existence fixture 1', solve(True,\"\",\"x\"*N), [200,\"x\"*N])\ncheck('if-match-wildcard-existence fixture 2', solve(False,\"old\",\"x\"*N), [412,\"\"])\ncheck('if-match-wildcard-existence fixture 3', solve(False,None,\"\"), [412,\"\"])\ncheck('if-match-wildcard-existence fixture 4', solve(True,\"v\", \"\"), [200,\"\"])\ncheck('if-match-wildcard-existence fixture 5', solve(True,\"v\",\"z\"*N), [200,\"z\"*N])\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":"4e99842e56e5bc8f22f1cdfe04fa5bbcf8ee47c15c50c0aaa89ef423aa25db69","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(exists, tag, body):\n    return [200,body] if tag else [412,\"\"]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('if-match-wildcard-existence fixture 0', solve(True,None,\"x\"*N), [200,\"x\"*N])\ncheck('if-match-wildcard-existence fixture 1', solve(True,\"\",\"x\"*N), [200,\"x\"*N])\ncheck('if-match-wildcard-existence fixture 2', solve(False,\"old\",\"x\"*N), [412,\"\"])\ncheck('if-match-wildcard-existence fixture 3', solve(False,None,\"\"), [412,\"\"])\ncheck('if-match-wildcard-existence fixture 4', solve(True,\"v\", \"\"), [200,\"\"])\ncheck('if-match-wildcard-existence fixture 5', solve(True,\"v\",\"z\"*N), [200,\"z\"*N])\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":"Deterministic simplified range service, with stipulated local policies and already parsed trusted inputs; not a complete HTTP implementation. 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":"s3-http_ranges-if-match-wildcard-existence","generated_at":"2026-09-29T14:41:15.219634+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Range responses combine representation identity, conditional requests, framing, and partial-object state.","root_cause":"The if-match-wildcard-existence decision uses return [200,body] if tag else [412,\"\"].","sha256":"5e7526936dd0c81bd3675765d347ad48a1f97ae873e0dbbbeae109cbe34f23f9","title":"Wildcard preconditions test representation existence without requiring a stored tag · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":39.864,"exit_code":1,"observations":[{"actual":[412,""],"check":"if-match-wildcard-existence fixture 0","expected":[200,"x"],"passed":false},{"actual":[200,"x"],"check":"if-match-wildcard-existence fixture 1","expected":[200,"x"],"passed":true},{"actual":[412,""],"check":"if-match-wildcard-existence fixture 2","expected":[412,""],"passed":true},{"actual":[412,""],"check":"if-match-wildcard-existence fixture 3","expected":[412,""],"passed":true},{"actual":[200,""],"check":"if-match-wildcard-existence fixture 4","expected":[200,""],"passed":true},{"actual":[200,"z"],"check":"if-match-wildcard-existence fixture 5","expected":[200,"z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"if-match-wildcard-existence fixture 0\", \"actual\": [412, \"\"], \"expected\": [200, \"x\"], \"passed\": false}, {\"check\": \"if-match-wildcard-existence fixture 1\", \"actual\": [200, \"x\"], \"expected\": [200, \"x\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 2\", \"actual\": [412, \"\"], \"expected\": [412, \"\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 3\", \"actual\": [412, \"\"], \"expected\": [412, \"\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 4\", \"actual\": [200, \"\"], \"expected\": [200, \"\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 5\", \"actual\": [200, \"z\"], \"expected\": [200, \"z\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.163,"exit_code":1,"observations":[{"actual":[412,""],"check":"if-match-wildcard-existence fixture 0","expected":[200,"x"],"passed":false},{"actual":[412,""],"check":"if-match-wildcard-existence fixture 1","expected":[200,"x"],"passed":false},{"actual":[200,"x"],"check":"if-match-wildcard-existence fixture 2","expected":[412,""],"passed":false},{"actual":[412,""],"check":"if-match-wildcard-existence fixture 3","expected":[412,""],"passed":true},{"actual":[200,""],"check":"if-match-wildcard-existence fixture 4","expected":[200,""],"passed":true},{"actual":[200,"z"],"check":"if-match-wildcard-existence fixture 5","expected":[200,"z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"if-match-wildcard-existence fixture 0\", \"actual\": [412, \"\"], \"expected\": [200, \"x\"], \"passed\": false}, {\"check\": \"if-match-wildcard-existence fixture 1\", \"actual\": [412, \"\"], \"expected\": [200, \"x\"], \"passed\": false}, {\"check\": \"if-match-wildcard-existence fixture 2\", \"actual\": [200, \"x\"], \"expected\": [412, \"\"], \"passed\": false}, {\"check\": \"if-match-wildcard-existence fixture 3\", \"actual\": [412, \"\"], \"expected\": [412, \"\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 4\", \"actual\": [200, \"\"], \"expected\": [200, \"\"], \"passed\": true}, {\"check\": \"if-match-wildcard-existence fixture 5\", \"actual\": [200, \"z\"], \"expected\": [200, \"z\"], \"passed\": true}], \"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."}}