{"abstract":"A structured table violates the declared record or column contract.","category":"Delimited text","checks":8,"contract":"Decode bitmap|comma-payload rows. Bitmap consists of 0 and 1; 1 denotes null and consumes no payload, 0 consumes one payload field. Empty payload encodes zero fields only when bitmap has no zero bits; otherwise it is one empty field. Reject leftover or insufficient values. Return logical cells.","contract_signature":"data","evaluation_group":"s3-delimited-text-null-bitmap-row","failed_approach":"The alternate implementation still violates the same declared invariant: a null bitmap silently discards surplus text fields.","family":"s3-delimited-text-null-bitmap-row-leftover-payload","id":"FA-48381","implementations":{"attempt":{"sha256":"47f8ea9979c20ca8db956c8e33887d7f3ca082db6ed42b6cac58c04723d8c588","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\ndef _vary(value):\n    if value == '@END': return 3 + 4*N\n    if isinstance(value, str): return value.replace('@', 'cell' * N)\n    if isinstance(value, list): return [_vary(x) for x in value]\n    if isinstance(value, dict): return {_vary(k): _vary(v) for k,v in value.items()}\n    return value\nN = 1\nobservations = []\ndef solve(data):\n    parts=data.split('|',1)\n    if len(parts)!=2: return None\n    bits,payload=parts\n    if any(bit not in '01' for bit in bits): return None\n    values=payload.split(',') if payload or '0' in bits else []\n    out=[]; cursor=0\n    for bit in bits:\n        if bit=='1': out.append(None)\n        else:\n            if cursor>=len(values): return None\n            out.append(values[cursor]); cursor+=1\n    if cursor>len(values): return None\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('mixed', solve(_vary('010|@,z')), _vary(['@', None, 'z']))\ncheck('all null', solve(_vary('111|')), _vary([None, None, None]))\ncheck('empty text', solve(_vary('0|')), _vary(['']))\ncheck('insufficient', solve(_vary('00|x')), _vary(None))\ncheck('extra', solve(_vary('1|x')), _vary(None))\ncheck('empty bitmap', solve(_vary('|')), _vary([]))\ncheck('invalid bit', solve(_vary('02|x,y')), _vary(None))\ncheck('several nulls', solve(_vary('1101|@')), _vary([None, None, '@', None]))\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":"119a49a5a0cdb853db03edb6542d7e03b17f3ef9ee619a2b5875ce6f645f0b8a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\ndef _vary(value):\n    if value == '@END': return 3 + 4*N\n    if isinstance(value, str): return value.replace('@', 'cell' * N)\n    if isinstance(value, list): return [_vary(x) for x in value]\n    if isinstance(value, dict): return {_vary(k): _vary(v) for k,v in value.items()}\n    return value\nN = 1\nobservations = []\ndef solve(data):\n    parts=data.split('|',1)\n    if len(parts)!=2: return None\n    bits,payload=parts\n    if any(bit not in '01' for bit in bits): return None\n    values=payload.split(',') if payload or '0' in bits else []\n    out=[]; cursor=0\n    for bit in bits:\n        if bit=='1': out.append(None)\n        else:\n            if cursor>=len(values): return None\n            out.append(values[cursor]); cursor+=1\n    if False: return None\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('mixed', solve(_vary('010|@,z')), _vary(['@', None, 'z']))\ncheck('all null', solve(_vary('111|')), _vary([None, None, None]))\ncheck('empty text', solve(_vary('0|')), _vary(['']))\ncheck('insufficient', solve(_vary('00|x')), _vary(None))\ncheck('extra', solve(_vary('1|x')), _vary(None))\ncheck('empty bitmap', solve(_vary('|')), _vary([]))\ncheck('invalid bit', solve(_vary('02|x,y')), _vary(None))\ncheck('several nulls', solve(_vary('1101|@')), _vary([None, None, '@', None]))\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":"Deterministic bounded in-memory model. No claim of complete CSV or external format conformance. 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":"s3-delimited-text-null-bitmap-row-leftover-payload","generated_at":"2026-09-29T14:44:50.233271+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Delimited interchange needs explicit framing, schema and field semantics at ingestion and emission boundaries.","root_cause":"A null bitmap silently discards surplus text fields.","sha256":"2f9b70938462a3793a653507b4961903de8e0ac0e5b0e2919592a2875d593027","title":"A null bitmap silently discards surplus text fields · 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":40.755,"exit_code":1,"observations":[{"actual":["cell",null,"z"],"check":"mixed","expected":["cell",null,"z"],"passed":true},{"actual":[null,null,null],"check":"all null","expected":[null,null,null],"passed":true},{"actual":[""],"check":"empty text","expected":[""],"passed":true},{"actual":null,"check":"insufficient","expected":null,"passed":true},{"actual":[null],"check":"extra","expected":null,"passed":false},{"actual":[],"check":"empty bitmap","expected":[],"passed":true},{"actual":null,"check":"invalid bit","expected":null,"passed":true},{"actual":[null,null,"cell",null],"check":"several nulls","expected":[null,null,"cell",null],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"mixed\", \"actual\": [\"cell\", null, \"z\"], \"expected\": [\"cell\", null, \"z\"], \"passed\": true}, {\"check\": \"all null\", \"actual\": [null, null, null], \"expected\": [null, null, null], \"passed\": true}, {\"check\": \"empty text\", \"actual\": [\"\"], \"expected\": [\"\"], \"passed\": true}, {\"check\": \"insufficient\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"extra\", \"actual\": [null], \"expected\": null, \"passed\": false}, {\"check\": \"empty bitmap\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"invalid bit\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"several nulls\", \"actual\": [null, null, \"cell\", null], \"expected\": [null, null, \"cell\", null], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.324,"exit_code":1,"observations":[{"actual":["cell",null,"z"],"check":"mixed","expected":["cell",null,"z"],"passed":true},{"actual":[null,null,null],"check":"all null","expected":[null,null,null],"passed":true},{"actual":[""],"check":"empty text","expected":[""],"passed":true},{"actual":null,"check":"insufficient","expected":null,"passed":true},{"actual":[null],"check":"extra","expected":null,"passed":false},{"actual":[],"check":"empty bitmap","expected":[],"passed":true},{"actual":null,"check":"invalid bit","expected":null,"passed":true},{"actual":[null,null,"cell",null],"check":"several nulls","expected":[null,null,"cell",null],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"mixed\", \"actual\": [\"cell\", null, \"z\"], \"expected\": [\"cell\", null, \"z\"], \"passed\": true}, {\"check\": \"all null\", \"actual\": [null, null, null], \"expected\": [null, null, null], \"passed\": true}, {\"check\": \"empty text\", \"actual\": [\"\"], \"expected\": [\"\"], \"passed\": true}, {\"check\": \"insufficient\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"extra\", \"actual\": [null], \"expected\": null, \"passed\": false}, {\"check\": \"empty bitmap\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"invalid bit\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"several nulls\", \"actual\": [null, null, \"cell\", null], \"expected\": [null, null, \"cell\", null], \"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."}}