{"abstract":"Output names replace producing rule identities.","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 owners[output] = True. Fixture 2 still yields [('x', True), ('z', True)] instead of [('x', 'a'), ('z', 'a')].","family":"xt-generated-output-owner-value","id":"FA-9321","implementations":{"attempt":{"sha256":"77617e8784c0dc1ec7943b1b00766db2e93d113a5ad84514ee0876c975161afb","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:\n            if output in owners and owners[output] != name: return 'conflict'\n            owners[output] = True\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":"cf6eae69f2822378ee80ddc8549ebe47ad2fcdd56f963d1ea592a27d52dfc31c","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:\n            if output in owners and owners[output] != name: return 'conflict'\n            owners[output] = output\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-owner-value","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 owners[output] = output for owners[output] = name, so output names replace producing rule identities.","sha256":"43ce5494865ec0efddc7c619a643e3d049182864bd17e49277b0d6919d665a0c","title":"Generated file ownership: Output names replace producing rule identities · 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":36.63,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["x",true],["z",true]],"check":"fixture 2","expected":[["x","a"],["z","a"]],"passed":false},{"actual":[["x",true]],"check":"fixture 3","expected":[["x","b"]],"passed":false},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":"conflict","check":"fixture 5","expected":[["x","a"]],"passed":false},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":[["x",true],["y",true]],"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\", true], [\"z\", true]], \"expected\": [[\"x\", \"a\"], [\"z\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [[\"x\", true]], \"expected\": [[\"x\", \"b\"]], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": \"conflict\", \"expected\": [[\"x\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [[\"x\", true], [\"y\", true]], \"expected\": [[\"x\", \"b\"], [\"y\", \"a\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.36,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["x","x"],["z","z"]],"check":"fixture 2","expected":[["x","a"],["z","a"]],"passed":false},{"actual":[["x","x"]],"check":"fixture 3","expected":[["x","b"]],"passed":false},{"actual":"conflict","check":"fixture 4","expected":"conflict","passed":true},{"actual":"conflict","check":"fixture 5","expected":[["x","a"]],"passed":false},{"actual":[],"check":"fixture 6","expected":[],"passed":true},{"actual":[["x","x"],["y","y"]],"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\", \"x\"], [\"z\", \"z\"]], \"expected\": [[\"x\", \"a\"], [\"z\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [[\"x\", \"x\"]], \"expected\": [[\"x\", \"b\"]], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": \"conflict\", \"expected\": [[\"x\", \"a\"]], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [[\"x\", \"x\"], [\"y\", \"y\"]], \"expected\": [[\"x\", \"b\"], [\"y\", \"a\"]], \"passed\": false}], \"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."}}