{"abstract":"Disabled feature implications activate dependencies.","category":"Dependency resolution","checks":8,"contract":"Activate named features and their implications, preserve unknown requested leaves, ignore disabled implication edges, deduplicate cycles, and return sorted activated features.","evaluation_group":"xt-feature-closure","failed_approach":"The attempted repair substitutes if not enabled. Fixture 4 still yields ['a', 'c'] instead of ['a', 'b'].","family":"xt-feature-closure-disabled-edge","id":"FA-9521","implementations":{"attempt":{"sha256":"f1ea92eb4b7ecd7a0df2eb198c6ee682897a5e7e72cc3de44573301d40f2abc3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(requested, implications):\n    active = set(requested)\n    for _ in range(len(implications) + 1):\n        for feature, edges in implications.items():\n            if feature in active:\n                active.update(name for name, enabled in edges if not enabled)\n    return sorted(active)\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(['x'], {}), ['x'])\ncheck('fixture 3', solve(['other'], {'a': [('b', True)]}), ['other'])\ncheck('fixture 4', solve(['a'], {'a': [('b', True), ('c', False)]}), ['a', 'b'])\ncheck('fixture 5', solve(['a'], {'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c'])\ncheck('fixture 6', solve(['a'], {'a': [('b', True)], 'b': [('a', True)]}), ['a', 'b'])\ncheck('fixture 7', solve(['z', 'a', 'z'], {}), ['a', 'z'])\ncheck('fixture 8', solve(['a'], {'c': [('d', True)], 'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c', 'd'])\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":"16506b54d1d066b8422809971f62da5341c6e7eda088615b0b824df91102a6ed","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(requested, implications):\n    active = set(requested)\n    for _ in range(len(implications) + 1):\n        for feature, edges in implications.items():\n            if feature in active:\n                active.update(name for name, enabled in edges if True)\n    return sorted(active)\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(['x'], {}), ['x'])\ncheck('fixture 3', solve(['other'], {'a': [('b', True)]}), ['other'])\ncheck('fixture 4', solve(['a'], {'a': [('b', True), ('c', False)]}), ['a', 'b'])\ncheck('fixture 5', solve(['a'], {'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c'])\ncheck('fixture 6', solve(['a'], {'a': [('b', True)], 'b': [('a', True)]}), ['a', 'b'])\ncheck('fixture 7', solve(['z', 'a', 'z'], {}), ['a', 'z'])\ncheck('fixture 8', solve(['a'], {'c': [('d', True)], 'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c', 'd'])\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":"61507dca56ea28864086fcc573f8f548cbb9c5591c881c15acb705cc1fb27398","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(requested, implications):\n    active = set(requested)\n    for _ in range(len(implications) + 1):\n        for feature, edges in implications.items():\n            if feature in active:\n                active.update(name for name, enabled in edges if enabled)\n    return sorted(active)\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(['x'], {}), ['x'])\ncheck('fixture 3', solve(['other'], {'a': [('b', True)]}), ['other'])\ncheck('fixture 4', solve(['a'], {'a': [('b', True), ('c', False)]}), ['a', 'b'])\ncheck('fixture 5', solve(['a'], {'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c'])\ncheck('fixture 6', solve(['a'], {'a': [('b', True)], 'b': [('a', True)]}), ['a', 'b'])\ncheck('fixture 7', solve(['z', 'a', 'z'], {}), ['a', 'z'])\ncheck('fixture 8', solve(['a'], {'c': [('d', True)], 'b': [('c', True)], 'a': [('b', True)]}), ['a', 'b', 'c', 'd'])\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-feature-closure-disabled-edge","generated_at":"2026-09-29T14:38:30.700993+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of feature activation closure, suitable for testing build and release tooling without external services.","repair":"Ignore disabled implication edges.","root_cause":"The implementation substitutes if True for if enabled, so disabled feature implications activate dependencies.","sha256":"e84bd61cda1df7494bb2587016970c9942f127551b2e4c35681c5436141a6681","title":"Feature activation closure: Disabled feature implications activate dependencies · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.355,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["x"],"check":"fixture 2","expected":["x"],"passed":true},{"actual":["other"],"check":"fixture 3","expected":["other"],"passed":true},{"actual":["a","c"],"check":"fixture 4","expected":["a","b"],"passed":false},{"actual":["a"],"check":"fixture 5","expected":["a","b","c"],"passed":false},{"actual":["a"],"check":"fixture 6","expected":["a","b"],"passed":false},{"actual":["a","z"],"check":"fixture 7","expected":["a","z"],"passed":true},{"actual":["a"],"check":"fixture 8","expected":["a","b","c","d"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"x\"], \"expected\": [\"x\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"other\"], \"expected\": [\"other\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\", \"c\"], \"expected\": [\"a\", \"b\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"a\"], \"expected\": [\"a\", \"b\", \"c\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"a\"], \"expected\": [\"a\", \"b\"], \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}, {\"check\": \"fixture 8\", \"actual\": [\"a\"], \"expected\": [\"a\", \"b\", \"c\", \"d\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.537,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["x"],"check":"fixture 2","expected":["x"],"passed":true},{"actual":["other"],"check":"fixture 3","expected":["other"],"passed":true},{"actual":["a","b","c"],"check":"fixture 4","expected":["a","b"],"passed":false},{"actual":["a","b","c"],"check":"fixture 5","expected":["a","b","c"],"passed":true},{"actual":["a","b"],"check":"fixture 6","expected":["a","b"],"passed":true},{"actual":["a","z"],"check":"fixture 7","expected":["a","z"],"passed":true},{"actual":["a","b","c","d"],"check":"fixture 8","expected":["a","b","c","d"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"x\"], \"expected\": [\"x\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"other\"], \"expected\": [\"other\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\", \"b\", \"c\"], \"expected\": [\"a\", \"b\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"a\", \"b\", \"c\"], \"expected\": [\"a\", \"b\", \"c\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}, {\"check\": \"fixture 8\", \"actual\": [\"a\", \"b\", \"c\", \"d\"], \"expected\": [\"a\", \"b\", \"c\", \"d\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.693,"exit_code":0,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["x"],"check":"fixture 2","expected":["x"],"passed":true},{"actual":["other"],"check":"fixture 3","expected":["other"],"passed":true},{"actual":["a","b"],"check":"fixture 4","expected":["a","b"],"passed":true},{"actual":["a","b","c"],"check":"fixture 5","expected":["a","b","c"],"passed":true},{"actual":["a","b"],"check":"fixture 6","expected":["a","b"],"passed":true},{"actual":["a","z"],"check":"fixture 7","expected":["a","z"],"passed":true},{"actual":["a","b","c","d"],"check":"fixture 8","expected":["a","b","c","d"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"x\"], \"expected\": [\"x\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"other\"], \"expected\": [\"other\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"a\", \"b\", \"c\"], \"expected\": [\"a\", \"b\", \"c\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}, {\"check\": \"fixture 8\", \"actual\": [\"a\", \"b\", \"c\", \"d\"], \"expected\": [\"a\", \"b\", \"c\", \"d\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}