{"abstract":"Http2 end stream closes only sending half.","category":"Multiplexed protocols","checks":4,"contract":"Bounded offline decision model: http2 end stream closes only sending half. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.","evaluation_group":"xh-http2-end-stream-closes-only-sending-half","failed_approach":"The attempted repair uses `'half-local' if local_end else 'open'` and still violates a separate fixture.","family":"xh-http2-end-stream-closes-only-sending-half","id":"FA-7471","implementations":{"attempt":{"sha256":"315096a161758f0c90fab36bee9401222ed6dc8d9ad49e183565dc1f9c043b56","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(local_end, remote_end):\n    return 'half-local' if local_end else 'open'\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(True, False), 'half-local')\", \"check('fixture 2', solve(False, True), 'half-remote')\", \"check('fixture 3', solve(True, True), 'closed')\", \"check('fixture 4', solve(False, False), 'open')\"]\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":"9ae151f2235861b6a3acd667564ef0b7a2c88bdc769e08576d5714e8c57795c6","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(local_end, remote_end):\n    return 'closed' if local_end or remote_end else 'open'\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(True, False), 'half-local')\", \"check('fixture 2', solve(False, True), 'half-remote')\", \"check('fixture 3', solve(True, True), 'closed')\", \"check('fixture 4', solve(False, False), 'open')\"]\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":"497f729caf9dc60bae395519245ba21dec1bc0c2eabf238258b318b1b993e108","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(local_end, remote_end):\n    return 'closed' if local_end and remote_end else ('half-local' if local_end else ('half-remote' if remote_end else 'open'))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(True, False), 'half-local')\", \"check('fixture 2', solve(False, True), 'half-remote')\", \"check('fixture 3', solve(True, True), 'closed')\", \"check('fixture 4', solve(False, False), 'open')\"]\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-http2-end-stream-closes-only-sending-half","generated_at":"2026-09-29T14:38:12.346717+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic multiplexed protocols model isolates the http2-end-stream-closes-only-sending-half policy at a network component boundary.","repair":"Apply the explicit http2-end-stream-closes-only-sending-half contract, including the tested boundary and negative cases.","root_cause":"The faulty implementation uses `'closed' if local_end or remote_end else 'open'` for the http2-end-stream-closes-only-sending-half decision.","sha256":"32db368b2bcf18f3e3dfec975c6572eb6e8ad6bc97e4c3f4ded20c1fde98d125","title":"Http2 end stream closes only sending half · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":50.435,"exit_code":1,"observations":[{"actual":"open","check":"fixture 2","expected":"half-remote","passed":false},{"actual":"half-local","check":"fixture 3","expected":"closed","passed":false},{"actual":"open","check":"fixture 4","expected":"open","passed":true},{"actual":"half-local","check":"fixture 1","expected":"half-local","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"open\", \"expected\": \"half-remote\", \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": \"half-local\", \"expected\": \"closed\", \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": \"open\", \"expected\": \"open\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"half-local\", \"expected\": \"half-local\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":86.302,"exit_code":1,"observations":[{"actual":"closed","check":"fixture 2","expected":"half-remote","passed":false},{"actual":"closed","check":"fixture 3","expected":"closed","passed":true},{"actual":"open","check":"fixture 4","expected":"open","passed":true},{"actual":"closed","check":"fixture 1","expected":"half-local","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"closed\", \"expected\": \"half-remote\", \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": \"closed\", \"expected\": \"closed\", \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"open\", \"expected\": \"open\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"closed\", \"expected\": \"half-local\", \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.211,"exit_code":0,"observations":[{"actual":"half-remote","check":"fixture 2","expected":"half-remote","passed":true},{"actual":"closed","check":"fixture 3","expected":"closed","passed":true},{"actual":"open","check":"fixture 4","expected":"open","passed":true},{"actual":"half-local","check":"fixture 1","expected":"half-local","passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"half-remote\", \"expected\": \"half-remote\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": \"closed\", \"expected\": \"closed\", \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"open\", \"expected\": \"open\", \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"half-local\", \"expected\": \"half-local\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}