{"abstract":"Disable deletes the option instead of setting false.","category":"Configuration","checks":8,"contract":"Starting from defaults, process assignment, append, unset, enable, and disable operations in sequence. Append creates a new list or extends an existing list. Unknown operations are ignored.","evaluation_group":"xt-cli-configuration","failed_approach":"The attempted repair substitutes elif op == 'disable': result[key] = None. Fixture 7 still yields {'a': None} instead of {'a': False}.","family":"xt-cli-configuration-disable-command","id":"FA-9726","implementations":{"attempt":{"sha256":"69540ec3b6f9e1f2c5c26f4163755e40d31709fc796d1f83a442ddeb0b586924","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(defaults, operations):\n    result = dict(defaults)\n    for op, key, value in operations:\n        if op == 'set': result[key] = value\n        elif op == 'append': result[key] = list(result.get(key, [])) + [value]\n        elif op == 'unset': result.pop(key, None)\n        elif op == 'enable': result[key] = True\n        elif op == 'disable': result[key] = None\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, []), {})\ncheck('fixture 2', solve({'a': 1}, [('set', 'a', 0)]), {'a': 0})\ncheck('fixture 3', solve({'a': [1]}, [('append', 'a', 2), ('append', 'a', 2)]), {'a': [1, 2, 2]})\ncheck('fixture 4', solve({'a': 1}, [('unset', 'a', None)]), {})\ncheck('fixture 5', solve({}, [('unset', 'a', None)]), {})\ncheck('fixture 6', solve({}, [('enable', 'a', None)]), {'a': True})\ncheck('fixture 7', solve({'a': True}, [('disable', 'a', None)]), {'a': False})\ncheck('fixture 8', solve({'a': 1}, [('unknown', 'a', 2)]), {'a': 1})\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":"acc4b25a8e4ad00bd2edb2c93db831c1567045dab5fc79f2737ec099fbd9b783","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(defaults, operations):\n    result = dict(defaults)\n    for op, key, value in operations:\n        if op == 'set': result[key] = value\n        elif op == 'append': result[key] = list(result.get(key, [])) + [value]\n        elif op == 'unset': result.pop(key, None)\n        elif op == 'enable': result[key] = True\n        elif op == 'disable': result.pop(key, None)\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, []), {})\ncheck('fixture 2', solve({'a': 1}, [('set', 'a', 0)]), {'a': 0})\ncheck('fixture 3', solve({'a': [1]}, [('append', 'a', 2), ('append', 'a', 2)]), {'a': [1, 2, 2]})\ncheck('fixture 4', solve({'a': 1}, [('unset', 'a', None)]), {})\ncheck('fixture 5', solve({}, [('unset', 'a', None)]), {})\ncheck('fixture 6', solve({}, [('enable', 'a', None)]), {'a': True})\ncheck('fixture 7', solve({'a': True}, [('disable', 'a', None)]), {'a': False})\ncheck('fixture 8', solve({'a': 1}, [('unknown', 'a', 2)]), {'a': 1})\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":"5d7cfa8dc45bb88d9368df82e61291e5ac15ac80580a2061d6aaa6e5e5315274","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(defaults, operations):\n    result = dict(defaults)\n    for op, key, value in operations:\n        if op == 'set': result[key] = value\n        elif op == 'append': result[key] = list(result.get(key, [])) + [value]\n        elif op == 'unset': result.pop(key, None)\n        elif op == 'enable': result[key] = True\n        elif op == 'disable': result[key] = False\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, []), {})\ncheck('fixture 2', solve({'a': 1}, [('set', 'a', 0)]), {'a': 0})\ncheck('fixture 3', solve({'a': [1]}, [('append', 'a', 2), ('append', 'a', 2)]), {'a': [1, 2, 2]})\ncheck('fixture 4', solve({'a': 1}, [('unset', 'a', None)]), {})\ncheck('fixture 5', solve({}, [('unset', 'a', None)]), {})\ncheck('fixture 6', solve({}, [('enable', 'a', None)]), {'a': True})\ncheck('fixture 7', solve({'a': True}, [('disable', 'a', None)]), {'a': False})\ncheck('fixture 8', solve({'a': 1}, [('unknown', 'a', 2)]), {'a': 1})\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-cli-configuration-disable-command","generated_at":"2026-09-29T14:38:32.525189+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of command option assignment, suitable for testing build and release tooling without external services.","repair":"Disable preserves the key with an explicit False value.","root_cause":"The implementation substitutes elif op == 'disable': result.pop(key, None) for elif op == 'disable': result[key] = False, so disable deletes the option instead of setting false.","sha256":"f9213201ce5d26e96dae5a40f1dbbabe63a2b06865255851185e3b2085622301","title":"Command option assignment: Disable deletes the option instead of setting false · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.401,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"a":0},"check":"fixture 2","expected":{"a":0},"passed":true},{"actual":{"a":[1,2,2]},"check":"fixture 3","expected":{"a":[1,2,2]},"passed":true},{"actual":{},"check":"fixture 4","expected":{},"passed":true},{"actual":{},"check":"fixture 5","expected":{},"passed":true},{"actual":{"a":true},"check":"fixture 6","expected":{"a":true},"passed":true},{"actual":{"a":null},"check":"fixture 7","expected":{"a":false},"passed":false},{"actual":{"a":1},"check":"fixture 8","expected":{"a":1},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"a\": 0}, \"expected\": {\"a\": 0}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"a\": [1, 2, 2]}, \"expected\": {\"a\": [1, 2, 2]}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"a\": true}, \"expected\": {\"a\": true}, \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": {\"a\": null}, \"expected\": {\"a\": false}, \"passed\": false}, {\"check\": \"fixture 8\", \"actual\": {\"a\": 1}, \"expected\": {\"a\": 1}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.171,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"a":0},"check":"fixture 2","expected":{"a":0},"passed":true},{"actual":{"a":[1,2,2]},"check":"fixture 3","expected":{"a":[1,2,2]},"passed":true},{"actual":{},"check":"fixture 4","expected":{},"passed":true},{"actual":{},"check":"fixture 5","expected":{},"passed":true},{"actual":{"a":true},"check":"fixture 6","expected":{"a":true},"passed":true},{"actual":{},"check":"fixture 7","expected":{"a":false},"passed":false},{"actual":{"a":1},"check":"fixture 8","expected":{"a":1},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"a\": 0}, \"expected\": {\"a\": 0}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"a\": [1, 2, 2]}, \"expected\": {\"a\": [1, 2, 2]}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"a\": true}, \"expected\": {\"a\": true}, \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": {}, \"expected\": {\"a\": false}, \"passed\": false}, {\"check\": \"fixture 8\", \"actual\": {\"a\": 1}, \"expected\": {\"a\": 1}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":50.365,"exit_code":0,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"a":0},"check":"fixture 2","expected":{"a":0},"passed":true},{"actual":{"a":[1,2,2]},"check":"fixture 3","expected":{"a":[1,2,2]},"passed":true},{"actual":{},"check":"fixture 4","expected":{},"passed":true},{"actual":{},"check":"fixture 5","expected":{},"passed":true},{"actual":{"a":true},"check":"fixture 6","expected":{"a":true},"passed":true},{"actual":{"a":false},"check":"fixture 7","expected":{"a":false},"passed":true},{"actual":{"a":1},"check":"fixture 8","expected":{"a":1},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"a\": 0}, \"expected\": {\"a\": 0}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"a\": [1, 2, 2]}, \"expected\": {\"a\": [1, 2, 2]}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"a\": true}, \"expected\": {\"a\": true}, \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": {\"a\": false}, \"expected\": {\"a\": false}, \"passed\": true}, {\"check\": \"fixture 8\", \"actual\": {\"a\": 1}, \"expected\": {\"a\": 1}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}