{"abstract":"Override provenance points to defaults.","category":"Configuration","checks":6,"contract":"Return final values and source names. Each present setting replaces prior value and provenance, deletions remove both, and layers with no assignment preserve provenance.","contract_signature":"layers","evaluation_group":"xt-settings-provenance","failed_approach":"The attempted repair substitutes sources[key] = key. Fixture 2 still yields ({'a': 2}, {'a': 'a'}) instead of ({'a': 2}, {'a': 'user'}).","family":"xt-settings-provenance-source-update","id":"FA-9771","implementations":{"attempt":{"sha256":"a2f27ba44f97ee312fbe4f54976792976707490d7ff622e20b51021f6b6bb2e7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(layers):\n    values = {}\n    sources = {}\n    for source, settings in layers:\n        for key, value in settings.items():\n            if value is None:\n                values.pop(key, None)\n                sources.pop(key, None)\n            else:\n                values[key] = value\n                sources[key] = key\n    return (values, sources)\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([('default', {'a': 1}), ('user', {'a': 2})]), ({'a': 2}, {'a': 'user'}))\ncheck('fixture 3', solve([('default', {'a': 1}), ('user', {'a': None})]), ({}, {}))\ncheck('fixture 4', solve([('default', {'a': 1}), ('user', {})]), ({'a': 1}, {'a': 'default'}))\ncheck('fixture 5', solve([('default', {'a': 1}), ('user', {'a': 1})]), ({'a': 1}, {'a': 'user'}))\ncheck('fixture 6', solve([('default', {'a': 1}), ('user', {'a': False})]), ({'a': False}, {'a': 'user'}))\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":"327a397d3fe1fca513736df41127e69e0a1d707011e79b3075d8a27156c0a529","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(layers):\n    values = {}\n    sources = {}\n    for source, settings in layers:\n        for key, value in settings.items():\n            if value is None:\n                values.pop(key, None)\n                sources.pop(key, None)\n            else:\n                values[key] = value\n                sources.setdefault(key, source)\n    return (values, sources)\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([('default', {'a': 1}), ('user', {'a': 2})]), ({'a': 2}, {'a': 'user'}))\ncheck('fixture 3', solve([('default', {'a': 1}), ('user', {'a': None})]), ({}, {}))\ncheck('fixture 4', solve([('default', {'a': 1}), ('user', {})]), ({'a': 1}, {'a': 'default'}))\ncheck('fixture 5', solve([('default', {'a': 1}), ('user', {'a': 1})]), ({'a': 1}, {'a': 'user'}))\ncheck('fixture 6', solve([('default', {'a': 1}), ('user', {'a': False})]), ({'a': False}, {'a': 'user'}))\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-settings-provenance-source-update","generated_at":"2026-09-29T14:38:32.939034+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of configuration provenance tracking, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes sources.setdefault(key, source) for sources[key] = source, so override provenance points to defaults.","sha256":"120e9aa4e90969d87ab09fb8fdcbcc9c8772939a5ea90ed6927b6d76cfba7020","title":"Configuration provenance tracking: Override provenance points to defaults · 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":39.298,"exit_code":1,"observations":[{"actual":[{},{}],"check":"fixture 1","expected":[{},{}],"passed":true},{"actual":[{"a":2},{"a":"a"}],"check":"fixture 2","expected":[{"a":2},{"a":"user"}],"passed":false},{"actual":[{},{}],"check":"fixture 3","expected":[{},{}],"passed":true},{"actual":[{"a":1},{"a":"a"}],"check":"fixture 4","expected":[{"a":1},{"a":"default"}],"passed":false},{"actual":[{"a":1},{"a":"a"}],"check":"fixture 5","expected":[{"a":1},{"a":"user"}],"passed":false},{"actual":[{"a":false},{"a":"a"}],"check":"fixture 6","expected":[{"a":false},{"a":"user"}],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [{\"a\": 2}, {\"a\": \"a\"}], \"expected\": [{\"a\": 2}, {\"a\": \"user\"}], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [{\"a\": 1}, {\"a\": \"a\"}], \"expected\": [{\"a\": 1}, {\"a\": \"default\"}], \"passed\": false}, {\"check\": \"fixture 5\", \"actual\": [{\"a\": 1}, {\"a\": \"a\"}], \"expected\": [{\"a\": 1}, {\"a\": \"user\"}], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [{\"a\": false}, {\"a\": \"a\"}], \"expected\": [{\"a\": false}, {\"a\": \"user\"}], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.237,"exit_code":1,"observations":[{"actual":[{},{}],"check":"fixture 1","expected":[{},{}],"passed":true},{"actual":[{"a":2},{"a":"default"}],"check":"fixture 2","expected":[{"a":2},{"a":"user"}],"passed":false},{"actual":[{},{}],"check":"fixture 3","expected":[{},{}],"passed":true},{"actual":[{"a":1},{"a":"default"}],"check":"fixture 4","expected":[{"a":1},{"a":"default"}],"passed":true},{"actual":[{"a":1},{"a":"default"}],"check":"fixture 5","expected":[{"a":1},{"a":"user"}],"passed":false},{"actual":[{"a":false},{"a":"default"}],"check":"fixture 6","expected":[{"a":false},{"a":"user"}],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [{\"a\": 2}, {\"a\": \"default\"}], \"expected\": [{\"a\": 2}, {\"a\": \"user\"}], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [{\"a\": 1}, {\"a\": \"default\"}], \"expected\": [{\"a\": 1}, {\"a\": \"default\"}], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [{\"a\": 1}, {\"a\": \"default\"}], \"expected\": [{\"a\": 1}, {\"a\": \"user\"}], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [{\"a\": false}, {\"a\": \"default\"}], \"expected\": [{\"a\": false}, {\"a\": \"user\"}], \"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."}}