{"abstract":"Informational and bodyless statuses suppress payload transmission.","category":"HTTP semantics","checks":4,"contract":"Informational and bodyless statuses suppress payload transmission: return the result specified by the explicit input/output boundary fixtures.","evaluation_group":"xh-status-body","failed_approach":"The attempted repair uses `'' if status < 300 else body` and still violates a separate fixture.","family":"xh-status-body","id":"FA-6586","implementations":{"attempt":{"sha256":"5165f79e2f2768b80d8742a6c9e17f8fb288906dcd53ecc5599f4c71824ce4cc","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(status, body):\n    return '' if status < 300 else body\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(101, 'x'), '')\", \"check('fixture 2', solve(304, 'x'), '')\", \"check('fixture 3', solve(200, 'x'), 'x')\", \"check('fixture 4', solve(404, 'e'), 'e')\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\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":"e509fd602246c0c881caf5d073b5b4b81f81ce7dfb7b1caa3fb179e51852a524","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(status, body):\n    return '' if status == 204 else body\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(101, 'x'), '')\", \"check('fixture 2', solve(304, 'x'), '')\", \"check('fixture 3', solve(200, 'x'), 'x')\", \"check('fixture 4', solve(404, 'e'), 'e')\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\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":"b16a2834398a01694036fe2e91d53075c0b3fedd48fc7ffe48b9ee71e0f37703","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(status, body):\n    return '' if 100 <= status < 200 or status in (204, 205, 304) else body\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(101, 'x'), '')\", \"check('fixture 2', solve(304, 'x'), '')\", \"check('fixture 3', solve(200, 'x'), 'x')\", \"check('fixture 4', solve(404, 'e'), 'e')\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\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":"Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. 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":"xh-status-body","generated_at":"2026-09-29T14:38:03.431394+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic http semantics model isolates the status-body policy at a network component boundary.","repair":"Apply the explicit status-body contract, including the tested boundary and negative cases.","root_cause":"The faulty implementation uses `'' if status == 204 else body` for the status-body decision.","sha256":"f3fad3d6fa6a21d0dfefc3de4aa9e685b9720891314531b0a2341428d809e48d","title":"Informational and bodyless statuses suppress payload transmission · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":35.536,"exit_code":1,"observations":[{"actual":"x","check":"fixture 2","expected":"","passed":false},{"actual":"","check":"fixture 3","expected":"x","passed":false},{"actual":"e","check":"fixture 4","expected":"e","passed":true},{"actual":"","check":"fixture 1","expected":"","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"x\", \"expected\": \"\", \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": \"\", \"expected\": \"x\", \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": \"e\", \"expected\": \"e\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"\", \"expected\": \"\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.643,"exit_code":1,"observations":[{"actual":"x","check":"fixture 2","expected":"","passed":false},{"actual":"x","check":"fixture 3","expected":"x","passed":true},{"actual":"e","check":"fixture 4","expected":"e","passed":true},{"actual":"x","check":"fixture 1","expected":"","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"x\", \"expected\": \"\", \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": \"x\", \"expected\": \"x\", \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"e\", \"expected\": \"e\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"x\", \"expected\": \"\", \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":36.588,"exit_code":0,"observations":[{"actual":"","check":"fixture 2","expected":"","passed":true},{"actual":"x","check":"fixture 3","expected":"x","passed":true},{"actual":"e","check":"fixture 4","expected":"e","passed":true},{"actual":"","check":"fixture 1","expected":"","passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"\", \"expected\": \"\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": \"x\", \"expected\": \"x\", \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"e\", \"expected\": \"e\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"\", \"expected\": \"\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}