{"abstract":"Identical duplicate entry points are rejected.","category":"Packaging","checks":6,"contract":"Build a group-to-name-to-target mapping, skip disabled declarations, reject conflicting duplicate names within a group, allow duplicates with the same target, and allow identical names across groups.","evaluation_group":"xt-entrypoints","failed_approach":"The attempted repair substitutes name in bucket or target in bucket.values(). Fixture 5 still yields 'conflict' instead of {'cli': {'run': 'a:main'}}.","family":"xt-entrypoints-duplicate-idempotence","id":"FA-9921","implementations":{"attempt":{"sha256":"01fc56e8fea1cfde4248bae1ad86e0bb84daa653a3dcf7883fb2b93be2602fa7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows):\n    result = {}\n    for group, name, target, enabled in rows:\n        if not enabled: continue\n        bucket = result.setdefault(group, {})\n        if name in bucket or target in bucket.values(): return 'conflict'\n        bucket[name] = target\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([('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 3', solve([('cli', 'run', 'a:main', False)]), {})\ncheck('fixture 4', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'b:main', True)]), 'conflict')\ncheck('fixture 5', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 6', solve([('cli', 'run', 'a:main', True), ('plugin', 'run', 'b:main', True)]), {'cli': {'run': 'a:main'}, 'plugin': {'run': 'b:main'}})\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":"57c54bdd596a06b08af38e5381b364734c3ce64711e7113644fecc811f0b2315","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows):\n    result = {}\n    for group, name, target, enabled in rows:\n        if not enabled: continue\n        bucket = result.setdefault(group, {})\n        if name in bucket: return 'conflict'\n        bucket[name] = target\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([('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 3', solve([('cli', 'run', 'a:main', False)]), {})\ncheck('fixture 4', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'b:main', True)]), 'conflict')\ncheck('fixture 5', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 6', solve([('cli', 'run', 'a:main', True), ('plugin', 'run', 'b:main', True)]), {'cli': {'run': 'a:main'}, 'plugin': {'run': 'b:main'}})\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":"2f547ee8def0920638766f1644428a8134da4a1c363fa799b33758655e68942e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rows):\n    result = {}\n    for group, name, target, enabled in rows:\n        if not enabled: continue\n        bucket = result.setdefault(group, {})\n        if name in bucket and bucket[name] != target: return 'conflict'\n        bucket[name] = target\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([('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 3', solve([('cli', 'run', 'a:main', False)]), {})\ncheck('fixture 4', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'b:main', True)]), 'conflict')\ncheck('fixture 5', solve([('cli', 'run', 'a:main', True), ('cli', 'run', 'a:main', True)]), {'cli': {'run': 'a:main'}})\ncheck('fixture 6', solve([('cli', 'run', 'a:main', True), ('plugin', 'run', 'b:main', True)]), {'cli': {'run': 'a:main'}, 'plugin': {'run': 'b:main'}})\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-entrypoints-duplicate-idempotence","generated_at":"2026-09-29T14:38:34.171306+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of entry point registry assembly, suitable for testing build and release tooling without external services.","repair":"Allow same-name same-target duplicate declarations.","root_cause":"The implementation substitutes name in bucket for name in bucket and bucket[name] != target, so identical duplicate entry points are rejected.","sha256":"df800ee949609b8803364bc383d66da173a99bbf69796d539c9d66a405092570","title":"Entry point registry assembly: Identical duplicate entry points are rejected · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":37.944,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"cli":{"run":"a:main"}},"check":"fixture 2","expected":{"cli":{"run":"a:main"}},"passed":true},{"actual":{},"check":"fixture 3","expected":{},"passed":true},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":"conflict","check":"fixture 5","expected":{"cli":{"run":"a:main"}},"passed":false},{"actual":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"check":"fixture 6","expected":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"cli\": {\"run\": \"a:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": \"conflict\", \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.196,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"cli":{"run":"a:main"}},"check":"fixture 2","expected":{"cli":{"run":"a:main"}},"passed":true},{"actual":{},"check":"fixture 3","expected":{},"passed":true},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":"conflict","check":"fixture 5","expected":{"cli":{"run":"a:main"}},"passed":false},{"actual":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"check":"fixture 6","expected":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"cli\": {\"run\": \"a:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": \"conflict\", \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.457,"exit_code":0,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":{"cli":{"run":"a:main"}},"check":"fixture 2","expected":{"cli":{"run":"a:main"}},"passed":true},{"actual":{},"check":"fixture 3","expected":{},"passed":true},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":{"cli":{"run":"a:main"}},"check":"fixture 5","expected":{"cli":{"run":"a:main"}},"passed":true},{"actual":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"check":"fixture 6","expected":{"cli":{"run":"a:main"},"plugin":{"run":"b:main"}},"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": {\"cli\": {\"run\": \"a:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": {\"cli\": {\"run\": \"a:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}}, \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"expected\": {\"cli\": {\"run\": \"a:main\"}, \"plugin\": {\"run\": \"b:main\"}}, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}