{"abstract":"Unsatisfied range metadata reports the complete length without invented endpoints.","category":"HTTP ranges","checks":6,"contract":"For known nonnegative complete length return bytes */length, including empty representations.","evaluation_group":"s3-http_ranges-response-metadata","failed_approach":"The partial repair uses return f\"bytes */{length}\" if length else \"bytes */*\", which still violates the stated contract.","family":"s3-http_ranges-content-range-unsatisfied-format","id":"FA-26696","implementations":{"attempt":{"sha256":"c57bc500357cb042472715763ac139a1b39e77b05513962973b3e6051ff81cfe","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(length):\n    return f\"bytes */{length}\" if length else \"bytes */*\"\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('content-range-unsatisfied-format fixture 0', solve(N), \"bytes */\"+str(N))\ncheck('content-range-unsatisfied-format fixture 1', solve(0), \"bytes */0\")\ncheck('content-range-unsatisfied-format fixture 2', solve(2*N), \"bytes */\"+str(2*N))\ncheck('content-range-unsatisfied-format fixture 3', solve(1), \"bytes */1\")\ncheck('content-range-unsatisfied-format fixture 4', solve(10), \"bytes */10\")\ncheck('content-range-unsatisfied-format fixture 5', solve(100+N), \"bytes */\"+str(100+N))\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":"2af1e6a540ddee8b0ea66fe20bd0774dfbf2b172c332c40b7cfe02b75b5512d3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(length):\n    return f\"bytes 0-{length-1}/{length}\"\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('content-range-unsatisfied-format fixture 0', solve(N), \"bytes */\"+str(N))\ncheck('content-range-unsatisfied-format fixture 1', solve(0), \"bytes */0\")\ncheck('content-range-unsatisfied-format fixture 2', solve(2*N), \"bytes */\"+str(2*N))\ncheck('content-range-unsatisfied-format fixture 3', solve(1), \"bytes */1\")\ncheck('content-range-unsatisfied-format fixture 4', solve(10), \"bytes */10\")\ncheck('content-range-unsatisfied-format fixture 5', solve(100+N), \"bytes */\"+str(100+N))\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":"2ec8e1a858f264ba5b37afbc147e792d0830ae96f00e8a862680e682dad11991","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(length):\n    return f\"bytes */{length}\"\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('content-range-unsatisfied-format fixture 0', solve(N), \"bytes */\"+str(N))\ncheck('content-range-unsatisfied-format fixture 1', solve(0), \"bytes */0\")\ncheck('content-range-unsatisfied-format fixture 2', solve(2*N), \"bytes */\"+str(2*N))\ncheck('content-range-unsatisfied-format fixture 3', solve(1), \"bytes */1\")\ncheck('content-range-unsatisfied-format fixture 4', solve(10), \"bytes */10\")\ncheck('content-range-unsatisfied-format fixture 5', solve(100+N), \"bytes */\"+str(100+N))\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-unsatisfied-format","generated_at":"2026-09-29T14:41:18.259825+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.","repair":"Apply the bounded decision exactly: return f\"bytes */{length}\"","root_cause":"The content-range-unsatisfied-format decision uses return f\"bytes 0-{length-1}/{length}\".","sha256":"412b8b1bb29d4d81cae1f3981294526044ba190d25a1dbaf8673038c25a5fc8e","title":"Unsatisfied range metadata reports the complete length without invented endpoints · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":39.697,"exit_code":1,"observations":[{"actual":"bytes */1","check":"content-range-unsatisfied-format fixture 0","expected":"bytes */1","passed":true},{"actual":"bytes */*","check":"content-range-unsatisfied-format fixture 1","expected":"bytes */0","passed":false},{"actual":"bytes */2","check":"content-range-unsatisfied-format fixture 2","expected":"bytes */2","passed":true},{"actual":"bytes */1","check":"content-range-unsatisfied-format fixture 3","expected":"bytes */1","passed":true},{"actual":"bytes */10","check":"content-range-unsatisfied-format fixture 4","expected":"bytes */10","passed":true},{"actual":"bytes */101","check":"content-range-unsatisfied-format fixture 5","expected":"bytes */101","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"content-range-unsatisfied-format fixture 0\", \"actual\": \"bytes */1\", \"expected\": \"bytes */1\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 1\", \"actual\": \"bytes */*\", \"expected\": \"bytes */0\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 2\", \"actual\": \"bytes */2\", \"expected\": \"bytes */2\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 3\", \"actual\": \"bytes */1\", \"expected\": \"bytes */1\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 4\", \"actual\": \"bytes */10\", \"expected\": \"bytes */10\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 5\", \"actual\": \"bytes */101\", \"expected\": \"bytes */101\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.495,"exit_code":1,"observations":[{"actual":"bytes 0-0/1","check":"content-range-unsatisfied-format fixture 0","expected":"bytes */1","passed":false},{"actual":"bytes 0--1/0","check":"content-range-unsatisfied-format fixture 1","expected":"bytes */0","passed":false},{"actual":"bytes 0-1/2","check":"content-range-unsatisfied-format fixture 2","expected":"bytes */2","passed":false},{"actual":"bytes 0-0/1","check":"content-range-unsatisfied-format fixture 3","expected":"bytes */1","passed":false},{"actual":"bytes 0-9/10","check":"content-range-unsatisfied-format fixture 4","expected":"bytes */10","passed":false},{"actual":"bytes 0-100/101","check":"content-range-unsatisfied-format fixture 5","expected":"bytes */101","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"content-range-unsatisfied-format fixture 0\", \"actual\": \"bytes 0-0/1\", \"expected\": \"bytes */1\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 1\", \"actual\": \"bytes 0--1/0\", \"expected\": \"bytes */0\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 2\", \"actual\": \"bytes 0-1/2\", \"expected\": \"bytes */2\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 3\", \"actual\": \"bytes 0-0/1\", \"expected\": \"bytes */1\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 4\", \"actual\": \"bytes 0-9/10\", \"expected\": \"bytes */10\", \"passed\": false}, {\"check\": \"content-range-unsatisfied-format fixture 5\", \"actual\": \"bytes 0-100/101\", \"expected\": \"bytes */101\", \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.081,"exit_code":0,"observations":[{"actual":"bytes */1","check":"content-range-unsatisfied-format fixture 0","expected":"bytes */1","passed":true},{"actual":"bytes */0","check":"content-range-unsatisfied-format fixture 1","expected":"bytes */0","passed":true},{"actual":"bytes */2","check":"content-range-unsatisfied-format fixture 2","expected":"bytes */2","passed":true},{"actual":"bytes */1","check":"content-range-unsatisfied-format fixture 3","expected":"bytes */1","passed":true},{"actual":"bytes */10","check":"content-range-unsatisfied-format fixture 4","expected":"bytes */10","passed":true},{"actual":"bytes */101","check":"content-range-unsatisfied-format fixture 5","expected":"bytes */101","passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"content-range-unsatisfied-format fixture 0\", \"actual\": \"bytes */1\", \"expected\": \"bytes */1\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 1\", \"actual\": \"bytes */0\", \"expected\": \"bytes */0\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 2\", \"actual\": \"bytes */2\", \"expected\": \"bytes */2\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 3\", \"actual\": \"bytes */1\", \"expected\": \"bytes */1\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 4\", \"actual\": \"bytes */10\", \"expected\": \"bytes */10\", \"passed\": true}, {\"check\": \"content-range-unsatisfied-format fixture 5\", \"actual\": \"bytes */101\", \"expected\": \"bytes */101\", \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}