{"abstract":"Invoice totals in the target currency drift from round(sum*rate) and no plug is ever posted.","category":"Currency rounding and FX conversion","checks":7,"contract":"solve(lines, rate, exp): lines are source-currency decimal strings (credits negative), rate a decimal string, exp the target exponent. The converted total is round_half_even(sum(lines)*rate) at exp. Each line is converted and rounded half-even individually; the difference between the converted total and the sum of converted lines is posted in full to the line with the largest absolute source amount (earliest on ties). Return the converted lines as plain strings; zero lines are unsigned. An empty invoice returns [].","evaluation_group":"w2-currency_rounding_and_fx_conversion-invoice-line-conversion-plug","failed_approach":"Rounding the control total half-up while lines are rounded half-even leaves a mismatched plug on ties.","family":"w2-currency_rounding_and_fx_conversion-invoice-line-conversion-plug-control-total","id":"FA-61946","implementations":{"attempt":{"sha256":"93d0bf9ce9da746971da583c601d071adc5883bdcaee213ef5bf23919dc44c55","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom decimal import Decimal, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_FLOOR, ROUND_CEILING, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN\nN = 1\nobservations = []\ndef solve(lines, rate, exp):\n    r = Decimal(rate)\n    qt = Decimal(1).scaleb(-exp)\n    def q(v): return v.quantize(qt, rounding=ROUND_HALF_EVEN)\n    src = [Decimal(l) for l in lines]\n    if not src: return []\n    conv = [q(v * r) for v in src]\n    total = (sum(src, Decimal(0)) * r).quantize(qt, rounding=ROUND_HALF_UP)\n    diff = total - sum(conv, Decimal(0))\n    i = max(range(len(conv)), key=lambda k: (abs(src[k]), -k))\n    conv[i] += diff\n    return [format(abs(c) if c == 0 else c, 'f') for c in conv]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression control-total 1', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('regression control-total 2', (['135.46', '1241.19', '543.10'], '121.0106', 2),\n   ['16392.10', '150197.14', '65720.86']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['2009.44', '2296.55', '1393.27', '1770.57', '2944.58'], '81.6625', 2),\n   ['164095.89', '187542.01', '113777.91', '144589.17', '240461.78']),\n  ('regression control-total 2', (['1729.48', '-260.26', '1061.77', '2756.95'], '151.6104', 2),\n   ['262207.15', '-39458.12', '160975.37', '417982.30']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76'])],\n [('regression control-total 1', (['607.45', '-205.45', '116.41', '195.72', '309.63'], '1991.467', 2),\n   ['1209716.64', '-409146.90', '231826.67', '389769.92', '616617.93']),\n  ('regression control-total 2', (['2340.71', '566.48', '2486.21', '1232.14'], '11.46450', 3),\n   ['26835.070', '6494.410', '28503.154', '14125.869']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70']),\n  ('control: three equal lines', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00'])],\n [('regression control-total 1', (['2564.41', '147.72', '2843.10'], '11.81884', 3),\n   ['30308.351', '1745.879', '33602.145']),\n  ('regression control-total 2', (['2885.93', '241.41'], '10.35728', 0), ['29891', '2500']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['474.23', '2013.40'], '2.07137', 2), ['982.31', '4170.49']),\n  ('regression control-total 2', (['1616.46', '-55.89', '2559.69'], '35.6985', 3),\n   ['57705.197', '-1995.189', '91377.094']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70'])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, solve(*args), expected)\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":"9bc40823133ad6f25edfa3cd4c2504af2799eb3f4dd06951a6259d7da69d33b6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom decimal import Decimal, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_FLOOR, ROUND_CEILING, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN\nN = 1\nobservations = []\ndef solve(lines, rate, exp):\n    r = Decimal(rate)\n    qt = Decimal(1).scaleb(-exp)\n    def q(v): return v.quantize(qt, rounding=ROUND_HALF_EVEN)\n    src = [Decimal(l) for l in lines]\n    if not src: return []\n    conv = [q(v * r) for v in src]\n    total = sum(conv, Decimal(0))\n    diff = total - sum(conv, Decimal(0))\n    i = max(range(len(conv)), key=lambda k: (abs(src[k]), -k))\n    conv[i] += diff\n    return [format(abs(c) if c == 0 else c, 'f') for c in conv]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression control-total 1', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('regression control-total 2', (['135.46', '1241.19', '543.10'], '121.0106', 2),\n   ['16392.10', '150197.14', '65720.86']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['2009.44', '2296.55', '1393.27', '1770.57', '2944.58'], '81.6625', 2),\n   ['164095.89', '187542.01', '113777.91', '144589.17', '240461.78']),\n  ('regression control-total 2', (['1729.48', '-260.26', '1061.77', '2756.95'], '151.6104', 2),\n   ['262207.15', '-39458.12', '160975.37', '417982.30']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76'])],\n [('regression control-total 1', (['607.45', '-205.45', '116.41', '195.72', '309.63'], '1991.467', 2),\n   ['1209716.64', '-409146.90', '231826.67', '389769.92', '616617.93']),\n  ('regression control-total 2', (['2340.71', '566.48', '2486.21', '1232.14'], '11.46450', 3),\n   ['26835.070', '6494.410', '28503.154', '14125.869']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70']),\n  ('control: three equal lines', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00'])],\n [('regression control-total 1', (['2564.41', '147.72', '2843.10'], '11.81884', 3),\n   ['30308.351', '1745.879', '33602.145']),\n  ('regression control-total 2', (['2885.93', '241.41'], '10.35728', 0), ['29891', '2500']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['474.23', '2013.40'], '2.07137', 2), ['982.31', '4170.49']),\n  ('regression control-total 2', (['1616.46', '-55.89', '2559.69'], '35.6985', 3),\n   ['57705.197', '-1995.189', '91377.094']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70'])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, solve(*args), expected)\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":"ffd696af8cd834593941b68fda30329e201c3aa781ce41df3710b56a3af96c41","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom decimal import Decimal, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_FLOOR, ROUND_CEILING, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN\nN = 1\nobservations = []\ndef solve(lines, rate, exp):\n    r = Decimal(rate)\n    qt = Decimal(1).scaleb(-exp)\n    def q(v): return v.quantize(qt, rounding=ROUND_HALF_EVEN)\n    src = [Decimal(l) for l in lines]\n    if not src: return []\n    conv = [q(v * r) for v in src]\n    total = q(sum(src, Decimal(0)) * r)\n    diff = total - sum(conv, Decimal(0))\n    i = max(range(len(conv)), key=lambda k: (abs(src[k]), -k))\n    conv[i] += diff\n    return [format(abs(c) if c == 0 else c, 'f') for c in conv]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression control-total 1', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('regression control-total 2', (['135.46', '1241.19', '543.10'], '121.0106', 2),\n   ['16392.10', '150197.14', '65720.86']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['2009.44', '2296.55', '1393.27', '1770.57', '2944.58'], '81.6625', 2),\n   ['164095.89', '187542.01', '113777.91', '144589.17', '240461.78']),\n  ('regression control-total 2', (['1729.48', '-260.26', '1061.77', '2756.95'], '151.6104', 2),\n   ['262207.15', '-39458.12', '160975.37', '417982.30']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76'])],\n [('regression control-total 1', (['607.45', '-205.45', '116.41', '195.72', '309.63'], '1991.467', 2),\n   ['1209716.64', '-409146.90', '231826.67', '389769.92', '616617.93']),\n  ('regression control-total 2', (['2340.71', '566.48', '2486.21', '1232.14'], '11.46450', 3),\n   ['26835.070', '6494.410', '28503.154', '14125.869']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70']),\n  ('control: three equal lines', (['10.01', '10.01', '10.01'], '0.5', 2), ['5.02', '5.00', '5.00']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00'])],\n [('regression control-total 1', (['2564.41', '147.72', '2843.10'], '11.81884', 3),\n   ['30308.351', '1745.879', '33602.145']),\n  ('regression control-total 2', (['2885.93', '241.41'], '10.35728', 0), ['29891', '2500']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: credit and debit', (['-3.33', '3.33'], '1.5', 2), ['-5.00', '5.00']),\n  ('control: tiny credit', (['100.00', '-0.01'], '0.3', 2), ['30.00', '0.00']),\n  ('control: empty invoice', ([], '1.1', 2), []),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150'])],\n [('regression control-total 1', (['474.23', '2013.40'], '2.07137', 2), ['982.31', '4170.49']),\n  ('regression control-total 2', (['1616.46', '-55.89', '2559.69'], '35.6985', 3),\n   ['57705.197', '-1995.189', '91377.094']),\n  ('partial repair guard 1', (['93.13', '2587.99', '484.24', '2232.33', '1229.90'], '0.95000', 3),\n   ['88.474', '2458.589', '460.028', '2120.714', '1168.405']),\n  ('control: yen target', (['19.99', '5.01', '0.99'], '151.37', 0), ['3026', '758', '150']),\n  ('control: dinar target', (['1.25', '2.50'], '0.3071', 3), ['0.384', '0.768']),\n  ('control: single line', (['123.45'], '0.9215', 2), ['113.76']),\n  ('control: largest is credit', (['-50.05', '20.03', '20.03'], '1.0833', 2), ['-54.22', '21.70', '21.70'])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, solve(*args), expected)\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":"A deterministic, bounded teaching model with a stipulated toy contract; it makes no claim of conformance to any real regulation, standard, or institution's rules. 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":"w2-currency_rounding_and_fx_conversion-invoice-line-conversion-plug-control-total","generated_at":"2026-09-29T14:47:00.023945+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Currency amounts must be rounded at the right stage and in the right unit, or ledgers, quotes and settlements drift by minor units.","repair":"Compute the control total from the exact source sum times the rate, rounded once.","root_cause":"The control total is computed as the sum of the individually rounded converted lines.","sha256":"86d79c04530023e605733ecf7c03729a9a52b2cbb54e8ac7807ad84587a1cbbd","title":"The converted control total is rebuilt from the already rounded lines · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.366,"exit_code":1,"observations":[{"actual":["5.02","5.00","5.00"],"check":"regression control-total 1","expected":["5.02","5.00","5.00"],"passed":true},{"actual":["16392.10","150197.14","65720.86"],"check":"regression control-total 2","expected":["16392.10","150197.14","65720.86"],"passed":true},{"actual":["88.474","2458.590","460.028","2120.714","1168.405"],"check":"partial repair guard 1","expected":["88.474","2458.589","460.028","2120.714","1168.405"],"passed":false},{"actual":["-5.00","5.00"],"check":"control: credit and debit","expected":["-5.00","5.00"],"passed":true},{"actual":["30.00","0.00"],"check":"control: tiny credit","expected":["30.00","0.00"],"passed":true},{"actual":[],"check":"control: empty invoice","expected":[],"passed":true},{"actual":["3026","758","150"],"check":"control: yen target","expected":["3026","758","150"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression control-total 1\", \"actual\": [\"5.02\", \"5.00\", \"5.00\"], \"expected\": [\"5.02\", \"5.00\", \"5.00\"], \"passed\": true}, {\"check\": \"regression control-total 2\", \"actual\": [\"16392.10\", \"150197.14\", \"65720.86\"], \"expected\": [\"16392.10\", \"150197.14\", \"65720.86\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": [\"88.474\", \"2458.590\", \"460.028\", \"2120.714\", \"1168.405\"], \"expected\": [\"88.474\", \"2458.589\", \"460.028\", \"2120.714\", \"1168.405\"], \"passed\": false}, {\"check\": \"control: credit and debit\", \"actual\": [\"-5.00\", \"5.00\"], \"expected\": [\"-5.00\", \"5.00\"], \"passed\": true}, {\"check\": \"control: tiny credit\", \"actual\": [\"30.00\", \"0.00\"], \"expected\": [\"30.00\", \"0.00\"], \"passed\": true}, {\"check\": \"control: empty invoice\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"control: yen target\", \"actual\": [\"3026\", \"758\", \"150\"], \"expected\": [\"3026\", \"758\", \"150\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.664,"exit_code":1,"observations":[{"actual":["5.00","5.00","5.00"],"check":"regression control-total 1","expected":["5.02","5.00","5.00"],"passed":false},{"actual":["16392.10","150197.15","65720.86"],"check":"regression control-total 2","expected":["16392.10","150197.14","65720.86"],"passed":false},{"actual":["88.474","2458.590","460.028","2120.714","1168.405"],"check":"partial repair guard 1","expected":["88.474","2458.589","460.028","2120.714","1168.405"],"passed":false},{"actual":["-5.00","5.00"],"check":"control: credit and debit","expected":["-5.00","5.00"],"passed":true},{"actual":["30.00","0.00"],"check":"control: tiny credit","expected":["30.00","0.00"],"passed":true},{"actual":[],"check":"control: empty invoice","expected":[],"passed":true},{"actual":["3026","758","150"],"check":"control: yen target","expected":["3026","758","150"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression control-total 1\", \"actual\": [\"5.00\", \"5.00\", \"5.00\"], \"expected\": [\"5.02\", \"5.00\", \"5.00\"], \"passed\": false}, {\"check\": \"regression control-total 2\", \"actual\": [\"16392.10\", \"150197.15\", \"65720.86\"], \"expected\": [\"16392.10\", \"150197.14\", \"65720.86\"], \"passed\": false}, {\"check\": \"partial repair guard 1\", \"actual\": [\"88.474\", \"2458.590\", \"460.028\", \"2120.714\", \"1168.405\"], \"expected\": [\"88.474\", \"2458.589\", \"460.028\", \"2120.714\", \"1168.405\"], \"passed\": false}, {\"check\": \"control: credit and debit\", \"actual\": [\"-5.00\", \"5.00\"], \"expected\": [\"-5.00\", \"5.00\"], \"passed\": true}, {\"check\": \"control: tiny credit\", \"actual\": [\"30.00\", \"0.00\"], \"expected\": [\"30.00\", \"0.00\"], \"passed\": true}, {\"check\": \"control: empty invoice\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"control: yen target\", \"actual\": [\"3026\", \"758\", \"150\"], \"expected\": [\"3026\", \"758\", \"150\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.293,"exit_code":0,"observations":[{"actual":["5.02","5.00","5.00"],"check":"regression control-total 1","expected":["5.02","5.00","5.00"],"passed":true},{"actual":["16392.10","150197.14","65720.86"],"check":"regression control-total 2","expected":["16392.10","150197.14","65720.86"],"passed":true},{"actual":["88.474","2458.589","460.028","2120.714","1168.405"],"check":"partial repair guard 1","expected":["88.474","2458.589","460.028","2120.714","1168.405"],"passed":true},{"actual":["-5.00","5.00"],"check":"control: credit and debit","expected":["-5.00","5.00"],"passed":true},{"actual":["30.00","0.00"],"check":"control: tiny credit","expected":["30.00","0.00"],"passed":true},{"actual":[],"check":"control: empty invoice","expected":[],"passed":true},{"actual":["3026","758","150"],"check":"control: yen target","expected":["3026","758","150"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression control-total 1\", \"actual\": [\"5.02\", \"5.00\", \"5.00\"], \"expected\": [\"5.02\", \"5.00\", \"5.00\"], \"passed\": true}, {\"check\": \"regression control-total 2\", \"actual\": [\"16392.10\", \"150197.14\", \"65720.86\"], \"expected\": [\"16392.10\", \"150197.14\", \"65720.86\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": [\"88.474\", \"2458.589\", \"460.028\", \"2120.714\", \"1168.405\"], \"expected\": [\"88.474\", \"2458.589\", \"460.028\", \"2120.714\", \"1168.405\"], \"passed\": true}, {\"check\": \"control: credit and debit\", \"actual\": [\"-5.00\", \"5.00\"], \"expected\": [\"-5.00\", \"5.00\"], \"passed\": true}, {\"check\": \"control: tiny credit\", \"actual\": [\"30.00\", \"0.00\"], \"expected\": [\"30.00\", \"0.00\"], \"passed\": true}, {\"check\": \"control: empty invoice\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"control: yen target\", \"actual\": [\"3026\", \"758\", \"150\"], \"expected\": [\"3026\", \"758\", \"150\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}