{"abstract":"Retry batch reorders or deduplicates requested positions","category":"HTTP retries","checks":6,"contract":"open(list of item IDs) establishes ordered batch. result(id,status,value) records first success, retryable failure, or permanent failure; unknown IDs ignored. retry returns unresolved/retryable items in original order including duplicates. done returns values or null in original positions. Success/permanent terminal entries cannot be overwritten by late responses.","contract_signature":"events","evaluation_group":"s3-http_retries-partial-batch","failed_approach":"The attempted repair changes the faulty site to order=list(dict.fromkeys(e[1])) but still violates a regression oracle.","family":"s3-http_retries-partial-batch-ordering","id":"FA-29631","implementations":{"attempt":{"sha256":"72dfc19c97ca6c2f0e777161c68efe1dd2e0ef6b82c9ebdea1c5fdedc0e0bcbb","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(events):\n    order=[]; state={}; out=[]\n    for e in events:\n        if e[0]=='open':\n            order=list(dict.fromkeys(e[1])); state={k:['pending',None] for k in order}\n        elif e[0]=='result':\n            k,status,value=e[1:]\n            if k not in state: continue\n            if state[k][0] in ('success','permanent'): continue\n            if status=='success': state[k]=['success',value]\n            elif status=='permanent': state[k]=['permanent',None]\n            else: state[k]=['retry',None]\n        elif e[0]=='retry':\n            out.append([k for k in order if state[k][0] in ('pending','retry')])\n        elif e[0]=='done':\n            out.append([state[k][1] if state[k][0]=='success' else None for k in order])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('0', solve([]), [])\ncheck('1', solve([('open',['b','a','b']),('retry',),('result','b','success',N),('done',),('retry',)]), [['b','a','b'],[N,None,N],['a']])\ncheck('2', solve([('open',['a','b']),('result','a','retry',N),('result','b','permanent',N),('retry',),('done',)]), [['a'],[None,None]])\ncheck('3', solve([('open',['a']),('result','z','success',N),('retry',),('done',)]), [['a'],[None]])\ncheck('4', solve([('open',['a','b']),('result','a','success',N),('result','a','retry',0),('result','b','permanent',0),('result','b','retry',0),('retry',),('done',)]), [[],[N,None]])\ncheck('5', solve([('open',['a']),('result','a','success',N),('open',['a']),('retry',),('done',)]), [['a'],[None]])\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":"3e74e11169546782087d33e4cb1fed99adcdba1c7c7d1ea45cb3493c6774e2e9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(events):\n    order=[]; state={}; out=[]\n    for e in events:\n        if e[0]=='open':\n            order=sorted(e[1]); state={k:['pending',None] for k in order}\n        elif e[0]=='result':\n            k,status,value=e[1:]\n            if k not in state: continue\n            if state[k][0] in ('success','permanent'): continue\n            if status=='success': state[k]=['success',value]\n            elif status=='permanent': state[k]=['permanent',None]\n            else: state[k]=['retry',None]\n        elif e[0]=='retry':\n            out.append([k for k in order if state[k][0] in ('pending','retry')])\n        elif e[0]=='done':\n            out.append([state[k][1] if state[k][0]=='success' else None for k in order])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('0', solve([]), [])\ncheck('1', solve([('open',['b','a','b']),('retry',),('result','b','success',N),('done',),('retry',)]), [['b','a','b'],[N,None,N],['a']])\ncheck('2', solve([('open',['a','b']),('result','a','retry',N),('result','b','permanent',N),('retry',),('done',)]), [['a'],[None,None]])\ncheck('3', solve([('open',['a']),('result','z','success',N),('retry',),('done',)]), [['a'],[None]])\ncheck('4', solve([('open',['a','b']),('result','a','success',N),('result','a','retry',0),('result','b','permanent',0),('result','b','retry',0),('retry',),('done',)]), [[],[N,None]])\ncheck('5', solve([('open',['a']),('result','a','success',N),('open',['a']),('retry',),('done',)]), [['a'],[None]])\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":"Stipulated bounded simulator, not a complete HTTP implementation or a standards conformance claim. 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_retries-partial-batch-ordering","generated_at":"2026-09-29T14:41:45.538758+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline deterministic model of HTTP request retries.","root_cause":"Retry batch reorders or deduplicates requested positions","sha256":"869dd57295dd55e600322e88c6b1745e95d30ece676cfb5c2954b2075eb15b24","title":"Retry only unresolved batch members: Retry batch reorders or deduplicates requested positions · 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":46.993,"exit_code":1,"observations":[{"actual":[],"check":"0","expected":[],"passed":true},{"actual":[["b","a"],[1,null],["a"]],"check":"1","expected":[["b","a","b"],[1,null,1],["a"]],"passed":false},{"actual":[["a"],[null,null]],"check":"2","expected":[["a"],[null,null]],"passed":true},{"actual":[["a"],[null]],"check":"3","expected":[["a"],[null]],"passed":true},{"actual":[[],[1,null]],"check":"4","expected":[[],[1,null]],"passed":true},{"actual":[["a"],[null]],"check":"5","expected":[["a"],[null]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"1\", \"actual\": [[\"b\", \"a\"], [1, null], [\"a\"]], \"expected\": [[\"b\", \"a\", \"b\"], [1, null, 1], [\"a\"]], \"passed\": false}, {\"check\": \"2\", \"actual\": [[\"a\"], [null, null]], \"expected\": [[\"a\"], [null, null]], \"passed\": true}, {\"check\": \"3\", \"actual\": [[\"a\"], [null]], \"expected\": [[\"a\"], [null]], \"passed\": true}, {\"check\": \"4\", \"actual\": [[], [1, null]], \"expected\": [[], [1, null]], \"passed\": true}, {\"check\": \"5\", \"actual\": [[\"a\"], [null]], \"expected\": [[\"a\"], [null]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.268,"exit_code":1,"observations":[{"actual":[],"check":"0","expected":[],"passed":true},{"actual":[["a","b","b"],[null,1,1],["a"]],"check":"1","expected":[["b","a","b"],[1,null,1],["a"]],"passed":false},{"actual":[["a"],[null,null]],"check":"2","expected":[["a"],[null,null]],"passed":true},{"actual":[["a"],[null]],"check":"3","expected":[["a"],[null]],"passed":true},{"actual":[[],[1,null]],"check":"4","expected":[[],[1,null]],"passed":true},{"actual":[["a"],[null]],"check":"5","expected":[["a"],[null]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"1\", \"actual\": [[\"a\", \"b\", \"b\"], [null, 1, 1], [\"a\"]], \"expected\": [[\"b\", \"a\", \"b\"], [1, null, 1], [\"a\"]], \"passed\": false}, {\"check\": \"2\", \"actual\": [[\"a\"], [null, null]], \"expected\": [[\"a\"], [null, null]], \"passed\": true}, {\"check\": \"3\", \"actual\": [[\"a\"], [null]], \"expected\": [[\"a\"], [null]], \"passed\": true}, {\"check\": \"4\", \"actual\": [[], [1, null]], \"expected\": [[], [1, null]], \"passed\": true}, {\"check\": \"5\", \"actual\": [[\"a\"], [null]], \"expected\": [[\"a\"], [null]], \"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."}}