{"abstract":"Parent values override child configuration.","category":"Configuration","checks":7,"contract":"Resolve parent chains before child values, reject missing profiles, reject cycles, remove the reserved parent field, and allow explicit false values to override.","contract_signature":"profiles, name","evaluation_group":"xt-profile-inheritance","failed_approach":"The attempted repair substitutes for profile in chain[:1]:. Fixture 4 still yields {'x': 2} instead of {'x': 2, 'y': 4}.","family":"xt-profile-inheritance-parent-precedence","id":"FA-9666","implementations":{"attempt":{"sha256":"785c43d83031fbbfe54c6a50cb087de8f577b361707bb4714742871fc7c1f9e1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(profiles, name):\n    chain = []\n    seen = set()\n    while name is not None:\n        if name in seen: return 'cycle'\n        if name not in profiles: return 'missing'\n        seen.add(name)\n        chain.append(profiles[name])\n        name = profiles[name].get('parent')\n    result = {}\n    for profile in chain[:1]:\n        result.update({k:v for k,v in profile.items() if k != 'parent'})\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, None), {})\ncheck('fixture 2', solve({}, 'x'), 'missing')\ncheck('fixture 3', solve({'a': {'x': 1}}, 'a'), {'x': 1})\ncheck('fixture 4', solve({'a': {'x': 1, 'y': 4}, 'b': {'parent': 'a', 'x': 2}}, 'b'), {'x': 2, 'y': 4})\ncheck('fixture 5', solve({'a': {'parent': 'b'}, 'b': {'parent': 'a'}}, 'a'), 'cycle')\ncheck('fixture 6', solve({'a': {'x': True}, 'b': {'parent': 'a', 'x': False}}, 'b'), {'x': False})\ncheck('fixture 7', solve({'a': {'parent': 'absent'}}, 'a'), 'missing')\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":"ac64617f5e90cd88f86f8ad85eb8412f370b46eaa051f59b44d979bc63644d72","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(profiles, name):\n    chain = []\n    seen = set()\n    while name is not None:\n        if name in seen: return 'cycle'\n        if name not in profiles: return 'missing'\n        seen.add(name)\n        chain.append(profiles[name])\n        name = profiles[name].get('parent')\n    result = {}\n    for profile in chain:\n        result.update({k:v for k,v in profile.items() if k != 'parent'})\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve({}, None), {})\ncheck('fixture 2', solve({}, 'x'), 'missing')\ncheck('fixture 3', solve({'a': {'x': 1}}, 'a'), {'x': 1})\ncheck('fixture 4', solve({'a': {'x': 1, 'y': 4}, 'b': {'parent': 'a', 'x': 2}}, 'b'), {'x': 2, 'y': 4})\ncheck('fixture 5', solve({'a': {'parent': 'b'}, 'b': {'parent': 'a'}}, 'a'), 'cycle')\ncheck('fixture 6', solve({'a': {'x': True}, 'b': {'parent': 'a', 'x': False}}, 'b'), {'x': False})\ncheck('fixture 7', solve({'a': {'parent': 'absent'}}, 'a'), 'missing')\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-profile-inheritance-parent-precedence","generated_at":"2026-09-29T14:38:32.097773+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of profile inheritance expansion, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes for profile in chain: for for profile in reversed(chain):, so parent values override child configuration.","sha256":"465dff1120f569846c7788ec589e9e4e411caed22a61a17e207cb440bdbd447c","title":"Profile inheritance expansion: Parent values override child configuration · 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":41.248,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":"missing","check":"fixture 2","expected":"missing","passed":true},{"actual":{"x":1},"check":"fixture 3","expected":{"x":1},"passed":true},{"actual":{"x":2},"check":"fixture 4","expected":{"x":2,"y":4},"passed":false},{"actual":"cycle","check":"fixture 5","expected":"cycle","passed":true},{"actual":{"x":false},"check":"fixture 6","expected":{"x":false},"passed":true},{"actual":"missing","check":"fixture 7","expected":"missing","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"x\": 1}, \"expected\": {\"x\": 1}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {\"x\": 2}, \"expected\": {\"x\": 2, \"y\": 4}, \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": \"cycle\", \"expected\": \"cycle\", \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"x\": false}, \"expected\": {\"x\": false}, \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.026,"exit_code":1,"observations":[{"actual":{},"check":"fixture 1","expected":{},"passed":true},{"actual":"missing","check":"fixture 2","expected":"missing","passed":true},{"actual":{"x":1},"check":"fixture 3","expected":{"x":1},"passed":true},{"actual":{"x":1,"y":4},"check":"fixture 4","expected":{"x":2,"y":4},"passed":false},{"actual":"cycle","check":"fixture 5","expected":"cycle","passed":true},{"actual":{"x":true},"check":"fixture 6","expected":{"x":false},"passed":false},{"actual":"missing","check":"fixture 7","expected":"missing","passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": {}, \"expected\": {}, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": \"missing\", \"expected\": \"missing\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": {\"x\": 1}, \"expected\": {\"x\": 1}, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": {\"x\": 1, \"y\": 4}, \"expected\": {\"x\": 2, \"y\": 4}, \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": \"cycle\", \"expected\": \"cycle\", \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": {\"x\": true}, \"expected\": {\"x\": false}, \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": \"missing\", \"expected\": \"missing\", \"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."}}