{"abstract":"Fragment admission rejects a conflicting complete length.","category":"HTTP ranges","checks":6,"contract":"Known and incoming complete lengths are integer or None. Reject conflicting known lengths; otherwise return [resolved-length,body].","contract_signature":"known, incoming, body","evaluation_group":"s3-http_ranges-cache-assembly","failed_approach":"The partial repair uses return [max(known or 0,incoming or 0),body], which still violates the stated contract.","family":"s3-http_ranges-cache-total-length-disagreement","id":"FA-26506","implementations":{"attempt":{"sha256":"b3a62e06cb01263bdcd10f214a9fd8ad690c3d6d0b1321be2af07ff9937b5273","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(known, incoming, body):\n    return [max(known or 0,incoming or 0),body]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cache-total-length-disagreement fixture 0', solve(N,N+1,\"p\"*N), None)\ncheck('cache-total-length-disagreement fixture 1', solve(N,None,\"p\"), [N,\"p\"])\ncheck('cache-total-length-disagreement fixture 2', solve(None,N,\"p\"), [N,\"p\"])\ncheck('cache-total-length-disagreement fixture 3', solve(None,None,\"\"), [None,\"\"])\ncheck('cache-total-length-disagreement fixture 4', solve(0,0,\"\"), [0,\"\"])\ncheck('cache-total-length-disagreement fixture 5', solve(N,N,\"p\"*N), [N,\"p\"*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":"a9b24ab6f389b8cd23a283460ef488e703a3904c540c8013319e4d0f75178057","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(known, incoming, body):\n    return [incoming,body]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cache-total-length-disagreement fixture 0', solve(N,N+1,\"p\"*N), None)\ncheck('cache-total-length-disagreement fixture 1', solve(N,None,\"p\"), [N,\"p\"])\ncheck('cache-total-length-disagreement fixture 2', solve(None,N,\"p\"), [N,\"p\"])\ncheck('cache-total-length-disagreement fixture 3', solve(None,None,\"\"), [None,\"\"])\ncheck('cache-total-length-disagreement fixture 4', solve(0,0,\"\"), [0,\"\"])\ncheck('cache-total-length-disagreement fixture 5', solve(N,N,\"p\"*N), [N,\"p\"*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-cache-total-length-disagreement","generated_at":"2026-09-29T14:41:16.577447+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 cache-total-length-disagreement decision uses return [incoming,body].","sha256":"b06ea86eae881b15f663f3b1ab4191e943e7d9354898cbd779b8a974128785e4","title":"Fragment admission rejects a conflicting complete length · 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":40.431,"exit_code":1,"observations":[{"actual":[2,"p"],"check":"cache-total-length-disagreement fixture 0","expected":null,"passed":false},{"actual":[1,"p"],"check":"cache-total-length-disagreement fixture 1","expected":[1,"p"],"passed":true},{"actual":[1,"p"],"check":"cache-total-length-disagreement fixture 2","expected":[1,"p"],"passed":true},{"actual":[0,""],"check":"cache-total-length-disagreement fixture 3","expected":[null,""],"passed":false},{"actual":[0,""],"check":"cache-total-length-disagreement fixture 4","expected":[0,""],"passed":true},{"actual":[1,"p"],"check":"cache-total-length-disagreement fixture 5","expected":[1,"p"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cache-total-length-disagreement fixture 0\", \"actual\": [2, \"p\"], \"expected\": null, \"passed\": false}, {\"check\": \"cache-total-length-disagreement fixture 1\", \"actual\": [1, \"p\"], \"expected\": [1, \"p\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 2\", \"actual\": [1, \"p\"], \"expected\": [1, \"p\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 3\", \"actual\": [0, \"\"], \"expected\": [null, \"\"], \"passed\": false}, {\"check\": \"cache-total-length-disagreement fixture 4\", \"actual\": [0, \"\"], \"expected\": [0, \"\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 5\", \"actual\": [1, \"p\"], \"expected\": [1, \"p\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.564,"exit_code":1,"observations":[{"actual":[2,"p"],"check":"cache-total-length-disagreement fixture 0","expected":null,"passed":false},{"actual":[null,"p"],"check":"cache-total-length-disagreement fixture 1","expected":[1,"p"],"passed":false},{"actual":[1,"p"],"check":"cache-total-length-disagreement fixture 2","expected":[1,"p"],"passed":true},{"actual":[null,""],"check":"cache-total-length-disagreement fixture 3","expected":[null,""],"passed":true},{"actual":[0,""],"check":"cache-total-length-disagreement fixture 4","expected":[0,""],"passed":true},{"actual":[1,"p"],"check":"cache-total-length-disagreement fixture 5","expected":[1,"p"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cache-total-length-disagreement fixture 0\", \"actual\": [2, \"p\"], \"expected\": null, \"passed\": false}, {\"check\": \"cache-total-length-disagreement fixture 1\", \"actual\": [null, \"p\"], \"expected\": [1, \"p\"], \"passed\": false}, {\"check\": \"cache-total-length-disagreement fixture 2\", \"actual\": [1, \"p\"], \"expected\": [1, \"p\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 3\", \"actual\": [null, \"\"], \"expected\": [null, \"\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 4\", \"actual\": [0, \"\"], \"expected\": [0, \"\"], \"passed\": true}, {\"check\": \"cache-total-length-disagreement fixture 5\", \"actual\": [1, \"p\"], \"expected\": [1, \"p\"], \"passed\": true}], \"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."}}