{"abstract":"Conflicting editable modules silently override.","category":"Packaging","checks":7,"contract":"Resolve declared modules to their source directories, reject missing sources, reject duplicate module names pointing elsewhere, exclude disabled declarations, and keep module names sorted. Identical repeats are allowed.","contract_signature":"declarations, available","evaluation_group":"xt-editable-install","failed_approach":"The attempted repair substitutes module in result. Fixture 6 still yields 'conflict' instead of [('a', 'src/a')].","family":"xt-editable-install-mapping-conflict","id":"FA-10041","implementations":{"attempt":{"sha256":"4ee3078c74ee7b692ad25b648b50524dbfbe2234f9c424703d157c6db4606240","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(declarations, available):\n    result = {}\n    for module, directory, enabled in declarations:\n        if not enabled: continue\n        if directory not in available: return 'missing-source'\n        if module in result: return 'conflict'\n        result[module] = directory\n    return sorted(result.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', 'src/a', True)], ['src/a']), [('a', 'src/a')])\ncheck('fixture 3', solve([('a', 'src/a', False)], []), [])\ncheck('fixture 4', solve([('a', 'src/a', True)], []), 'missing-source')\ncheck('fixture 5', solve([('a', 'src/a', True), ('a', 'lib/a', True)], ['src/a', 'lib/a']), 'conflict')\ncheck('fixture 6', solve([('a', 'src/a', True), ('a', 'src/a', True)], ['src/a']), [('a', 'src/a')])\ncheck('fixture 7', solve([('z', 'src/z', True), ('a', 'src/a', True)], ['src/a', 'src/z']), [('a', 'src/a'), ('z', 'src/z')])\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":"0494b9499274782f688b27ca418c23eb1b52d650db77bf23d6bf4455d2690571","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(declarations, available):\n    result = {}\n    for module, directory, enabled in declarations:\n        if not enabled: continue\n        if directory not in available: return 'missing-source'\n        if False: return 'conflict'\n        result[module] = directory\n    return sorted(result.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', 'src/a', True)], ['src/a']), [('a', 'src/a')])\ncheck('fixture 3', solve([('a', 'src/a', False)], []), [])\ncheck('fixture 4', solve([('a', 'src/a', True)], []), 'missing-source')\ncheck('fixture 5', solve([('a', 'src/a', True), ('a', 'lib/a', True)], ['src/a', 'lib/a']), 'conflict')\ncheck('fixture 6', solve([('a', 'src/a', True), ('a', 'src/a', True)], ['src/a']), [('a', 'src/a')])\ncheck('fixture 7', solve([('z', 'src/z', True), ('a', 'src/a', True)], ['src/a', 'src/z']), [('a', 'src/a'), ('z', 'src/z')])\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-editable-install-mapping-conflict","generated_at":"2026-09-29T14:38:35.419022+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of editable installation mapping, suitable for testing build and release tooling without external services.","root_cause":"The implementation substitutes False for module in result and result[module] != directory, so conflicting editable modules silently override.","sha256":"f1d6dc9cc54c93bfb5ddba94761af31c22221871d6642f94186fc76d777d606e","title":"Editable installation mapping: Conflicting editable modules silently override · 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.473,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a","src/a"]],"check":"fixture 2","expected":[["a","src/a"]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":"missing-source","check":"fixture 4","expected":"missing-source","passed":true},{"actual":"conflict","check":"fixture 5","expected":"conflict","passed":true},{"actual":"conflict","check":"fixture 6","expected":[["a","src/a"]],"passed":false},{"actual":[["a","src/a"],["z","src/z"]],"check":"fixture 7","expected":[["a","src/a"],["z","src/z"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", \"src/a\"]], \"expected\": [[\"a\", \"src/a\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"missing-source\", \"expected\": \"missing-source\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": \"conflict\", \"expected\": \"conflict\", \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": \"conflict\", \"expected\": [[\"a\", \"src/a\"]], \"passed\": false}, {\"check\": \"fixture 7\", \"actual\": [[\"a\", \"src/a\"], [\"z\", \"src/z\"]], \"expected\": [[\"a\", \"src/a\"], [\"z\", \"src/z\"]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.341,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[],"passed":true},{"actual":[["a","src/a"]],"check":"fixture 2","expected":[["a","src/a"]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":"missing-source","check":"fixture 4","expected":"missing-source","passed":true},{"actual":[["a","lib/a"]],"check":"fixture 5","expected":"conflict","passed":false},{"actual":[["a","src/a"]],"check":"fixture 6","expected":[["a","src/a"]],"passed":true},{"actual":[["a","src/a"],["z","src/z"]],"check":"fixture 7","expected":[["a","src/a"],["z","src/z"]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[\"a\", \"src/a\"]], \"expected\": [[\"a\", \"src/a\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": \"missing-source\", \"expected\": \"missing-source\", \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [[\"a\", \"lib/a\"]], \"expected\": \"conflict\", \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [[\"a\", \"src/a\"]], \"expected\": [[\"a\", \"src/a\"]], \"passed\": true}, {\"check\": \"fixture 7\", \"actual\": [[\"a\", \"src/a\"], [\"z\", \"src/z\"]], \"expected\": [[\"a\", \"src/a\"], [\"z\", \"src/z\"]], \"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."}}