{"abstract":"A structured table violates the declared record or column contract.","category":"Delimited text","checks":9,"contract":"Decode two-column semicolon rows. A first row must contain absolute ASCII integer cells prefixed =. Later cells may use signed integer deltas prefixed + or -, or =absolute. A caret copies prior column value. Return numeric rows. Empty tokens and noncanonical nondecimal tokens reject.","evaluation_group":"s3-delimited-text-column-deltas","failed_approach":"Using the final column just moves the cross-column contamination.","family":"s3-delimited-text-column-deltas-delta-column","id":"FA-48056","implementations":{"attempt":{"sha256":"781b77f0c0efeac7cd6a6228c94409aea283a4569274ab96ff8af14235d34297","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    rows, previous = [], None\n    for line in data:\n        cells = line.split(';')\n        if len(cells) != 2: return None\n        row = []\n        for i, cell in enumerate(cells):\n            if cell == '^':\n                if previous is None: return None\n                value = previous[i]\n            else:\n                if not cell or cell[0] not in '=+-': return None\n                digits = cell[1:]\n                if not digits.isascii() or not digits.isdecimal(): return None\n                amount = int(digits)\n                if cell[0] == '=': value = amount\n                else:\n                    if previous is None: return None\n                    value = previous[-1] + (amount if cell[0] == '+' else -amount)\n            row.append(value)\n        rows.append(row)\n        previous = row\n    return rows\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('deltas', solve(_vary(['=10;=20', '+3;-2', '-1;+4'])), _vary([[10, 20], [13, 18], [12, 22]]))\ncheck('absolute reset', solve(_vary(['=10;=20', '=1;^', '+2;+3'])), _vary([[10, 20], [1, 20], [3, 23]]))\ncheck('initial delta', solve(_vary(['+1;=2'])), _vary(None))\ncheck('initial copy', solve(_vary(['^;=2'])), _vary(None))\ncheck('bad amount', solve(_vary(['=a;=2'])), _vary(None))\ncheck('empty amount', solve(_vary(['=;=2'])), _vary(None))\ncheck('empty table', solve(_vary([])), _vary([]))\ncheck('zero deltas', solve(_vary(['=0;=1', '+0;-0'])), _vary([[0, 1], [0, 1]]))\ncheck('variant delta magnitude', solve(['='+str(N)+';=2','+3;-1']), [[N,2],[N+3,1]])\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":"b0f43916b61c4e52f3630bc02d3e9253b98aacb200995dcb3509688db863a7c1","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    rows, previous = [], None\n    for line in data:\n        cells = line.split(';')\n        if len(cells) != 2: return None\n        row = []\n        for i, cell in enumerate(cells):\n            if cell == '^':\n                if previous is None: return None\n                value = previous[i]\n            else:\n                if not cell or cell[0] not in '=+-': return None\n                digits = cell[1:]\n                if not digits.isascii() or not digits.isdecimal(): return None\n                amount = int(digits)\n                if cell[0] == '=': value = amount\n                else:\n                    if previous is None: return None\n                    value = previous[0] + (amount if cell[0] == '+' else -amount)\n            row.append(value)\n        rows.append(row)\n        previous = row\n    return rows\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('deltas', solve(_vary(['=10;=20', '+3;-2', '-1;+4'])), _vary([[10, 20], [13, 18], [12, 22]]))\ncheck('absolute reset', solve(_vary(['=10;=20', '=1;^', '+2;+3'])), _vary([[10, 20], [1, 20], [3, 23]]))\ncheck('initial delta', solve(_vary(['+1;=2'])), _vary(None))\ncheck('initial copy', solve(_vary(['^;=2'])), _vary(None))\ncheck('bad amount', solve(_vary(['=a;=2'])), _vary(None))\ncheck('empty amount', solve(_vary(['=;=2'])), _vary(None))\ncheck('empty table', solve(_vary([])), _vary([]))\ncheck('zero deltas', solve(_vary(['=0;=1', '+0;-0'])), _vary([[0, 1], [0, 1]]))\ncheck('variant delta magnitude', solve(['='+str(N)+';=2','+3;-1']), [[N,2],[N+3,1]])\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":"f1a45284208d4d9c532ea3d95cbdf32421516676586ebf6ebdba9f50f2614f4a","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    rows, previous = [], None\n    for line in data:\n        cells = line.split(';')\n        if len(cells) != 2: return None\n        row = []\n        for i, cell in enumerate(cells):\n            if cell == '^':\n                if previous is None: return None\n                value = previous[i]\n            else:\n                if not cell or cell[0] not in '=+-': return None\n                digits = cell[1:]\n                if not digits.isascii() or not digits.isdecimal(): return None\n                amount = int(digits)\n                if cell[0] == '=': value = amount\n                else:\n                    if previous is None: return None\n                    value = previous[i] + (amount if cell[0] == '+' else -amount)\n            row.append(value)\n        rows.append(row)\n        previous = row\n    return rows\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('deltas', solve(_vary(['=10;=20', '+3;-2', '-1;+4'])), _vary([[10, 20], [13, 18], [12, 22]]))\ncheck('absolute reset', solve(_vary(['=10;=20', '=1;^', '+2;+3'])), _vary([[10, 20], [1, 20], [3, 23]]))\ncheck('initial delta', solve(_vary(['+1;=2'])), _vary(None))\ncheck('initial copy', solve(_vary(['^;=2'])), _vary(None))\ncheck('bad amount', solve(_vary(['=a;=2'])), _vary(None))\ncheck('empty amount', solve(_vary(['=;=2'])), _vary(None))\ncheck('empty table', solve(_vary([])), _vary([]))\ncheck('zero deltas', solve(_vary(['=0;=1', '+0;-0'])), _vary([[0, 1], [0, 1]]))\ncheck('variant delta magnitude', solve(['='+str(N)+';=2','+3;-1']), [[N,2],[N+3,1]])\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-column-deltas-delta-column","generated_at":"2026-09-29T14:44:47.351356+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.","repair":"Preserve the named invariant at the faulty decision: value = previous[i] +","root_cause":"Delta reconstruction uses a fixed base column.","sha256":"9861b8ea58fecf3479df50a3e838b413a1843c41d95fcffd314a46516369b90b","title":"A second-column delta reads the first-column base · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.701,"exit_code":1,"observations":[{"actual":[[10,20],[23,18],[17,22]],"check":"deltas","expected":[[10,20],[13,18],[12,22]],"passed":false},{"actual":[[10,20],[1,20],[22,23]],"check":"absolute reset","expected":[[10,20],[1,20],[3,23]],"passed":false},{"actual":null,"check":"initial delta","expected":null,"passed":true},{"actual":null,"check":"initial copy","expected":null,"passed":true},{"actual":null,"check":"bad amount","expected":null,"passed":true},{"actual":null,"check":"empty amount","expected":null,"passed":true},{"actual":[],"check":"empty table","expected":[],"passed":true},{"actual":[[0,1],[1,1]],"check":"zero deltas","expected":[[0,1],[0,1]],"passed":false},{"actual":[[1,2],[5,1]],"check":"variant delta magnitude","expected":[[1,2],[4,1]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"deltas\", \"actual\": [[10, 20], [23, 18], [17, 22]], \"expected\": [[10, 20], [13, 18], [12, 22]], \"passed\": false}, {\"check\": \"absolute reset\", \"actual\": [[10, 20], [1, 20], [22, 23]], \"expected\": [[10, 20], [1, 20], [3, 23]], \"passed\": false}, {\"check\": \"initial delta\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"initial copy\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"bad amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty table\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero deltas\", \"actual\": [[0, 1], [1, 1]], \"expected\": [[0, 1], [0, 1]], \"passed\": false}, {\"check\": \"variant delta magnitude\", \"actual\": [[1, 2], [5, 1]], \"expected\": [[1, 2], [4, 1]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.876,"exit_code":1,"observations":[{"actual":[[10,20],[13,8],[12,17]],"check":"deltas","expected":[[10,20],[13,18],[12,22]],"passed":false},{"actual":[[10,20],[1,20],[3,4]],"check":"absolute reset","expected":[[10,20],[1,20],[3,23]],"passed":false},{"actual":null,"check":"initial delta","expected":null,"passed":true},{"actual":null,"check":"initial copy","expected":null,"passed":true},{"actual":null,"check":"bad amount","expected":null,"passed":true},{"actual":null,"check":"empty amount","expected":null,"passed":true},{"actual":[],"check":"empty table","expected":[],"passed":true},{"actual":[[0,1],[0,0]],"check":"zero deltas","expected":[[0,1],[0,1]],"passed":false},{"actual":[[1,2],[4,0]],"check":"variant delta magnitude","expected":[[1,2],[4,1]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"deltas\", \"actual\": [[10, 20], [13, 8], [12, 17]], \"expected\": [[10, 20], [13, 18], [12, 22]], \"passed\": false}, {\"check\": \"absolute reset\", \"actual\": [[10, 20], [1, 20], [3, 4]], \"expected\": [[10, 20], [1, 20], [3, 23]], \"passed\": false}, {\"check\": \"initial delta\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"initial copy\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"bad amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty table\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero deltas\", \"actual\": [[0, 1], [0, 0]], \"expected\": [[0, 1], [0, 1]], \"passed\": false}, {\"check\": \"variant delta magnitude\", \"actual\": [[1, 2], [4, 0]], \"expected\": [[1, 2], [4, 1]], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.212,"exit_code":0,"observations":[{"actual":[[10,20],[13,18],[12,22]],"check":"deltas","expected":[[10,20],[13,18],[12,22]],"passed":true},{"actual":[[10,20],[1,20],[3,23]],"check":"absolute reset","expected":[[10,20],[1,20],[3,23]],"passed":true},{"actual":null,"check":"initial delta","expected":null,"passed":true},{"actual":null,"check":"initial copy","expected":null,"passed":true},{"actual":null,"check":"bad amount","expected":null,"passed":true},{"actual":null,"check":"empty amount","expected":null,"passed":true},{"actual":[],"check":"empty table","expected":[],"passed":true},{"actual":[[0,1],[0,1]],"check":"zero deltas","expected":[[0,1],[0,1]],"passed":true},{"actual":[[1,2],[4,1]],"check":"variant delta magnitude","expected":[[1,2],[4,1]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"deltas\", \"actual\": [[10, 20], [13, 18], [12, 22]], \"expected\": [[10, 20], [13, 18], [12, 22]], \"passed\": true}, {\"check\": \"absolute reset\", \"actual\": [[10, 20], [1, 20], [3, 23]], \"expected\": [[10, 20], [1, 20], [3, 23]], \"passed\": true}, {\"check\": \"initial delta\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"initial copy\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"bad amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty amount\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty table\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero deltas\", \"actual\": [[0, 1], [0, 1]], \"expected\": [[0, 1], [0, 1]], \"passed\": true}, {\"check\": \"variant delta magnitude\", \"actual\": [[1, 2], [4, 1]], \"expected\": [[1, 2], [4, 1]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}