{"abstract":"Known complete length must extend beyond every returned endpoint.","category":"HTTP ranges","checks":6,"contract":"Return valid for nonnegative ordered endpoints and either unknown total or total strictly greater than end. No interval slicing is performed.","contract_signature":"start, end, total","evaluation_group":"s3-http_ranges-response-metadata","failed_approach":"The partial repair uses return start>=0 and end>=start and (total is None or total>=end), which still violates the stated contract.","family":"s3-http_ranges-content-range-total-beyond-end","id":"FA-26701","implementations":{"attempt":{"sha256":"e9bcf181284dc7911ea5d2cff6bba5f1d63becc264eae715dc16cd7f236be792","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(start, end, total):\n    return start>=0 and end>=start and (total is None or total>=end)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('content-range-total-beyond-end fixture 0', solve(0,N,N), False)\ncheck('content-range-total-beyond-end fixture 1', solve(0,N,N+1), True)\ncheck('content-range-total-beyond-end fixture 2', solve(0,N,None), True)\ncheck('content-range-total-beyond-end fixture 3', solve(N,0,N+1), False)\ncheck('content-range-total-beyond-end fixture 4', solve(-1,N,N+1), False)\ncheck('content-range-total-beyond-end fixture 5', solve(0,0,0), False)\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":"43db69197d8e13a3ceb8edca2449fb498d8112196fdd753f741e945b2bb6d17f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(start, end, total):\n    return start>=0 and end>=start\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('content-range-total-beyond-end fixture 0', solve(0,N,N), False)\ncheck('content-range-total-beyond-end fixture 1', solve(0,N,N+1), True)\ncheck('content-range-total-beyond-end fixture 2', solve(0,N,None), True)\ncheck('content-range-total-beyond-end fixture 3', solve(N,0,N+1), False)\ncheck('content-range-total-beyond-end fixture 4', solve(-1,N,N+1), False)\ncheck('content-range-total-beyond-end fixture 5', solve(0,0,0), False)\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-content-range-total-beyond-end","generated_at":"2026-09-29T14:41:18.317932+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 content-range-total-beyond-end decision uses return start>=0 and end>=start.","sha256":"045aeccb64fe1bf1d726b964a92fc920bebe01f34609d6af95bb164433306da8","title":"Known complete length must extend beyond every returned endpoint · 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":38.778,"exit_code":1,"observations":[{"actual":true,"check":"content-range-total-beyond-end fixture 0","expected":false,"passed":false},{"actual":true,"check":"content-range-total-beyond-end fixture 1","expected":true,"passed":true},{"actual":true,"check":"content-range-total-beyond-end fixture 2","expected":true,"passed":true},{"actual":false,"check":"content-range-total-beyond-end fixture 3","expected":false,"passed":true},{"actual":false,"check":"content-range-total-beyond-end fixture 4","expected":false,"passed":true},{"actual":true,"check":"content-range-total-beyond-end fixture 5","expected":false,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"content-range-total-beyond-end fixture 0\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"content-range-total-beyond-end fixture 1\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 2\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 3\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 4\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 5\", \"actual\": true, \"expected\": false, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.186,"exit_code":1,"observations":[{"actual":true,"check":"content-range-total-beyond-end fixture 0","expected":false,"passed":false},{"actual":true,"check":"content-range-total-beyond-end fixture 1","expected":true,"passed":true},{"actual":true,"check":"content-range-total-beyond-end fixture 2","expected":true,"passed":true},{"actual":false,"check":"content-range-total-beyond-end fixture 3","expected":false,"passed":true},{"actual":false,"check":"content-range-total-beyond-end fixture 4","expected":false,"passed":true},{"actual":true,"check":"content-range-total-beyond-end fixture 5","expected":false,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"content-range-total-beyond-end fixture 0\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"content-range-total-beyond-end fixture 1\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 2\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 3\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 4\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"content-range-total-beyond-end fixture 5\", \"actual\": true, \"expected\": false, \"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."}}