{"abstract":"Range body whitespace remains byte-exact after framing removal.","category":"HTTP ranges","checks":6,"contract":"framed ends with exactly one framing CRLF. Return all preceding payload bytes; do not trim payload whitespace.","contract_signature":"framed","evaluation_group":"s3-http_ranges-multipart-client","failed_approach":"The partial repair uses return framed.rstrip(\"\\r\\n\"), which still violates the stated contract.","family":"s3-http_ranges-multipart-client-body-not-strip","id":"FA-26836","implementations":{"attempt":{"sha256":"3482a9129a26b9c26eaa143ed903f22ba1770a92e4eb7cbfcb0e0e74aa22c0c7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(framed):\n    return framed.rstrip(\"\\r\\n\")\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('multipart-client-body-not-strip fixture 0', solve(\"p\"*N+\"\\r\\n\\r\\n\"), \"p\"*N+\"\\r\\n\")\ncheck('multipart-client-body-not-strip fixture 1', solve(\" p \\r\\n\"), \" p \")\ncheck('multipart-client-body-not-strip fixture 2', solve(\"\\r\\n\"), \"\")\ncheck('multipart-client-body-not-strip fixture 3', solve(\"p\\r\\n\"), \"p\")\ncheck('multipart-client-body-not-strip fixture 4', solve(\"p\\n\\r\\n\"), \"p\\n\")\ncheck('multipart-client-body-not-strip fixture 5', solve(\"p\\r\\r\\n\"), \"p\\r\")\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":"6ae413270fa264e97789d05acb680f858a244d646900cd0034a296b83844506c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(framed):\n    return framed.strip()\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('multipart-client-body-not-strip fixture 0', solve(\"p\"*N+\"\\r\\n\\r\\n\"), \"p\"*N+\"\\r\\n\")\ncheck('multipart-client-body-not-strip fixture 1', solve(\" p \\r\\n\"), \" p \")\ncheck('multipart-client-body-not-strip fixture 2', solve(\"\\r\\n\"), \"\")\ncheck('multipart-client-body-not-strip fixture 3', solve(\"p\\r\\n\"), \"p\")\ncheck('multipart-client-body-not-strip fixture 4', solve(\"p\\n\\r\\n\"), \"p\\n\")\ncheck('multipart-client-body-not-strip fixture 5', solve(\"p\\r\\r\\n\"), \"p\\r\")\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-multipart-client-body-not-strip","generated_at":"2026-09-29T14:41:19.490887+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 multipart-client-body-not-strip decision uses return framed.strip().","sha256":"e99a5fd2a4a827ed94c710a5f06c2fd09c34cca324f398bd412da34d5c7b17b0","title":"Range body whitespace remains byte-exact after framing removal · 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.65,"exit_code":1,"observations":[{"actual":"p","check":"multipart-client-body-not-strip fixture 0","expected":"p\r\n","passed":false},{"actual":" p ","check":"multipart-client-body-not-strip fixture 1","expected":" p ","passed":true},{"actual":"","check":"multipart-client-body-not-strip fixture 2","expected":"","passed":true},{"actual":"p","check":"multipart-client-body-not-strip fixture 3","expected":"p","passed":true},{"actual":"p","check":"multipart-client-body-not-strip fixture 4","expected":"p\n","passed":false},{"actual":"p","check":"multipart-client-body-not-strip fixture 5","expected":"p\r","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"multipart-client-body-not-strip fixture 0\", \"actual\": \"p\", \"expected\": \"p\\r\\n\", \"passed\": false}, {\"check\": \"multipart-client-body-not-strip fixture 1\", \"actual\": \" p \", \"expected\": \" p \", \"passed\": true}, {\"check\": \"multipart-client-body-not-strip fixture 2\", \"actual\": \"\", \"expected\": \"\", \"passed\": true}, {\"check\": \"multipart-client-body-not-strip fixture 3\", \"actual\": \"p\", \"expected\": \"p\", \"passed\": true}, {\"check\": \"multipart-client-body-not-strip fixture 4\", \"actual\": \"p\", \"expected\": \"p\\n\", \"passed\": false}, {\"check\": \"multipart-client-body-not-strip fixture 5\", \"actual\": \"p\", \"expected\": \"p\\r\", \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.578,"exit_code":1,"observations":[{"actual":"p","check":"multipart-client-body-not-strip fixture 0","expected":"p\r\n","passed":false},{"actual":"p","check":"multipart-client-body-not-strip fixture 1","expected":" p ","passed":false},{"actual":"","check":"multipart-client-body-not-strip fixture 2","expected":"","passed":true},{"actual":"p","check":"multipart-client-body-not-strip fixture 3","expected":"p","passed":true},{"actual":"p","check":"multipart-client-body-not-strip fixture 4","expected":"p\n","passed":false},{"actual":"p","check":"multipart-client-body-not-strip fixture 5","expected":"p\r","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"multipart-client-body-not-strip fixture 0\", \"actual\": \"p\", \"expected\": \"p\\r\\n\", \"passed\": false}, {\"check\": \"multipart-client-body-not-strip fixture 1\", \"actual\": \"p\", \"expected\": \" p \", \"passed\": false}, {\"check\": \"multipart-client-body-not-strip fixture 2\", \"actual\": \"\", \"expected\": \"\", \"passed\": true}, {\"check\": \"multipart-client-body-not-strip fixture 3\", \"actual\": \"p\", \"expected\": \"p\", \"passed\": true}, {\"check\": \"multipart-client-body-not-strip fixture 4\", \"actual\": \"p\", \"expected\": \"p\\n\", \"passed\": false}, {\"check\": \"multipart-client-body-not-strip fixture 5\", \"actual\": \"p\", \"expected\": \"p\\r\", \"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."}}