{"abstract":"A nested route failure clears unrelated loaded segments.","category":"Client state","checks":6,"contract":"An error replaces only the matching route segment state with an error/data pair; siblings and unknown segment IDs are unchanged.","evaluation_group":"s3-client-state-route-errors-per-segment","failed_approach":"The partial repair still violates at least one explicit regression oracle.","family":"s3-client-state-route-errors-per-segment","id":"FA-24721","implementations":{"attempt":{"sha256":"610aeff009f7f4daa0acaf93634c716102dca4f49fe2345c52b7c848b189f051","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(segments, failed_segment, error):\n    return {k:v for k,v in segments.items() if k!=failed_segment}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('nested child', solve({'layout':{'data':N},'child':{'data':2}},'child','bad'), {'layout':{'data':N},'child':{'error':'bad','data':None}})\ncheck('layout failure', solve({'layout':{'data':N},'child':{'data':2}},'layout','bad'), {'layout':{'error':'bad','data':None},'child':{'data':2}})\ncheck('unknown segment', solve({'layout':{'data':N}},'gone','bad'), {'layout':{'data':N}})\ncheck('empty tree', solve({},'child','bad'), {})\ncheck('null failure payload', solve({'child':{'data':N}},'child',None), {'child':{'error':None,'data':None}})\ncheck('empty error text', solve({'child':{'data':N},'side':{}},'child',''), {'child':{'error':'','data':None},'side':{}})\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":"88871a427275415ad8be8c7025f4216414c801a269e04c7abf51351eda49c26b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(segments, failed_segment, error):\n    return {k:{'error':error,'data':None} for k in segments}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('nested child', solve({'layout':{'data':N},'child':{'data':2}},'child','bad'), {'layout':{'data':N},'child':{'error':'bad','data':None}})\ncheck('layout failure', solve({'layout':{'data':N},'child':{'data':2}},'layout','bad'), {'layout':{'error':'bad','data':None},'child':{'data':2}})\ncheck('unknown segment', solve({'layout':{'data':N}},'gone','bad'), {'layout':{'data':N}})\ncheck('empty tree', solve({},'child','bad'), {})\ncheck('null failure payload', solve({'child':{'data':N}},'child',None), {'child':{'error':None,'data':None}})\ncheck('empty error text', solve({'child':{'data':N},'side':{}},'child',''), {'child':{'error':'','data':None},'side':{}})\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"},"fixed":{"sha256":"8db4c78ff3c2fb3b0c73f0dff1f919992607d5bd8bb110b0f8ea47ef8763eeb9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(segments, failed_segment, error):\n    return {k:({'error':error,'data':None} if k==failed_segment else v) for k,v in segments.items()}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('nested child', solve({'layout':{'data':N},'child':{'data':2}},'child','bad'), {'layout':{'data':N},'child':{'error':'bad','data':None}})\ncheck('layout failure', solve({'layout':{'data':N},'child':{'data':2}},'layout','bad'), {'layout':{'error':'bad','data':None},'child':{'data':2}})\ncheck('unknown segment', solve({'layout':{'data':N}},'gone','bad'), {'layout':{'data':N}})\ncheck('empty tree', solve({},'child','bad'), {})\ncheck('null failure payload', solve({'child':{'data':N}},'child',None), {'child':{'error':None,'data':None}})\ncheck('empty error text', solve({'child':{'data':N},'side':{}},'child',''), {'child':{'error':'','data':None},'side':{}})\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":"This models the stated application policy only; no browser or framework conformance is claimed. 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-client-state-route-errors-per-segment","generated_at":"2026-09-29T14:41:00.033731+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A bounded offline client-state transition with explicit lifecycle inputs.","repair":"An error replaces only the matching route segment state with an error/data pair; siblings and unknown segment IDs are unchanged.","root_cause":"The faulty implementation violates An error replaces only the matching route segment state with an error/data pair; siblings and unknown segment IDs are unchanged.","sha256":"afb7f3bf2e0404a9febaf1c34c2cc1f7e9691b63621fd6f30699657e51b605cf","title":"A nested route failure clears unrelated loaded segments · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.174,"exit_code":1,"observations":[{"actual":{"layout":{"data":1}},"check":"nested child","expected":{"child":{"data":null,"error":"bad"},"layout":{"data":1}},"passed":false},{"actual":{"child":{"data":2}},"check":"layout failure","expected":{"child":{"data":2},"layout":{"data":null,"error":"bad"}},"passed":false},{"actual":{"layout":{"data":1}},"check":"unknown segment","expected":{"layout":{"data":1}},"passed":true},{"actual":{},"check":"empty tree","expected":{},"passed":true},{"actual":{},"check":"null failure payload","expected":{"child":{"data":null,"error":null}},"passed":false},{"actual":{"side":{}},"check":"empty error text","expected":{"child":{"data":null,"error":""},"side":{}},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"nested child\", \"actual\": {\"layout\": {\"data\": 1}}, \"expected\": {\"layout\": {\"data\": 1}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"passed\": false}, {\"check\": \"layout failure\", \"actual\": {\"child\": {\"data\": 2}}, \"expected\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"data\": 2}}, \"passed\": false}, {\"check\": \"unknown segment\", \"actual\": {\"layout\": {\"data\": 1}}, \"expected\": {\"layout\": {\"data\": 1}}, \"passed\": true}, {\"check\": \"empty tree\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"null failure payload\", \"actual\": {}, \"expected\": {\"child\": {\"error\": null, \"data\": null}}, \"passed\": false}, {\"check\": \"empty error text\", \"actual\": {\"side\": {}}, \"expected\": {\"child\": {\"error\": \"\", \"data\": null}, \"side\": {}}, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.852,"exit_code":1,"observations":[{"actual":{"child":{"data":null,"error":"bad"},"layout":{"data":null,"error":"bad"}},"check":"nested child","expected":{"child":{"data":null,"error":"bad"},"layout":{"data":1}},"passed":false},{"actual":{"child":{"data":null,"error":"bad"},"layout":{"data":null,"error":"bad"}},"check":"layout failure","expected":{"child":{"data":2},"layout":{"data":null,"error":"bad"}},"passed":false},{"actual":{"layout":{"data":null,"error":"bad"}},"check":"unknown segment","expected":{"layout":{"data":1}},"passed":false},{"actual":{},"check":"empty tree","expected":{},"passed":true},{"actual":{"child":{"data":null,"error":null}},"check":"null failure payload","expected":{"child":{"data":null,"error":null}},"passed":true},{"actual":{"child":{"data":null,"error":""},"side":{"data":null,"error":""}},"check":"empty error text","expected":{"child":{"data":null,"error":""},"side":{}},"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"nested child\", \"actual\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"expected\": {\"layout\": {\"data\": 1}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"passed\": false}, {\"check\": \"layout failure\", \"actual\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"expected\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"data\": 2}}, \"passed\": false}, {\"check\": \"unknown segment\", \"actual\": {\"layout\": {\"error\": \"bad\", \"data\": null}}, \"expected\": {\"layout\": {\"data\": 1}}, \"passed\": false}, {\"check\": \"empty tree\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"null failure payload\", \"actual\": {\"child\": {\"error\": null, \"data\": null}}, \"expected\": {\"child\": {\"error\": null, \"data\": null}}, \"passed\": true}, {\"check\": \"empty error text\", \"actual\": {\"child\": {\"error\": \"\", \"data\": null}, \"side\": {\"error\": \"\", \"data\": null}}, \"expected\": {\"child\": {\"error\": \"\", \"data\": null}, \"side\": {}}, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.176,"exit_code":0,"observations":[{"actual":{"child":{"data":null,"error":"bad"},"layout":{"data":1}},"check":"nested child","expected":{"child":{"data":null,"error":"bad"},"layout":{"data":1}},"passed":true},{"actual":{"child":{"data":2},"layout":{"data":null,"error":"bad"}},"check":"layout failure","expected":{"child":{"data":2},"layout":{"data":null,"error":"bad"}},"passed":true},{"actual":{"layout":{"data":1}},"check":"unknown segment","expected":{"layout":{"data":1}},"passed":true},{"actual":{},"check":"empty tree","expected":{},"passed":true},{"actual":{"child":{"data":null,"error":null}},"check":"null failure payload","expected":{"child":{"data":null,"error":null}},"passed":true},{"actual":{"child":{"data":null,"error":""},"side":{}},"check":"empty error text","expected":{"child":{"data":null,"error":""},"side":{}},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"nested child\", \"actual\": {\"layout\": {\"data\": 1}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"expected\": {\"layout\": {\"data\": 1}, \"child\": {\"error\": \"bad\", \"data\": null}}, \"passed\": true}, {\"check\": \"layout failure\", \"actual\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"data\": 2}}, \"expected\": {\"layout\": {\"error\": \"bad\", \"data\": null}, \"child\": {\"data\": 2}}, \"passed\": true}, {\"check\": \"unknown segment\", \"actual\": {\"layout\": {\"data\": 1}}, \"expected\": {\"layout\": {\"data\": 1}}, \"passed\": true}, {\"check\": \"empty tree\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"null failure payload\", \"actual\": {\"child\": {\"error\": null, \"data\": null}}, \"expected\": {\"child\": {\"error\": null, \"data\": null}}, \"passed\": true}, {\"check\": \"empty error text\", \"actual\": {\"child\": {\"error\": \"\", \"data\": null}, \"side\": {}}, \"expected\": {\"child\": {\"error\": \"\", \"data\": null}, \"side\": {}}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}