{"abstract":"Assembly expires with its earliest expiring fragment.","category":"HTTP ranges","checks":6,"contract":"Return remaining freshness min(expiries)-now clipped at zero, or zero when no fragments contribute.","contract_signature":"expiries, now","evaluation_group":"s3-http_ranges-cache-assembly","failed_approach":"The partial repair uses return max(0,sum(expiries)//len(expiries)-now) if expiries else 0, which still violates the stated contract.","family":"s3-http_ranges-cache-expiry-minimum","id":"FA-26516","implementations":{"attempt":{"sha256":"2ecc4a45ea2a8ea805d1713475b3ba4e8faf450f7d5f4a27b625e67875f89802","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(expiries, now):\n    return max(0,sum(expiries)//len(expiries)-now) if expiries else 0\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cache-expiry-minimum fixture 0', solve([N,3*N],0), N)\ncheck('cache-expiry-minimum fixture 1', solve([N,3*N],2*N), 0)\ncheck('cache-expiry-minimum fixture 2', solve([],N), 0)\ncheck('cache-expiry-minimum fixture 3', solve([N],0), N)\ncheck('cache-expiry-minimum fixture 4', solve([N,N],N), 0)\ncheck('cache-expiry-minimum fixture 5', solve([2*N,4*N],N), 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":"efab4f28dccc0318c0a7dc4ee11e7e6c2be6186b7912255ec8ae6c340a729345","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(expiries, now):\n    return max(0,max(expiries,default=now)-now)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('cache-expiry-minimum fixture 0', solve([N,3*N],0), N)\ncheck('cache-expiry-minimum fixture 1', solve([N,3*N],2*N), 0)\ncheck('cache-expiry-minimum fixture 2', solve([],N), 0)\ncheck('cache-expiry-minimum fixture 3', solve([N],0), N)\ncheck('cache-expiry-minimum fixture 4', solve([N,N],N), 0)\ncheck('cache-expiry-minimum fixture 5', solve([2*N,4*N],N), 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-expiry-minimum","generated_at":"2026-09-29T14:41:16.728140+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-expiry-minimum decision uses return max(0,max(expiries,default=now)-now).","sha256":"b29ddf21e7a38dcc722993d2bfc75642468acafacc87dc45de33e16558328881","title":"Assembly expires with its earliest expiring fragment · 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":41.55,"exit_code":1,"observations":[{"actual":2,"check":"cache-expiry-minimum fixture 0","expected":1,"passed":false},{"actual":0,"check":"cache-expiry-minimum fixture 1","expected":0,"passed":true},{"actual":0,"check":"cache-expiry-minimum fixture 2","expected":0,"passed":true},{"actual":1,"check":"cache-expiry-minimum fixture 3","expected":1,"passed":true},{"actual":0,"check":"cache-expiry-minimum fixture 4","expected":0,"passed":true},{"actual":2,"check":"cache-expiry-minimum fixture 5","expected":1,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cache-expiry-minimum fixture 0\", \"actual\": 2, \"expected\": 1, \"passed\": false}, {\"check\": \"cache-expiry-minimum fixture 1\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 3\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 4\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 5\", \"actual\": 2, \"expected\": 1, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.996,"exit_code":1,"observations":[{"actual":3,"check":"cache-expiry-minimum fixture 0","expected":1,"passed":false},{"actual":1,"check":"cache-expiry-minimum fixture 1","expected":0,"passed":false},{"actual":0,"check":"cache-expiry-minimum fixture 2","expected":0,"passed":true},{"actual":1,"check":"cache-expiry-minimum fixture 3","expected":1,"passed":true},{"actual":0,"check":"cache-expiry-minimum fixture 4","expected":0,"passed":true},{"actual":3,"check":"cache-expiry-minimum fixture 5","expected":1,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"cache-expiry-minimum fixture 0\", \"actual\": 3, \"expected\": 1, \"passed\": false}, {\"check\": \"cache-expiry-minimum fixture 1\", \"actual\": 1, \"expected\": 0, \"passed\": false}, {\"check\": \"cache-expiry-minimum fixture 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 3\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 4\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"cache-expiry-minimum fixture 5\", \"actual\": 3, \"expected\": 1, \"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."}}