{"abstract":"A markup of 3.504% is disclosed as 3.50%.","category":"Currency rounding and FX conversion","checks":7,"contract":"solve(amount, ref_rate, markup_bps, card_exp): amount in merchant currency, ref_rate cardholder units per merchant unit, markup_bps an integer (negative for a promotional discount). The offered rate is ref*(1+bps/10000) rounded half-up to 6 decimals, and the card amount is amount*offered rounded half-up at card_exp. The disclosed markup percentage is (offered/ref - 1)*100 computed from the rounded offered rate and rounded toward positive infinity to 2 decimals so it never understates. Return [offered, card_amount, markup_pct] as strings.","evaluation_group":"w2-currency_rounding_and_fx_conversion-dynamic-currency-conversion-receipt","failed_approach":"Rounding away from zero matches ceiling for markups but overstates promotional discounts.","family":"w2-currency_rounding_and_fx_conversion-dynamic-currency-conversion-receipt-disclosure-rounding-direction","id":"FA-62191","implementations":{"attempt":{"sha256":"caea889c9a6c6fc8ac44dfd87a839dc0c3a1fdde129d8e23bfabf2156de40ce1","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(amount, ref_rate, markup_bps, card_exp):\n    ref = Decimal(ref_rate)\n    raw = ref * (1 + Decimal(markup_bps) / 10000)\n    dcc = raw.quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)\n    card = (Decimal(amount) * dcc).quantize(Decimal(1).scaleb(-card_exp), rounding=ROUND_HALF_UP)\n    pct = ((dcc / ref - 1) * 100).quantize(Decimal('0.01'), rounding=ROUND_UP)\n    return [format(dcc, 'f'), format(card, 'f'), format(pct, 'f')]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression disclosure-rounding-direction 1', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('partial repair guard 1', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('partial repair guard 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00'])],\n [('regression disclosure-rounding-direction 1', ('3353.43', '37.36650', 275, 0), ['38.394079', '128752', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('partial repair guard 1', ('4003.90', '112.95238', -50, 2), ['112.387618', '449988.78', '-0.50']),\n  ('partial repair guard 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('157.22', '31.44890', 150, 3), ['31.920634', '5018.562', '1.51']),\n  ('regression disclosure-rounding-direction 2', ('3157.31', '0.0891399', 150, 3), ['0.090477', '285.664', '1.51']),\n  ('partial repair guard 1', ('1099.42', '0.8959289', -50, 3), ['0.891449', '980.077', '-0.50']),\n  ('partial repair guard 2', ('839.76', '1.4166337', -50, 2), ['1.409551', '1183.68', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])],\n [('regression disclosure-rounding-direction 1', ('508.07', '12.046349', 275, 0), ['12.377624', '6289', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('partial repair guard 1', ('2901.49', '0.0386239', -50, 3), ['0.038431', '111.507', '-0.49']),\n  ('partial repair guard 2', ('304.69', '0.8083309', -50, 0), ['0.804289', '245', '-0.50']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('419.33', '78.12165', 350, 2), ['80.855908', '33905.31', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('2378.17', '122.42736', 300, 2), ['126.100181', '299887.67', '3.01']),\n  ('partial repair guard 1', ('635.41', '83.19332', -50, 2), ['82.777353', '52597.56', '-0.50']),\n  ('partial repair guard 2', ('1155.57', '2.42284', -75, 0), ['2.404669', '2779', '-0.74']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])]]\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":"c28718af0b176906ed6e7ff3916c4f32d111ef7f531e53c20394a27c8b2bdcda","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(amount, ref_rate, markup_bps, card_exp):\n    ref = Decimal(ref_rate)\n    raw = ref * (1 + Decimal(markup_bps) / 10000)\n    dcc = raw.quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)\n    card = (Decimal(amount) * dcc).quantize(Decimal(1).scaleb(-card_exp), rounding=ROUND_HALF_UP)\n    pct = ((dcc / ref - 1) * 100).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)\n    return [format(dcc, 'f'), format(card, 'f'), format(pct, 'f')]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression disclosure-rounding-direction 1', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('partial repair guard 1', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('partial repair guard 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00'])],\n [('regression disclosure-rounding-direction 1', ('3353.43', '37.36650', 275, 0), ['38.394079', '128752', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('partial repair guard 1', ('4003.90', '112.95238', -50, 2), ['112.387618', '449988.78', '-0.50']),\n  ('partial repair guard 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('157.22', '31.44890', 150, 3), ['31.920634', '5018.562', '1.51']),\n  ('regression disclosure-rounding-direction 2', ('3157.31', '0.0891399', 150, 3), ['0.090477', '285.664', '1.51']),\n  ('partial repair guard 1', ('1099.42', '0.8959289', -50, 3), ['0.891449', '980.077', '-0.50']),\n  ('partial repair guard 2', ('839.76', '1.4166337', -50, 2), ['1.409551', '1183.68', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])],\n [('regression disclosure-rounding-direction 1', ('508.07', '12.046349', 275, 0), ['12.377624', '6289', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('partial repair guard 1', ('2901.49', '0.0386239', -50, 3), ['0.038431', '111.507', '-0.49']),\n  ('partial repair guard 2', ('304.69', '0.8083309', -50, 0), ['0.804289', '245', '-0.50']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('419.33', '78.12165', 350, 2), ['80.855908', '33905.31', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('2378.17', '122.42736', 300, 2), ['126.100181', '299887.67', '3.01']),\n  ('partial repair guard 1', ('635.41', '83.19332', -50, 2), ['82.777353', '52597.56', '-0.50']),\n  ('partial repair guard 2', ('1155.57', '2.42284', -75, 0), ['2.404669', '2779', '-0.74']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])]]\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":"2a84f1c845ba1756dfddffa68311ab7f89c06491660a20640b06273b71d6431d","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(amount, ref_rate, markup_bps, card_exp):\n    ref = Decimal(ref_rate)\n    raw = ref * (1 + Decimal(markup_bps) / 10000)\n    dcc = raw.quantize(Decimal('0.000001'), rounding=ROUND_HALF_UP)\n    card = (Decimal(amount) * dcc).quantize(Decimal(1).scaleb(-card_exp), rounding=ROUND_HALF_UP)\n    pct = ((dcc / ref - 1) * 100).quantize(Decimal('0.01'), rounding=ROUND_CEILING)\n    return [format(dcc, 'f'), format(card, 'f'), format(pct, 'f')]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression disclosure-rounding-direction 1', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('partial repair guard 1', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('partial repair guard 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00'])],\n [('regression disclosure-rounding-direction 1', ('3353.43', '37.36650', 275, 0), ['38.394079', '128752', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('1171.26', '0.4683115', -50, 3), ['0.465970', '545.772', '-0.49']),\n  ('partial repair guard 1', ('4003.90', '112.95238', -50, 2), ['112.387618', '449988.78', '-0.50']),\n  ('partial repair guard 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('157.22', '31.44890', 150, 3), ['31.920634', '5018.562', '1.51']),\n  ('regression disclosure-rounding-direction 2', ('3157.31', '0.0891399', 150, 3), ['0.090477', '285.664', '1.51']),\n  ('partial repair guard 1', ('1099.42', '0.8959289', -50, 3), ['0.891449', '980.077', '-0.50']),\n  ('partial repair guard 2', ('839.76', '1.4166337', -50, 2), ['1.409551', '1183.68', '-0.49']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])],\n [('regression disclosure-rounding-direction 1', ('508.07', '12.046349', 275, 0), ['12.377624', '6289', '2.76']),\n  ('regression disclosure-rounding-direction 2', ('3826.89', '1.5416740', -50, 2), ['1.533966', '5870.32', '-0.49']),\n  ('partial repair guard 1', ('2901.49', '0.0386239', -50, 3), ['0.038431', '111.507', '-0.49']),\n  ('partial repair guard 2', ('304.69', '0.8083309', -50, 0), ['0.804289', '245', '-0.50']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00']),\n  ('control: promotional discount', ('80.00', '0.913377', -50, 2), ['0.908810', '72.70', '-0.50']),\n  ('control: zero markup', ('12.34', '1.2', 0, 2), ['1.200000', '14.81', '0.00']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00'])],\n [('regression disclosure-rounding-direction 1', ('419.33', '78.12165', 350, 2), ['80.855908', '33905.31', '3.51']),\n  ('regression disclosure-rounding-direction 2', ('2378.17', '122.42736', 300, 2), ['126.100181', '299887.67', '3.01']),\n  ('partial repair guard 1', ('635.41', '83.19332', -50, 2), ['82.777353', '52597.56', '-0.50']),\n  ('partial repair guard 2', ('1155.57', '2.42284', -75, 0), ['2.404669', '2779', '-0.74']),\n  ('control: euro to dollar', ('100.00', '1.083471', 300, 2), ['1.115975', '111.60', '3.00']),\n  ('control: yen to dollar', ('5000', '0.00662', 350, 2), ['0.006852', '34.26', '3.51']),\n  ('control: to yen card', ('49.99', '151.3742', 275, 0), ['155.536991', '7775', '2.76']),\n  ('control: dinar card', ('250.00', '0.307133', 400, 3), ['0.319418', '79.855', '4.00'])]]\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-dynamic-currency-conversion-receipt-disclosure-rounding-direction","generated_at":"2026-09-29T14:47:02.337369+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":"Round the disclosed percentage with ROUND_CEILING.","root_cause":"The disclosure uses half-up rounding instead of rounding toward positive infinity.","sha256":"17b0cbefc55a091a0144ff7d9909f4e4954f6e8cbbab92cbd66a9d336be0a344","title":"The disclosed markup is rounded to nearest and can understate · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.367,"exit_code":1,"observations":[{"actual":["0.006852","34.26","3.51"],"check":"regression disclosure-rounding-direction 1","expected":["0.006852","34.26","3.51"],"passed":true},{"actual":["155.536991","7775","2.76"],"check":"regression disclosure-rounding-direction 2","expected":["155.536991","7775","2.76"],"passed":true},{"actual":["0.908810","72.70","-0.51"],"check":"partial repair guard 1","expected":["0.908810","72.70","-0.50"],"passed":false},{"actual":["0.465970","545.772","-0.50"],"check":"partial repair guard 2","expected":["0.465970","545.772","-0.49"],"passed":false},{"actual":["1.115975","111.60","3.00"],"check":"control: euro to dollar","expected":["1.115975","111.60","3.00"],"passed":true},{"actual":["0.319418","79.855","4.00"],"check":"control: dinar card","expected":["0.319418","79.855","4.00"],"passed":true},{"actual":["1.200000","14.81","0.00"],"check":"control: zero markup","expected":["1.200000","14.81","0.00"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression disclosure-rounding-direction 1\", \"actual\": [\"0.006852\", \"34.26\", \"3.51\"], \"expected\": [\"0.006852\", \"34.26\", \"3.51\"], \"passed\": true}, {\"check\": \"regression disclosure-rounding-direction 2\", \"actual\": [\"155.536991\", \"7775\", \"2.76\"], \"expected\": [\"155.536991\", \"7775\", \"2.76\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": [\"0.908810\", \"72.70\", \"-0.51\"], \"expected\": [\"0.908810\", \"72.70\", \"-0.50\"], \"passed\": false}, {\"check\": \"partial repair guard 2\", \"actual\": [\"0.465970\", \"545.772\", \"-0.50\"], \"expected\": [\"0.465970\", \"545.772\", \"-0.49\"], \"passed\": false}, {\"check\": \"control: euro to dollar\", \"actual\": [\"1.115975\", \"111.60\", \"3.00\"], \"expected\": [\"1.115975\", \"111.60\", \"3.00\"], \"passed\": true}, {\"check\": \"control: dinar card\", \"actual\": [\"0.319418\", \"79.855\", \"4.00\"], \"expected\": [\"0.319418\", \"79.855\", \"4.00\"], \"passed\": true}, {\"check\": \"control: zero markup\", \"actual\": [\"1.200000\", \"14.81\", \"0.00\"], \"expected\": [\"1.200000\", \"14.81\", \"0.00\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.795,"exit_code":1,"observations":[{"actual":["0.006852","34.26","3.50"],"check":"regression disclosure-rounding-direction 1","expected":["0.006852","34.26","3.51"],"passed":false},{"actual":["155.536991","7775","2.75"],"check":"regression disclosure-rounding-direction 2","expected":["155.536991","7775","2.76"],"passed":false},{"actual":["0.908810","72.70","-0.50"],"check":"partial repair guard 1","expected":["0.908810","72.70","-0.50"],"passed":true},{"actual":["0.465970","545.772","-0.50"],"check":"partial repair guard 2","expected":["0.465970","545.772","-0.49"],"passed":false},{"actual":["1.115975","111.60","3.00"],"check":"control: euro to dollar","expected":["1.115975","111.60","3.00"],"passed":true},{"actual":["0.319418","79.855","4.00"],"check":"control: dinar card","expected":["0.319418","79.855","4.00"],"passed":true},{"actual":["1.200000","14.81","0.00"],"check":"control: zero markup","expected":["1.200000","14.81","0.00"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression disclosure-rounding-direction 1\", \"actual\": [\"0.006852\", \"34.26\", \"3.50\"], \"expected\": [\"0.006852\", \"34.26\", \"3.51\"], \"passed\": false}, {\"check\": \"regression disclosure-rounding-direction 2\", \"actual\": [\"155.536991\", \"7775\", \"2.75\"], \"expected\": [\"155.536991\", \"7775\", \"2.76\"], \"passed\": false}, {\"check\": \"partial repair guard 1\", \"actual\": [\"0.908810\", \"72.70\", \"-0.50\"], \"expected\": [\"0.908810\", \"72.70\", \"-0.50\"], \"passed\": true}, {\"check\": \"partial repair guard 2\", \"actual\": [\"0.465970\", \"545.772\", \"-0.50\"], \"expected\": [\"0.465970\", \"545.772\", \"-0.49\"], \"passed\": false}, {\"check\": \"control: euro to dollar\", \"actual\": [\"1.115975\", \"111.60\", \"3.00\"], \"expected\": [\"1.115975\", \"111.60\", \"3.00\"], \"passed\": true}, {\"check\": \"control: dinar card\", \"actual\": [\"0.319418\", \"79.855\", \"4.00\"], \"expected\": [\"0.319418\", \"79.855\", \"4.00\"], \"passed\": true}, {\"check\": \"control: zero markup\", \"actual\": [\"1.200000\", \"14.81\", \"0.00\"], \"expected\": [\"1.200000\", \"14.81\", \"0.00\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.97,"exit_code":0,"observations":[{"actual":["0.006852","34.26","3.51"],"check":"regression disclosure-rounding-direction 1","expected":["0.006852","34.26","3.51"],"passed":true},{"actual":["155.536991","7775","2.76"],"check":"regression disclosure-rounding-direction 2","expected":["155.536991","7775","2.76"],"passed":true},{"actual":["0.908810","72.70","-0.50"],"check":"partial repair guard 1","expected":["0.908810","72.70","-0.50"],"passed":true},{"actual":["0.465970","545.772","-0.49"],"check":"partial repair guard 2","expected":["0.465970","545.772","-0.49"],"passed":true},{"actual":["1.115975","111.60","3.00"],"check":"control: euro to dollar","expected":["1.115975","111.60","3.00"],"passed":true},{"actual":["0.319418","79.855","4.00"],"check":"control: dinar card","expected":["0.319418","79.855","4.00"],"passed":true},{"actual":["1.200000","14.81","0.00"],"check":"control: zero markup","expected":["1.200000","14.81","0.00"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression disclosure-rounding-direction 1\", \"actual\": [\"0.006852\", \"34.26\", \"3.51\"], \"expected\": [\"0.006852\", \"34.26\", \"3.51\"], \"passed\": true}, {\"check\": \"regression disclosure-rounding-direction 2\", \"actual\": [\"155.536991\", \"7775\", \"2.76\"], \"expected\": [\"155.536991\", \"7775\", \"2.76\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": [\"0.908810\", \"72.70\", \"-0.50\"], \"expected\": [\"0.908810\", \"72.70\", \"-0.50\"], \"passed\": true}, {\"check\": \"partial repair guard 2\", \"actual\": [\"0.465970\", \"545.772\", \"-0.49\"], \"expected\": [\"0.465970\", \"545.772\", \"-0.49\"], \"passed\": true}, {\"check\": \"control: euro to dollar\", \"actual\": [\"1.115975\", \"111.60\", \"3.00\"], \"expected\": [\"1.115975\", \"111.60\", \"3.00\"], \"passed\": true}, {\"check\": \"control: dinar card\", \"actual\": [\"0.319418\", \"79.855\", \"4.00\"], \"expected\": [\"0.319418\", \"79.855\", \"4.00\"], \"passed\": true}, {\"check\": \"control: zero markup\", \"actual\": [\"1.200000\", \"14.81\", \"0.00\"], \"expected\": [\"1.200000\", \"14.81\", \"0.00\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}