{"abstract":"Resource limit changes are ignored.","category":"Deployment models","checks":7,"contract":"Compare desired and actual image, environment mapping, replica count, ordered command and resource limits. Return changed fields in fixed schema order.","contract_signature":"desired, actual","evaluation_group":"xt-deployment-drift","failed_approach":"The attempted repair substitutes set(desired['limits']) != set(actual['limits']). Fixture 7 still yields [] instead of ['limits'].","family":"xt-deployment-drift-resource-drift","id":"FA-10126","implementations":{"attempt":{"sha256":"efd12fd41450a2493f111a2503e54d86168ccd3ea4140ebc470c54827fe514b7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(desired, actual):\n    result = []\n    if desired['image'] != actual['image']: result.append('image')\n    if desired['env'] != actual['env']: result.append('env')\n    if desired['replicas'] != actual['replicas']: result.append('replicas')\n    if desired['command'] != actual['command']: result.append('command')\n    if set(desired['limits']) != set(actual['limits']): result.append('limits')\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), [])\ncheck('fixture 2', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v2', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['image'])\ncheck('fixture 3', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '2'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['env'])\ncheck('fixture 4', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 3, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['replicas'])\ncheck('fixture 5', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 1, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['replicas'])\ncheck('fixture 6', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['b', 'a'], 'limits': {'memory': 1}}), ['command'])\ncheck('fixture 7', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 2}}), ['limits'])\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":"33181b981bf3a4d43b96adad8b729876bff2236a56704e60477775bf96741d6d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(desired, actual):\n    result = []\n    if desired['image'] != actual['image']: result.append('image')\n    if desired['env'] != actual['env']: result.append('env')\n    if desired['replicas'] != actual['replicas']: result.append('replicas')\n    if desired['command'] != actual['command']: result.append('command')\n    if False: result.append('limits')\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), [])\ncheck('fixture 2', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v2', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['image'])\ncheck('fixture 3', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '2'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['env'])\ncheck('fixture 4', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 3, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['replicas'])\ncheck('fixture 5', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 1, 'command': ['a', 'b'], 'limits': {'memory': 1}}), ['replicas'])\ncheck('fixture 6', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['b', 'a'], 'limits': {'memory': 1}}), ['command'])\ncheck('fixture 7', solve({'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 1}}, {'image': 'v1', 'env': {'A': '1'}, 'replicas': 2, 'command': ['a', 'b'], 'limits': {'memory': 2}}), ['limits'])\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":" 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":"xt-deployment-drift-resource-drift","generated_at":"2026-09-29T14:38:36.034045+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of deployment drift report, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes False for desired['limits'] != actual['limits'], so resource limit changes are ignored.","sha256":"357d4c46752ec80b09a72fa8612c956c69caa2cf9b57d3b6d945c3b053ddba8a","title":"Deployment drift report: Resource limit changes are ignored · 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.951,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["image"],"check":"fixture 2","expected":["image"],"passed":true},{"actual":["env"],"check":"fixture 3","expected":["env"],"passed":true},{"actual":["replicas"],"check":"fixture 4","expected":["replicas"],"passed":true},{"actual":["replicas"],"check":"fixture 5","expected":["replicas"],"passed":true},{"actual":["command"],"check":"fixture 6","expected":["command"],"passed":true},{"actual":[],"check":"fixture 7","expected":["limits"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"image\"], \"expected\": [\"image\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"env\"], \"expected\": [\"env\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"replicas\"], \"expected\": [\"replicas\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"replicas\"], \"expected\": [\"replicas\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"command\"], \"expected\": [\"command\"], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [], \"expected\": [\"limits\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.69,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["image"],"check":"fixture 2","expected":["image"],"passed":true},{"actual":["env"],"check":"fixture 3","expected":["env"],"passed":true},{"actual":["replicas"],"check":"fixture 4","expected":["replicas"],"passed":true},{"actual":["replicas"],"check":"fixture 5","expected":["replicas"],"passed":true},{"actual":["command"],"check":"fixture 6","expected":["command"],"passed":true},{"actual":[],"check":"fixture 7","expected":["limits"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"image\"], \"expected\": [\"image\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"env\"], \"expected\": [\"env\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"replicas\"], \"expected\": [\"replicas\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"replicas\"], \"expected\": [\"replicas\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"command\"], \"expected\": [\"command\"], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [], \"expected\": [\"limits\"], \"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."}}