{"abstract":"A fresh batch inherits completed results from an earlier operation","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 state={k:['success',0] for k in order} but still violates a regression oracle.","family":"s3-http_retries-partial-batch-reset","id":"FA-29636","implementations":{"attempt":{"sha256":"27e13b13a46433c7eca398a0e76f533f07d74f98c596482f6666adc40c3092af","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(e[1]); state={k:['success',0] 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":"aa05c553ac825e31430971bd10809d136e9cbd34f782db34447b1fac36897abc","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(e[1]); state={k:state.get(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-reset","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":"A fresh batch inherits completed results from an earlier operation","sha256":"732f82d13ed8fd978a6f3eeb4dcf2a779ed7539bd98e43a6294010c7d653183b","title":"Retry only unresolved batch members: A fresh batch inherits completed results from an earlier operation · 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":44.373,"exit_code":1,"observations":[{"actual":[],"check":"0","expected":[],"passed":true},{"actual":[[],[0,0,0],[]],"check":"1","expected":[["b","a","b"],[1,null,1],["a"]],"passed":false},{"actual":[[],[0,0]],"check":"2","expected":[["a"],[null,null]],"passed":false},{"actual":[[],[0]],"check":"3","expected":[["a"],[null]],"passed":false},{"actual":[[],[0,0]],"check":"4","expected":[[],[1,null]],"passed":false},{"actual":[[],[0]],"check":"5","expected":[["a"],[null]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"1\", \"actual\": [[], [0, 0, 0], []], \"expected\": [[\"b\", \"a\", \"b\"], [1, null, 1], [\"a\"]], \"passed\": false}, {\"check\": \"2\", \"actual\": [[], [0, 0]], \"expected\": [[\"a\"], [null, null]], \"passed\": false}, {\"check\": \"3\", \"actual\": [[], [0]], \"expected\": [[\"a\"], [null]], \"passed\": false}, {\"check\": \"4\", \"actual\": [[], [0, 0]], \"expected\": [[], [1, null]], \"passed\": false}, {\"check\": \"5\", \"actual\": [[], [0]], \"expected\": [[\"a\"], [null]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.847,"exit_code":1,"observations":[{"actual":[],"check":"0","expected":[],"passed":true},{"actual":[["b","a","b"],[1,null,1],["a"]],"check":"1","expected":[["b","a","b"],[1,null,1],["a"]],"passed":true},{"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":[[],[1]],"check":"5","expected":[["a"],[null]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"1\", \"actual\": [[\"b\", \"a\", \"b\"], [1, null, 1], [\"a\"]], \"expected\": [[\"b\", \"a\", \"b\"], [1, null, 1], [\"a\"]], \"passed\": true}, {\"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\": [[], [1]], \"expected\": [[\"a\"], [null]], \"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."}}