{"abstract":"A date validator with uncertain revision ordering falls back to the full representation.","category":"HTTP ranges","checks":6,"contract":"The local If-Range date policy permits [206,part] only for equal dates backed by stable revision ordering; otherwise [200,full].","evaluation_group":"s3-http_ranges-conditional","failed_approach":"The partial repair uses return [206,part] if stable else [200,full], which still violates the stated contract.","family":"s3-http_ranges-if-range-date-strength","id":"FA-26366","implementations":{"attempt":{"sha256":"b2489b3e65e0c3c84aa7bf8a8b3490f3bf3de279019e464a40b2f5c61c84e9ee","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(equal, stable, full, part):\n    return [206,part] if stable else [200,full]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('if-range-date-strength fixture 0', solve(True,False,\"full\"*N,\"p\"*N), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 1', solve(False,True,\"full\"*N,\"p\"), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 2', solve(True,True,\"full\"*N,\"p\"*N), [206,\"p\"*N])\ncheck('if-range-date-strength fixture 3', solve(False,False,\"f\",\"p\"), [200,\"f\"])\ncheck('if-range-date-strength fixture 4', solve(True,False,\"\",\"\"), [200,\"\"])\ncheck('if-range-date-strength fixture 5', solve(True,True,\"f\",\"\"), [206,\"\"])\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":"3b43f0c6681ee38b5320c0f4e8758dfd7d2f5056d122871e59aad2ff47bb2913","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(equal, stable, full, part):\n    return [206,part] if equal else [200,full]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('if-range-date-strength fixture 0', solve(True,False,\"full\"*N,\"p\"*N), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 1', solve(False,True,\"full\"*N,\"p\"), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 2', solve(True,True,\"full\"*N,\"p\"*N), [206,\"p\"*N])\ncheck('if-range-date-strength fixture 3', solve(False,False,\"f\",\"p\"), [200,\"f\"])\ncheck('if-range-date-strength fixture 4', solve(True,False,\"\",\"\"), [200,\"\"])\ncheck('if-range-date-strength fixture 5', solve(True,True,\"f\",\"\"), [206,\"\"])\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":"187666d4b0d571b951c259a61b14b48182a6dd106498d368bf4de548933dff06","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(equal, stable, full, part):\n    return [206,part] if equal and stable else [200,full]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('if-range-date-strength fixture 0', solve(True,False,\"full\"*N,\"p\"*N), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 1', solve(False,True,\"full\"*N,\"p\"), [200,\"full\"*N])\ncheck('if-range-date-strength fixture 2', solve(True,True,\"full\"*N,\"p\"*N), [206,\"p\"*N])\ncheck('if-range-date-strength fixture 3', solve(False,False,\"f\",\"p\"), [200,\"f\"])\ncheck('if-range-date-strength fixture 4', solve(True,False,\"\",\"\"), [200,\"\"])\ncheck('if-range-date-strength fixture 5', solve(True,True,\"f\",\"\"), [206,\"\"])\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-if-range-date-strength","generated_at":"2026-09-29T14:41:15.340015+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 [206,part] if equal and stable else [200,full]","root_cause":"The if-range-date-strength decision uses return [206,part] if equal else [200,full].","sha256":"5352ccc53d0ddeaaa27cd7a7d7bb24b6cbe970272ad60980f512923b2bcde6db","title":"A date validator with uncertain revision ordering falls back to the full representation · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":47.945,"exit_code":1,"observations":[{"actual":[200,"full"],"check":"if-range-date-strength fixture 0","expected":[200,"full"],"passed":true},{"actual":[206,"p"],"check":"if-range-date-strength fixture 1","expected":[200,"full"],"passed":false},{"actual":[206,"p"],"check":"if-range-date-strength fixture 2","expected":[206,"p"],"passed":true},{"actual":[200,"f"],"check":"if-range-date-strength fixture 3","expected":[200,"f"],"passed":true},{"actual":[200,""],"check":"if-range-date-strength fixture 4","expected":[200,""],"passed":true},{"actual":[206,""],"check":"if-range-date-strength fixture 5","expected":[206,""],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"if-range-date-strength fixture 0\", \"actual\": [200, \"full\"], \"expected\": [200, \"full\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 1\", \"actual\": [206, \"p\"], \"expected\": [200, \"full\"], \"passed\": false}, {\"check\": \"if-range-date-strength fixture 2\", \"actual\": [206, \"p\"], \"expected\": [206, \"p\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 3\", \"actual\": [200, \"f\"], \"expected\": [200, \"f\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 4\", \"actual\": [200, \"\"], \"expected\": [200, \"\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 5\", \"actual\": [206, \"\"], \"expected\": [206, \"\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.328,"exit_code":1,"observations":[{"actual":[206,"p"],"check":"if-range-date-strength fixture 0","expected":[200,"full"],"passed":false},{"actual":[200,"full"],"check":"if-range-date-strength fixture 1","expected":[200,"full"],"passed":true},{"actual":[206,"p"],"check":"if-range-date-strength fixture 2","expected":[206,"p"],"passed":true},{"actual":[200,"f"],"check":"if-range-date-strength fixture 3","expected":[200,"f"],"passed":true},{"actual":[206,""],"check":"if-range-date-strength fixture 4","expected":[200,""],"passed":false},{"actual":[206,""],"check":"if-range-date-strength fixture 5","expected":[206,""],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"if-range-date-strength fixture 0\", \"actual\": [206, \"p\"], \"expected\": [200, \"full\"], \"passed\": false}, {\"check\": \"if-range-date-strength fixture 1\", \"actual\": [200, \"full\"], \"expected\": [200, \"full\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 2\", \"actual\": [206, \"p\"], \"expected\": [206, \"p\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 3\", \"actual\": [200, \"f\"], \"expected\": [200, \"f\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 4\", \"actual\": [206, \"\"], \"expected\": [200, \"\"], \"passed\": false}, {\"check\": \"if-range-date-strength fixture 5\", \"actual\": [206, \"\"], \"expected\": [206, \"\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.798,"exit_code":0,"observations":[{"actual":[200,"full"],"check":"if-range-date-strength fixture 0","expected":[200,"full"],"passed":true},{"actual":[200,"full"],"check":"if-range-date-strength fixture 1","expected":[200,"full"],"passed":true},{"actual":[206,"p"],"check":"if-range-date-strength fixture 2","expected":[206,"p"],"passed":true},{"actual":[200,"f"],"check":"if-range-date-strength fixture 3","expected":[200,"f"],"passed":true},{"actual":[200,""],"check":"if-range-date-strength fixture 4","expected":[200,""],"passed":true},{"actual":[206,""],"check":"if-range-date-strength fixture 5","expected":[206,""],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"if-range-date-strength fixture 0\", \"actual\": [200, \"full\"], \"expected\": [200, \"full\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 1\", \"actual\": [200, \"full\"], \"expected\": [200, \"full\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 2\", \"actual\": [206, \"p\"], \"expected\": [206, \"p\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 3\", \"actual\": [200, \"f\"], \"expected\": [200, \"f\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 4\", \"actual\": [200, \"\"], \"expected\": [200, \"\"], \"passed\": true}, {\"check\": \"if-range-date-strength fixture 5\", \"actual\": [206, \"\"], \"expected\": [206, \"\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}