{"abstract":"Search path arguments are collapsed.","category":"Build systems","checks":6,"contract":"Emit object arguments first, then each archive in declared order preserving repeats, then frameworks as paired flags, then search directories as paired flags, then the output pair.","evaluation_group":"xt-link-line","failed_approach":"The attempted repair substitutes [name]. Fixture 2 still yields ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '/lib a', '/lib b', '-o', 'my app'] instead of ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'].","family":"xt-link-line-search-pair","id":"FA-9171","implementations":{"attempt":{"sha256":"1752d25e50f2b127c2687b75d5ee037e03ba040b3961a03346c1efdb5c56dbd9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(objects, archives, frameworks, directories, output):\n    result = list(objects)\n    result += list(archives)\n    result += [part for name in frameworks for part in ['-framework', name]]\n    result += [part for name in directories for part in [name]]\n    result += ['-o', output]\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], 'app'), ['-o', 'app'])\ncheck('fixture 2', solve(['b.o', 'a.o'], ['x.a', 'y.a', 'x.a'], ['Core', 'UI'], ['/lib a', '/lib b'], 'my app'), ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'])\ncheck('fixture 3', solve(['a.o'], ['b.a'], [], [], 'x'), ['a.o', 'b.a', '-o', 'x'])\ncheck('fixture 4', solve([], [], ['Core'], [], 'x'), ['-framework', 'Core', '-o', 'x'])\ncheck('fixture 5', solve([], [], [], ['space dir'], 'x'), ['-L', 'space dir', '-o', 'x'])\ncheck('fixture 6', solve(['z.o'], [], ['A'], ['D'], 'z'), ['z.o', '-framework', 'A', '-L', 'D', '-o', '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":"027cea680383d9686441f36ecd1a956f283f8b18f421223eceda31cc76717832","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(objects, archives, frameworks, directories, output):\n    result = list(objects)\n    result += list(archives)\n    result += [part for name in frameworks for part in ['-framework', name]]\n    result += [part for name in directories for part in ['-L' + name]]\n    result += ['-o', output]\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], 'app'), ['-o', 'app'])\ncheck('fixture 2', solve(['b.o', 'a.o'], ['x.a', 'y.a', 'x.a'], ['Core', 'UI'], ['/lib a', '/lib b'], 'my app'), ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'])\ncheck('fixture 3', solve(['a.o'], ['b.a'], [], [], 'x'), ['a.o', 'b.a', '-o', 'x'])\ncheck('fixture 4', solve([], [], ['Core'], [], 'x'), ['-framework', 'Core', '-o', 'x'])\ncheck('fixture 5', solve([], [], [], ['space dir'], 'x'), ['-L', 'space dir', '-o', 'x'])\ncheck('fixture 6', solve(['z.o'], [], ['A'], ['D'], 'z'), ['z.o', '-framework', 'A', '-L', 'D', '-o', '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"},"fixed":{"sha256":"869b197b8f76034181fdc3150a3c5c2f072c8a769c951c1ac0b5afb977224fc5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(objects, archives, frameworks, directories, output):\n    result = list(objects)\n    result += list(archives)\n    result += [part for name in frameworks for part in ['-framework', name]]\n    result += [part for name in directories for part in ['-L', name]]\n    result += ['-o', output]\n    return result\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1', solve([], [], [], [], 'app'), ['-o', 'app'])\ncheck('fixture 2', solve(['b.o', 'a.o'], ['x.a', 'y.a', 'x.a'], ['Core', 'UI'], ['/lib a', '/lib b'], 'my app'), ['b.o', 'a.o', 'x.a', 'y.a', 'x.a', '-framework', 'Core', '-framework', 'UI', '-L', '/lib a', '-L', '/lib b', '-o', 'my app'])\ncheck('fixture 3', solve(['a.o'], ['b.a'], [], [], 'x'), ['a.o', 'b.a', '-o', 'x'])\ncheck('fixture 4', solve([], [], ['Core'], [], 'x'), ['-framework', 'Core', '-o', 'x'])\ncheck('fixture 5', solve([], [], [], ['space dir'], 'x'), ['-L', 'space dir', '-o', 'x'])\ncheck('fixture 6', solve(['z.o'], [], ['A'], ['D'], 'z'), ['z.o', '-framework', 'A', '-L', 'D', '-o', '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-link-line-search-pair","generated_at":"2026-09-29T14:38:27.688371+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"An offline model of link command assembly, suitable for testing build and release tooling without external services.","repair":"Respect the model contract requiring separate search path arguments.","root_cause":"The implementation substitutes ['-L' + name] for ['-L', name], so search path arguments are collapsed.","sha256":"2ffa43a1c2db78fd21b4063404672cfcad792b5a2c9b769b58152c7741394d06","title":"Link command assembly: Search path arguments are collapsed · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.104,"exit_code":1,"observations":[{"actual":["-o","app"],"check":"fixture 1","expected":["-o","app"],"passed":true},{"actual":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","/lib a","/lib b","-o","my app"],"check":"fixture 2","expected":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"passed":false},{"actual":["a.o","b.a","-o","x"],"check":"fixture 3","expected":["a.o","b.a","-o","x"],"passed":true},{"actual":["-framework","Core","-o","x"],"check":"fixture 4","expected":["-framework","Core","-o","x"],"passed":true},{"actual":["space dir","-o","x"],"check":"fixture 5","expected":["-L","space dir","-o","x"],"passed":false},{"actual":["z.o","-framework","A","D","-o","z"],"check":"fixture 6","expected":["z.o","-framework","A","-L","D","-o","z"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [\"-o\", \"app\"], \"expected\": [\"-o\", \"app\"], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"/lib a\", \"/lib b\", \"-o\", \"my app\"], \"expected\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"expected\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"expected\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"space dir\", \"-o\", \"x\"], \"expected\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"z.o\", \"-framework\", \"A\", \"D\", \"-o\", \"z\"], \"expected\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.723,"exit_code":1,"observations":[{"actual":["-o","app"],"check":"fixture 1","expected":["-o","app"],"passed":true},{"actual":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L/lib a","-L/lib b","-o","my app"],"check":"fixture 2","expected":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"passed":false},{"actual":["a.o","b.a","-o","x"],"check":"fixture 3","expected":["a.o","b.a","-o","x"],"passed":true},{"actual":["-framework","Core","-o","x"],"check":"fixture 4","expected":["-framework","Core","-o","x"],"passed":true},{"actual":["-Lspace dir","-o","x"],"check":"fixture 5","expected":["-L","space dir","-o","x"],"passed":false},{"actual":["z.o","-framework","A","-LD","-o","z"],"check":"fixture 6","expected":["z.o","-framework","A","-L","D","-o","z"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [\"-o\", \"app\"], \"expected\": [\"-o\", \"app\"], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L/lib a\", \"-L/lib b\", \"-o\", \"my app\"], \"expected\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"expected\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"expected\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"-Lspace dir\", \"-o\", \"x\"], \"expected\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"passed\": false}, {\"check\": \"fixture 6\", \"actual\": [\"z.o\", \"-framework\", \"A\", \"-LD\", \"-o\", \"z\"], \"expected\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.216,"exit_code":0,"observations":[{"actual":["-o","app"],"check":"fixture 1","expected":["-o","app"],"passed":true},{"actual":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"check":"fixture 2","expected":["b.o","a.o","x.a","y.a","x.a","-framework","Core","-framework","UI","-L","/lib a","-L","/lib b","-o","my app"],"passed":true},{"actual":["a.o","b.a","-o","x"],"check":"fixture 3","expected":["a.o","b.a","-o","x"],"passed":true},{"actual":["-framework","Core","-o","x"],"check":"fixture 4","expected":["-framework","Core","-o","x"],"passed":true},{"actual":["-L","space dir","-o","x"],"check":"fixture 5","expected":["-L","space dir","-o","x"],"passed":true},{"actual":["z.o","-framework","A","-L","D","-o","z"],"check":"fixture 6","expected":["z.o","-framework","A","-L","D","-o","z"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [\"-o\", \"app\"], \"expected\": [\"-o\", \"app\"], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"expected\": [\"b.o\", \"a.o\", \"x.a\", \"y.a\", \"x.a\", \"-framework\", \"Core\", \"-framework\", \"UI\", \"-L\", \"/lib a\", \"-L\", \"/lib b\", \"-o\", \"my app\"], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"expected\": [\"a.o\", \"b.a\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"expected\": [\"-framework\", \"Core\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 5\", \"actual\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"expected\": [\"-L\", \"space dir\", \"-o\", \"x\"], \"passed\": true}, {\"check\": \"fixture 6\", \"actual\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"expected\": [\"z.o\", \"-framework\", \"A\", \"-L\", \"D\", \"-o\", \"z\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}