{"abstract":"Deleted settings retain stale provenance.","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] = source. Fixture 3 still yields ({}, {'a': 'user'}) instead of ({}, {}).","family":"xt-settings-provenance-delete-provenance","id":"FA-9761","implementations":{"attempt":{"sha256":"1549773e1279cf824a328bfd0ea09ca3b679d513157175569adaf0dc41f81b96","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[key] = source\n            else:\n                values[key] = value\n                sources[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"},"broken":{"sha256":"2e5a9e484c91c4d22eef7bff360006d9d9ae188093e688459a37e6a50ea361ab","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                pass\n            else:\n                values[key] = value\n                sources[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-delete-provenance","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 pass for sources.pop(key, None), so deleted settings retain stale provenance.","sha256":"67fbdace4d507ab583a0ae5a3cbaa081828ba186cf230002453315ba0f41e093","title":"Configuration provenance tracking: Deleted settings retain stale provenance · 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.805,"exit_code":1,"observations":[{"actual":[{},{}],"check":"fixture 1","expected":[{},{}],"passed":true},{"actual":[{"a":2},{"a":"user"}],"check":"fixture 2","expected":[{"a":2},{"a":"user"}],"passed":true},{"actual":[{},{"a":"user"}],"check":"fixture 3","expected":[{},{}],"passed":false},{"actual":[{"a":1},{"a":"default"}],"check":"fixture 4","expected":[{"a":1},{"a":"default"}],"passed":true},{"actual":[{"a":1},{"a":"user"}],"check":"fixture 5","expected":[{"a":1},{"a":"user"}],"passed":true},{"actual":[{"a":false},{"a":"user"}],"check":"fixture 6","expected":[{"a":false},{"a":"user"}],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [{\"a\": 2}, {\"a\": \"user\"}], \"expected\": [{\"a\": 2}, {\"a\": \"user\"}], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [{}, {\"a\": \"user\"}], \"expected\": [{}, {}], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [{\"a\": 1}, {\"a\": \"default\"}], \"expected\": [{\"a\": 1}, {\"a\": \"default\"}], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [{\"a\": 1}, {\"a\": \"user\"}], \"expected\": [{\"a\": 1}, {\"a\": \"user\"}], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [{\"a\": false}, {\"a\": \"user\"}], \"expected\": [{\"a\": false}, {\"a\": \"user\"}], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.348,"exit_code":1,"observations":[{"actual":[{},{}],"check":"fixture 1","expected":[{},{}],"passed":true},{"actual":[{"a":2},{"a":"user"}],"check":"fixture 2","expected":[{"a":2},{"a":"user"}],"passed":true},{"actual":[{},{"a":"default"}],"check":"fixture 3","expected":[{},{}],"passed":false},{"actual":[{"a":1},{"a":"default"}],"check":"fixture 4","expected":[{"a":1},{"a":"default"}],"passed":true},{"actual":[{"a":1},{"a":"user"}],"check":"fixture 5","expected":[{"a":1},{"a":"user"}],"passed":true},{"actual":[{"a":false},{"a":"user"}],"check":"fixture 6","expected":[{"a":false},{"a":"user"}],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [{}, {}], \"expected\": [{}, {}], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [{\"a\": 2}, {\"a\": \"user\"}], \"expected\": [{\"a\": 2}, {\"a\": \"user\"}], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [{}, {\"a\": \"default\"}], \"expected\": [{}, {}], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [{\"a\": 1}, {\"a\": \"default\"}], \"expected\": [{\"a\": 1}, {\"a\": \"default\"}], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [{\"a\": 1}, {\"a\": \"user\"}], \"expected\": [{\"a\": 1}, {\"a\": \"user\"}], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [{\"a\": false}, {\"a\": \"user\"}], \"expected\": [{\"a\": false}, {\"a\": \"user\"}], \"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."}}