{"abstract":"Only one output of a generator is registered.","category":"Build systems","checks":7,"contract":"Map output names to producing rules. Skip disabled rules, include all declared outputs, reject duplicate owners, retain owner names, and return sorted pairs. Duplicate declaration by the same owner is harmless.","contract_signature":"rules","evaluation_group":"xt-generated-output","failed_approach":"The attempted repair substitutes for output in outputs[1:]:. Fixture 2 still yields [('x', 'a')] instead of [('x', 'a'), ('z', 'a')].","family":"xt-generated-output-multi-output","id":"FA-9311","implementations":{"attempt":{"sha256":"e23547d3438267666394025ba9f43a2f741a916bc94e5be7d21da6d10ca0000a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rules):\n    owners = {}\n    for name, enabled, outputs in rules:\n        if not enabled: continue\n        for output in outputs[1:]:\n            if output in owners and owners[output] != name: return 'conflict'\n            owners[output] = name\n    return sorted(owners.items())\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', True, ['z', 'x'])]), [('x', 'a'), ('z', 'a')])\ncheck('fixture 3', solve([('a', False, ['x']), ('b', True, ['x'])]), [('x', 'b')])\ncheck('fixture 4', solve([('a', True, ['x']), ('b', True, ['x'])]), 'conflict')\ncheck('fixture 5', solve([('a', True, ['x', 'x'])]), [('x', 'a')])\ncheck('fixture 6', solve([('a', True, [])]), [])\ncheck('fixture 7', solve([('a', True, ['y']), ('b', True, ['x'])]), [('x', 'b'), ('y', 'a')])\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":"340b4aa17cf67c0a02d1d104c4caaaf3241fcf4345b0e70d36cee5022110aca0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(rules):\n    owners = {}\n    for name, enabled, outputs in rules:\n        if not enabled: continue\n        for output in outputs[:1]:\n            if output in owners and owners[output] != name: return 'conflict'\n            owners[output] = name\n    return sorted(owners.items())\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', True, ['z', 'x'])]), [('x', 'a'), ('z', 'a')])\ncheck('fixture 3', solve([('a', False, ['x']), ('b', True, ['x'])]), [('x', 'b')])\ncheck('fixture 4', solve([('a', True, ['x']), ('b', True, ['x'])]), 'conflict')\ncheck('fixture 5', solve([('a', True, ['x', 'x'])]), [('x', 'a')])\ncheck('fixture 6', solve([('a', True, [])]), [])\ncheck('fixture 7', solve([('a', True, ['y']), ('b', True, ['x'])]), [('x', 'b'), ('y', 'a')])\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-generated-output-multi-output","generated_at":"2026-09-29T14:38:29.045256+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of generated file ownership, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes for output in outputs[:1]: for for output in outputs:, so only one output of a generator is registered.","sha256":"c222541b1ef50f8bd0b7fa929ad9e99dfb22aeb0768e6e6047f3f20a5b42bff0","title":"Generated file ownership: Only one output of a generator is registered · 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":37.459,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["x","a"]],"check":"fixture 2","expected":[["x","a"],["z","a"]],"passed":false},{"actual":[],"check":"fixture 3","expected":[["x","b"]],"passed":false},{"actual":[],"check":"fixture 4","expected":"conflict","passed":false},{"actual":[["x","a"]],"check":"fixture 5","expected":[["x","a"]],"passed":true},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":[],"check":"fixture 7","expected":[["x","b"],["y","a"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"x\", \"a\"]], \"expected\": [[\"x\", \"a\"], [\"z\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [[\"x\", \"b\"]], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [], \"expected\": \"conflict\", \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [[\"x\", \"a\"]], \"expected\": [[\"x\", \"a\"]], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [], \"expected\": [[\"x\", \"b\"], [\"y\", \"a\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.514,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["z","a"]],"check":"fixture 2","expected":[["x","a"],["z","a"]],"passed":false},{"actual":[["x","b"]],"check":"fixture 3","expected":[["x","b"]],"passed":true},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":[["x","a"]],"check":"fixture 5","expected":[["x","a"]],"passed":true},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":[["x","b"],["y","a"]],"check":"fixture 7","expected":[["x","b"],["y","a"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"z\", \"a\"]], \"expected\": [[\"x\", \"a\"], [\"z\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [[\"x\", \"b\"]], \"expected\": [[\"x\", \"b\"]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [[\"x\", \"a\"]], \"expected\": [[\"x\", \"a\"]], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [[\"x\", \"b\"], [\"y\", \"a\"]], \"expected\": [[\"x\", \"b\"], [\"y\", \"a\"]], \"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."}}