{"abstract":"Runtime dependencies require opt-in.","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.","contract_signature":"rows, enabled","evaluation_group":"xt-dependency-groups","failed_approach":"The attempted repair substitutes group != 'runtime'. Fixture 4 still yields [] instead of ['a'].","family":"xt-dependency-groups-runtime-group","id":"FA-9381","implementations":{"attempt":{"sha256":"7e0892c7ad287689ce666b08cea83a530127303c3aef8722a81c58851511cdfa","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': 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"},"broken":{"sha256":"573fef1dccf538756c06db6520d01e36099bef31d0fc37d483d55d7bf87d1466","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 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-runtime-group","generated_at":"2026-09-29T14:38:29.681732+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.","root_cause":"The implementation substitutes group not in enabled for group != 'runtime' and group not in enabled, so runtime dependencies require opt-in.","sha256":"b2f8c3b250fae0c36efda24799b23783f36597cc7b4a16e9424f14d6e7e2bd7b","title":"Dependency group activation: Runtime dependencies require opt-in · 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":34.63,"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":[],"check":"fixture 4","expected":["a"],"passed":false},{"actual":[],"check":"fixture 5","expected":[],"passed":true},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":["z"],"check":"fixture 7","expected":["a","z"],"passed":false}],"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\": [], \"expected\": [\"a\"], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [\"z\"], \"expected\": [\"a\", \"z\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.828,"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":["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":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\": [\"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\": 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."}}