{"abstract":"A semicolon inside a query value becomes a separator.","category":"Delimited text","checks":4,"contract":"Decode ampersand-separated form fields; semicolons are ordinary data.","evaluation_group":"model-7bb1927c2973b7a4","failed_approach":"The attempted repair handles the primary example but still violates a separate boundary of the same contract.","family":"xp-query-semicolon-data","id":"FA-3296","implementations":{"attempt":{"sha256":"fdddc648f256f92c08c50cedade49ed3d666ee87c3e28be124bea5eb1712d513","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport re, unicodedata, json, csv, io, html, base64, binascii, codecs, struct\nfrom urllib.parse import quote, unquote, unquote_to_bytes, urlencode, parse_qsl, urlsplit, urlunsplit\nfrom email.header import decode_header, make_header\nfrom email.utils import getaddresses\nfrom xml.etree import ElementTree as ET\nimport shlex, string, textwrap\n\nN = 1\nobservations = []\ndef solve(x):\n    try:\n        return [list(p) for p in parse_qsl(x,separator=';',keep_blank_values=True)]\n    except Exception as exc:\n        return {\"error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('boundary 1', solve('a=1;b=2'), [['a', '1;b=2']])\ncheck('boundary 2', solve('a=1&b=2'), [['a', '1'], ['b', '2']])\ncheck('boundary 3', solve('x=;'), [['x', ';']])\ncheck('boundary 4', solve(''), [])\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":"d6448de61dbeb2be9452f570b6f32fbc3afd25dd07cc443ad894cae40504a7d2","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport re, unicodedata, json, csv, io, html, base64, binascii, codecs, struct\nfrom urllib.parse import quote, unquote, unquote_to_bytes, urlencode, parse_qsl, urlsplit, urlunsplit\nfrom email.header import decode_header, make_header\nfrom email.utils import getaddresses\nfrom xml.etree import ElementTree as ET\nimport shlex, string, textwrap\n\nN = 1\nobservations = []\ndef solve(x):\n    try:\n        return [list(p) for p in parse_qsl(x.replace(';','&'),keep_blank_values=True)]\n    except Exception as exc:\n        return {\"error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('boundary 1', solve('a=1;b=2'), [['a', '1;b=2']])\ncheck('boundary 2', solve('a=1&b=2'), [['a', '1'], ['b', '2']])\ncheck('boundary 3', solve('x=;'), [['x', ';']])\ncheck('boundary 4', solve(''), [])\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":"2f8166463772e55e91f2297d1f4c2df66d7663564510b39f8db584c19a244eb1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport re, unicodedata, json, csv, io, html, base64, binascii, codecs, struct\nfrom urllib.parse import quote, unquote, unquote_to_bytes, urlencode, parse_qsl, urlsplit, urlunsplit\nfrom email.header import decode_header, make_header\nfrom email.utils import getaddresses\nfrom xml.etree import ElementTree as ET\nimport shlex, string, textwrap\n\nN = 1\nobservations = []\ndef solve(x):\n    try:\n        return [list(p) for p in parse_qsl(x,separator='&',keep_blank_values=True)]\n    except Exception as exc:\n        return {\"error\": type(exc).__name__}\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('boundary 1', solve('a=1;b=2'), [['a', '1;b=2']])\ncheck('boundary 2', solve('a=1&b=2'), [['a', '1'], ['b', '2']])\ncheck('boundary 3', solve('x=;'), [['x', ';']])\ncheck('boundary 4', solve(''), [])\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":"xp-query-semicolon-data","generated_at":"2026-09-29T14:37:24.053749+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A local executable model for consumers of structured text; oracle values are authored literals, not outputs copied from the repaired implementation.","repair":"Implement the complete stated contract, including the boundary fixtures: Decode ampersand-separated form fields; semicolons are ordinary data.","root_cause":"The implementation applies an operation whose text or grammar semantics violate this contract: Decode ampersand-separated form fields; semicolons are ordinary data.","sha256":"6a29a9f767c362e4fb20d08808ad7686f10ad5860490b26ad82aa0a489c16640","title":"A semicolon inside a query value becomes a separator · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":62.529,"exit_code":1,"observations":[{"actual":[["a","1"],["b","2"]],"check":"boundary 1","expected":[["a","1;b=2"]],"passed":false},{"actual":[["a","1&b=2"]],"check":"boundary 2","expected":[["a","1"],["b","2"]],"passed":false},{"actual":[["x",""]],"check":"boundary 3","expected":[["x",";"]],"passed":false},{"actual":[],"check":"boundary 4","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary 1\", \"actual\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"expected\": [[\"a\", \"1;b=2\"]], \"passed\": false}, {\"check\": \"boundary 2\", \"actual\": [[\"a\", \"1&b=2\"]], \"expected\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"passed\": false}, {\"check\": \"boundary 3\", \"actual\": [[\"x\", \"\"]], \"expected\": [[\"x\", \";\"]], \"passed\": false}, {\"check\": \"boundary 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":53.542,"exit_code":1,"observations":[{"actual":[["a","1"],["b","2"]],"check":"boundary 1","expected":[["a","1;b=2"]],"passed":false},{"actual":[["a","1"],["b","2"]],"check":"boundary 2","expected":[["a","1"],["b","2"]],"passed":true},{"actual":[["x",""]],"check":"boundary 3","expected":[["x",";"]],"passed":false},{"actual":[],"check":"boundary 4","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary 1\", \"actual\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"expected\": [[\"a\", \"1;b=2\"]], \"passed\": false}, {\"check\": \"boundary 2\", \"actual\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"expected\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"passed\": true}, {\"check\": \"boundary 3\", \"actual\": [[\"x\", \"\"]], \"expected\": [[\"x\", \";\"]], \"passed\": false}, {\"check\": \"boundary 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":64.762,"exit_code":0,"observations":[{"actual":[["a","1;b=2"]],"check":"boundary 1","expected":[["a","1;b=2"]],"passed":true},{"actual":[["a","1"],["b","2"]],"check":"boundary 2","expected":[["a","1"],["b","2"]],"passed":true},{"actual":[["x",";"]],"check":"boundary 3","expected":[["x",";"]],"passed":true},{"actual":[],"check":"boundary 4","expected":[],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"boundary 1\", \"actual\": [[\"a\", \"1;b=2\"]], \"expected\": [[\"a\", \"1;b=2\"]], \"passed\": true}, {\"check\": \"boundary 2\", \"actual\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"expected\": [[\"a\", \"1\"], [\"b\", \"2\"]], \"passed\": true}, {\"check\": \"boundary 3\", \"actual\": [[\"x\", \";\"]], \"expected\": [[\"x\", \";\"]], \"passed\": true}, {\"check\": \"boundary 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}