{"abstract":"Receive window overlap clips both segment ends.","category":"Transport flow control","checks":4,"contract":"Bounded offline decision model: receive window overlap clips both segment ends. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.","evaluation_group":"xh-receive-window-overlap-clips-both-segment-ends","failed_approach":"The attempted repair uses `(max(start,window[0]),end) if start < window[1] else None` and still violates a separate fixture.","family":"xh-receive-window-overlap-clips-both-segment-ends","id":"FA-7216","implementations":{"attempt":{"sha256":"914475663abd0c6df577e472ed4f58b10bbaeea4a51867a64053e6d1133c9089","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(start, end, window):\n    return (max(start,window[0]),end) if start < window[1] else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(0, 10, (3, 7)), (3, 7))\", \"check('fixture 2', solve(8, 10, (3, 7)), None)\", \"check('fixture 3', solve(3, 7, (3, 7)), (3, 7))\", \"check('fixture 4', solve(0, 3, (3, 7)), None)\"]\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":"0bb48bef59a340c0e486d2ab617ea72e2ffda758f6fc96a3f2305930221c88ee","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(start, end, window):\n    return (start,end)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(0, 10, (3, 7)), (3, 7))\", \"check('fixture 2', solve(8, 10, (3, 7)), None)\", \"check('fixture 3', solve(3, 7, (3, 7)), (3, 7))\", \"check('fixture 4', solve(0, 3, (3, 7)), None)\"]\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":"a8b170835c2f2dac987532348d42385e4cfe8e3e330d7eae243d2b156cbc7b43","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(start, end, window):\n    return (max(start,window[0]),min(end,window[1])) if max(start,window[0]) < min(end,window[1]) else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(0, 10, (3, 7)), (3, 7))\", \"check('fixture 2', solve(8, 10, (3, 7)), None)\", \"check('fixture 3', solve(3, 7, (3, 7)), (3, 7))\", \"check('fixture 4', solve(0, 3, (3, 7)), None)\"]\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-receive-window-overlap-clips-both-segment-ends","generated_at":"2026-09-29T14:38:09.481684+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic transport flow control model isolates the receive-window-overlap-clips-both-segment-ends policy at a network component boundary.","repair":"Apply the explicit receive-window-overlap-clips-both-segment-ends contract, including the tested boundary and negative cases.","root_cause":"The faulty implementation uses `(start,end)` for the receive-window-overlap-clips-both-segment-ends decision.","sha256":"a076840ba151112116f16d72ae34ae9325cb7cada6e8e23cc2f4c272e459e245","title":"Receive window overlap clips both segment ends · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":47.142,"exit_code":1,"observations":[{"actual":null,"check":"fixture 2","expected":null,"passed":true},{"actual":[3,7],"check":"fixture 3","expected":[3,7],"passed":true},{"actual":[3,3],"check":"fixture 4","expected":null,"passed":false},{"actual":[3,10],"check":"fixture 1","expected":[3,7],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [3, 7], \"expected\": [3, 7], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [3, 3], \"expected\": null, \"passed\": false}, {\"check\": \"fixture 1\", \"actual\": [3, 10], \"expected\": [3, 7], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":46.896,"exit_code":1,"observations":[{"actual":[8,10],"check":"fixture 2","expected":null,"passed":false},{"actual":[3,7],"check":"fixture 3","expected":[3,7],"passed":true},{"actual":[0,3],"check":"fixture 4","expected":null,"passed":false},{"actual":[0,10],"check":"fixture 1","expected":[3,7],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": [8, 10], \"expected\": null, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [3, 7], \"expected\": [3, 7], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0, 3], \"expected\": null, \"passed\": false}, {\"check\": \"fixture 1\", \"actual\": [0, 10], \"expected\": [3, 7], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":54.921,"exit_code":0,"observations":[{"actual":null,"check":"fixture 2","expected":null,"passed":true},{"actual":[3,7],"check":"fixture 3","expected":[3,7],"passed":true},{"actual":null,"check":"fixture 4","expected":null,"passed":true},{"actual":[3,7],"check":"fixture 1","expected":[3,7],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [3, 7], \"expected\": [3, 7], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": [3, 7], \"expected\": [3, 7], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}