{"abstract":"Environment value 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.","evaluation_group":"xt-deployment-drift","failed_approach":"The attempted repair substitutes False. Fixture 3 still yields [] instead of ['env'].","family":"xt-deployment-drift-environment-drift","id":"FA-10111","implementations":{"attempt":{"sha256":"79260c3f864b5bd8faa22377d725fdebf8f09c10e946b02dc36df5797248d795","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 False: result.append('env')\n    if desired['replicas'] != actual['replicas']: result.append('replicas')\n    if desired['command'] != actual['command']: result.append('command')\n    if desired['limits'] != 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":"733d37214b85da32a65bba1499bba9e4ab00d56948ca6cc6b1a63b309277297a","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 set(desired['env']) != set(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 desired['limits'] != 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"},"fixed":{"sha256":"962434b1e97b03316623228d0a3d7cfabbd039093f7fa7f7f5be26d4d5478322","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 desired['limits'] != 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"}},"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-environment-drift","generated_at":"2026-09-29T14:38:35.994061+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.","repair":"Compare full environment mappings, including values.","root_cause":"The implementation substitutes set(desired['env']) != set(actual['env']) for desired['env'] != actual['env'], so environment value changes are ignored.","sha256":"2b8249e2ad6cb00a17d2c3593fb7c889bc0b68caa4a732015e7be02166f9230c","title":"Deployment drift report: Environment value changes are ignored · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.024,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["image"],"check":"fixture 2","expected":["image"],"passed":true},{"actual":[],"check":"fixture 3","expected":["env"],"passed":false},{"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":["limits"],"check":"fixture 7","expected":["limits"],"passed":true}],"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\": [], \"expected\": [\"env\"], \"passed\": false}, {\"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\": [\"limits\"], \"expected\": [\"limits\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.214,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["image"],"check":"fixture 2","expected":["image"],"passed":true},{"actual":[],"check":"fixture 3","expected":["env"],"passed":false},{"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":["limits"],"check":"fixture 7","expected":["limits"],"passed":true}],"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\": [], \"expected\": [\"env\"], \"passed\": false}, {\"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\": [\"limits\"], \"expected\": [\"limits\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.068,"exit_code":0,"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":["limits"],"check":"fixture 7","expected":["limits"],"passed":true}],"passed":true,"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\": [\"limits\"], \"expected\": [\"limits\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}