{"abstract":"False environment markers are ignored.","category":"Dependency resolution","checks":7,"contract":"Return sorted unique dependency names from runtime and explicitly enabled optional groups. Exclude inactive markers and disabled entries; a dependency appearing in multiple groups is emitted once.","evaluation_group":"xt-dependency-groups","failed_approach":"The attempted repair substitutes if marker: continue. Fixture 2 still yields [] instead of ['a'].","family":"xt-dependency-groups-marker-filter","id":"FA-9391","implementations":{"attempt":{"sha256":"acb0d9c229e748bedaa91dea4075fe97b1525000cd1453c81cf39bc0dd78b88e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows, enabled):\n    selected = []\n    for name, group, marker, disabled in rows:\n        if group != 'runtime' and group not in enabled: continue\n        if marker: continue\n        if disabled: continue\n        selected.append(name)\n    return sorted(set(selected))\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', 'runtime', True, False)], []), ['a'])\ncheck('fixture 3', solve([('a', 'dev', True, False)], []), [])\ncheck('fixture 4', solve([('a', 'dev', True, False)], ['dev']), ['a'])\ncheck('fixture 5', solve([('a', 'runtime', False, False)], []), [])\ncheck('fixture 6', solve([('a', 'runtime', True, True)], []), [])\ncheck('fixture 7', solve([('z', 'runtime', True, False), ('a', 'dev', True, False), ('z', 'dev', True, False)], ['dev']), ['a', 'z'])\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":"95ae4e562c03eac009fcca10dfbfa509573f0478888bd32acd79c133e70068d6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows, enabled):\n    selected = []\n    for name, group, marker, disabled in rows:\n        if group != 'runtime' and group not in enabled: continue\n        if False: continue\n        if disabled: continue\n        selected.append(name)\n    return sorted(set(selected))\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', 'runtime', True, False)], []), ['a'])\ncheck('fixture 3', solve([('a', 'dev', True, False)], []), [])\ncheck('fixture 4', solve([('a', 'dev', True, False)], ['dev']), ['a'])\ncheck('fixture 5', solve([('a', 'runtime', False, False)], []), [])\ncheck('fixture 6', solve([('a', 'runtime', True, True)], []), [])\ncheck('fixture 7', solve([('z', 'runtime', True, False), ('a', 'dev', True, False), ('z', 'dev', True, False)], ['dev']), ['a', 'z'])\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":"1d8ef41da514736c11f17d6de7c87614627de2794085db73fb84824afa7040f1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows, enabled):\n    selected = []\n    for name, group, marker, disabled in rows:\n        if group != 'runtime' and group not in enabled: continue\n        if not marker: continue\n        if disabled: continue\n        selected.append(name)\n    return sorted(set(selected))\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', 'runtime', True, False)], []), ['a'])\ncheck('fixture 3', solve([('a', 'dev', True, False)], []), [])\ncheck('fixture 4', solve([('a', 'dev', True, False)], ['dev']), ['a'])\ncheck('fixture 5', solve([('a', 'runtime', False, False)], []), [])\ncheck('fixture 6', solve([('a', 'runtime', True, True)], []), [])\ncheck('fixture 7', solve([('z', 'runtime', True, False), ('a', 'dev', True, False), ('z', 'dev', True, False)], ['dev']), ['a', 'z'])\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-dependency-groups-marker-filter","generated_at":"2026-09-29T14:38:29.607261+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of dependency group activation, suitable for testing build and release tooling without external services.","repair":"Require a true environment marker.","root_cause":"The implementation substitutes if False: continue for if not marker: continue, so false environment markers are ignored.","sha256":"e229108058cef3251636653b4c941e084911294092b9e4c17ec8331f17f35d2f","title":"Dependency group activation: False environment markers are ignored · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":36.952,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[],"check":"fixture 2","expected":["a"],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[],"check":"fixture 4","expected":["a"],"passed":false},{"actual":["a"],"check":"fixture 5","expected":[],"passed":false},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":[],"check":"fixture 7","expected":["a","z"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [\"a\"], \"expected\": [], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [], \"expected\": [\"a\", \"z\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.261,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["a"],"check":"fixture 2","expected":["a"],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":["a"],"check":"fixture 4","expected":["a"],"passed":true},{"actual":["a"],"check":"fixture 5","expected":[],"passed":false},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":["a","z"],"check":"fixture 7","expected":["a","z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"a\"], \"expected\": [], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.308,"exit_code":0,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":["a"],"check":"fixture 2","expected":["a"],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":["a"],"check":"fixture 4","expected":["a"],"passed":true},{"actual":[],"check":"fixture 5","expected":[],"passed":true},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":["a","z"],"check":"fixture 7","expected":["a","z"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"a\"], \"expected\": [\"a\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [\"a\", \"z\"], \"expected\": [\"a\", \"z\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}