{"abstract":"Legitimate zero-spread promotional quotes fail with ERR:crossed-quote.","category":"Currency rounding and FX conversion","checks":7,"contract":"solve(side, amount, ccy, pair, bid, ask): pair is six letters BASEQUOTE; side is the customer's action on the base currency ('buy' or 'sell'). The dealer sells base at ask and buys at bid. If amount is in base, the counter amount in quote is amount*rate; if in quote, the counter amount in base is amount/rate. Amounts the customer pays are rounded up (ceiling) and amounts the customer receives are rounded down (floor) at the counter currency exponent (JPY 0, KWD 3, else 2). Return [counter_amount, counter_ccy]; errors: 'ERR:side', 'ERR:crossed-quote' when bid > ask (bid == ask is valid), 'ERR:currency-not-in-pair'.","evaluation_group":"w2-currency_rounding_and_fx_conversion-bid-ask-customer-conversion","failed_approach":"Dropping the guard entirely accepts crossed quotes and trades at an inverted spread.","family":"w2-currency_rounding_and_fx_conversion-bid-ask-customer-conversion-locked-quote","id":"FA-61911","implementations":{"attempt":{"sha256":"fb1b325fddcc3a59094876931069ad364b59cdc15de959492b3a02ff91ecaf72","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(side, amount, ccy, pair, bid, ask):\n    exps = {'JPY': 0, 'KWD': 3}\n    base, quote = pair[:3], pair[3:]\n    if side not in ('buy', 'sell'): return 'ERR:side'\n    b, a = Decimal(bid), Decimal(ask)\n    pass\n    r = a if side == 'buy' else b\n    x = Decimal(amount)\n    if ccy == base:\n        out, oc = x * r, quote\n        pays = side == 'buy'\n    elif ccy == quote:\n        out, oc = x / r, base\n        pays = side == 'sell'\n    else:\n        return 'ERR:currency-not-in-pair'\n    mode = ROUND_CEILING if pays else ROUND_FLOOR\n    return [format(out.quantize(Decimal(1).scaleb(-exps.get(oc, 2)), rounding=mode), 'f'), oc]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression locked-quote 1', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('regression locked-quote 2', ('buy', '61902', 'USD', 'EURUSD', '90.2139', '90.2139'), ['686.16', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR'])],\n [('regression locked-quote 1', ('buy', '9242.03', 'USD', 'USDKWD', '102.3192', '102.3192'), ['945637.116', 'KWD']),\n  ('regression locked-quote 2', ('sell', '43841.09', 'USD', 'GBPUSD', '40.6095', '40.6095'), ['1079.58', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair')],\n [('regression locked-quote 1', ('sell', '71412', 'KWD', 'KWDUSD', '24.3260', '24.3260'), ['1737168.31', 'USD']),\n  ('regression locked-quote 2', ('sell', '40482', 'KWD', 'USDKWD', '85.5377', '85.5377'), ['473.27', 'USD']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair'),\n  ('control: dinar counter', ('sell', '77.77', 'USD', 'KWDUSD', '3.2520', '3.2561'), ['23.915', 'KWD']),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD'])],\n [('regression locked-quote 1', ('sell', '36252', 'USD', 'KWDUSD', '151.2728', '151.2728'), ['239.647', 'KWD']),\n  ('regression locked-quote 2', ('buy', '55623', 'JPY', 'EURJPY', '87.3553', '87.3553'), ['636.74', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR'])],\n [('regression locked-quote 1', ('sell', '94639.83', 'USD', 'KWDUSD', '80.9904', '80.9904'), ['1168.532', 'KWD']),\n  ('regression locked-quote 2', ('sell', '22683.50', 'USD', 'GBPUSD', '155.5065', '155.5065'), ['145.87', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD'])]]\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":"9d43b5ef6fbc69ae65fab45fbd2b6b8624697441a7d79edd4b6b52f969e20d11","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(side, amount, ccy, pair, bid, ask):\n    exps = {'JPY': 0, 'KWD': 3}\n    base, quote = pair[:3], pair[3:]\n    if side not in ('buy', 'sell'): return 'ERR:side'\n    b, a = Decimal(bid), Decimal(ask)\n    if b >= a: return 'ERR:crossed-quote'\n    r = a if side == 'buy' else b\n    x = Decimal(amount)\n    if ccy == base:\n        out, oc = x * r, quote\n        pays = side == 'buy'\n    elif ccy == quote:\n        out, oc = x / r, base\n        pays = side == 'sell'\n    else:\n        return 'ERR:currency-not-in-pair'\n    mode = ROUND_CEILING if pays else ROUND_FLOOR\n    return [format(out.quantize(Decimal(1).scaleb(-exps.get(oc, 2)), rounding=mode), 'f'), oc]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression locked-quote 1', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('regression locked-quote 2', ('buy', '61902', 'USD', 'EURUSD', '90.2139', '90.2139'), ['686.16', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR'])],\n [('regression locked-quote 1', ('buy', '9242.03', 'USD', 'USDKWD', '102.3192', '102.3192'), ['945637.116', 'KWD']),\n  ('regression locked-quote 2', ('sell', '43841.09', 'USD', 'GBPUSD', '40.6095', '40.6095'), ['1079.58', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair')],\n [('regression locked-quote 1', ('sell', '71412', 'KWD', 'KWDUSD', '24.3260', '24.3260'), ['1737168.31', 'USD']),\n  ('regression locked-quote 2', ('sell', '40482', 'KWD', 'USDKWD', '85.5377', '85.5377'), ['473.27', 'USD']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair'),\n  ('control: dinar counter', ('sell', '77.77', 'USD', 'KWDUSD', '3.2520', '3.2561'), ['23.915', 'KWD']),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD'])],\n [('regression locked-quote 1', ('sell', '36252', 'USD', 'KWDUSD', '151.2728', '151.2728'), ['239.647', 'KWD']),\n  ('regression locked-quote 2', ('buy', '55623', 'JPY', 'EURJPY', '87.3553', '87.3553'), ['636.74', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR'])],\n [('regression locked-quote 1', ('sell', '94639.83', 'USD', 'KWDUSD', '80.9904', '80.9904'), ['1168.532', 'KWD']),\n  ('regression locked-quote 2', ('sell', '22683.50', 'USD', 'GBPUSD', '155.5065', '155.5065'), ['145.87', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD'])]]\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":"cbe0e263746ac4e91e0f18768dbeecd4df03d746a479345def9c026f67d5b9b2","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(side, amount, ccy, pair, bid, ask):\n    exps = {'JPY': 0, 'KWD': 3}\n    base, quote = pair[:3], pair[3:]\n    if side not in ('buy', 'sell'): return 'ERR:side'\n    b, a = Decimal(bid), Decimal(ask)\n    if b > a: return 'ERR:crossed-quote'\n    r = a if side == 'buy' else b\n    x = Decimal(amount)\n    if ccy == base:\n        out, oc = x * r, quote\n        pays = side == 'buy'\n    elif ccy == quote:\n        out, oc = x / r, base\n        pays = side == 'sell'\n    else:\n        return 'ERR:currency-not-in-pair'\n    mode = ROUND_CEILING if pays else ROUND_FLOOR\n    return [format(out.quantize(Decimal(1).scaleb(-exps.get(oc, 2)), rounding=mode), 'f'), oc]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncases = [[('regression locked-quote 1', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('regression locked-quote 2', ('buy', '61902', 'USD', 'EURUSD', '90.2139', '90.2139'), ['686.16', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR'])],\n [('regression locked-quote 1', ('buy', '9242.03', 'USD', 'USDKWD', '102.3192', '102.3192'), ['945637.116', 'KWD']),\n  ('regression locked-quote 2', ('sell', '43841.09', 'USD', 'GBPUSD', '40.6095', '40.6095'), ['1079.58', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD']),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair')],\n [('regression locked-quote 1', ('sell', '71412', 'KWD', 'KWDUSD', '24.3260', '24.3260'), ['1737168.31', 'USD']),\n  ('regression locked-quote 2', ('sell', '40482', 'KWD', 'USDKWD', '85.5377', '85.5377'), ['473.27', 'USD']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: foreign currency', ('buy', '5', 'CHF', 'EURUSD', '1.08', '1.09'), 'ERR:currency-not-in-pair'),\n  ('control: dinar counter', ('sell', '77.77', 'USD', 'KWDUSD', '3.2520', '3.2561'), ['23.915', 'KWD']),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD'])],\n [('regression locked-quote 1', ('sell', '36252', 'USD', 'KWDUSD', '151.2728', '151.2728'), ['239.647', 'KWD']),\n  ('regression locked-quote 2', ('buy', '55623', 'JPY', 'EURJPY', '87.3553', '87.3553'), ['636.74', 'EUR']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: bad side', ('hold', '5', 'EUR', 'EURUSD', '1.08', '1.09'), 'ERR:side'),\n  ('control: buy base in base', ('buy', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.50', 'USD']),\n  ('control: sell base in base', ('sell', '1000', 'EUR', 'EURUSD', '1.0831', '1.0835'), ['1083.10', 'USD']),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR'])],\n [('regression locked-quote 1', ('sell', '94639.83', 'USD', 'KWDUSD', '80.9904', '80.9904'), ['1168.532', 'KWD']),\n  ('regression locked-quote 2', ('sell', '22683.50', 'USD', 'GBPUSD', '155.5065', '155.5065'), ['145.87', 'GBP']),\n  ('partial repair guard 1', ('buy', '5', 'EUR', 'EURUSD', '1.2', '1.1'), 'ERR:crossed-quote'),\n  ('control: spend quote', ('buy', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.29', 'EUR']),\n  ('control: receive quote', ('sell', '100', 'USD', 'EURUSD', '1.0831', '1.0835'), ['92.33', 'EUR']),\n  ('control: yen counter', ('buy', '10.01', 'USD', 'USDJPY', '151.20', '151.24'), ['1514', 'JPY']),\n  ('control: locked quote', ('sell', '250', 'GBP', 'GBPUSD', '1.2650', '1.2650'), ['316.25', 'USD'])]]\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-bid-ask-customer-conversion-locked-quote","generated_at":"2026-09-29T14:46:59.687902+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":"Reject only quotes whose bid strictly exceeds the ask.","root_cause":"The crossed-quote guard uses b >= a instead of b > a.","sha256":"b2f47e9685da17290fa345b909e4b8524348114d3b58632e99c8ec8416af7374","title":"A locked quote with equal bid and ask is rejected as crossed · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.271,"exit_code":1,"observations":[{"actual":["316.25","USD"],"check":"regression locked-quote 1","expected":["316.25","USD"],"passed":true},{"actual":["686.16","EUR"],"check":"regression locked-quote 2","expected":["686.16","EUR"],"passed":true},{"actual":["5.50","USD"],"check":"partial repair guard 1","expected":"ERR:crossed-quote","passed":false},{"actual":["1083.50","USD"],"check":"control: buy base in base","expected":["1083.50","USD"],"passed":true},{"actual":["1083.10","USD"],"check":"control: sell base in base","expected":["1083.10","USD"],"passed":true},{"actual":["92.29","EUR"],"check":"control: spend quote","expected":["92.29","EUR"],"passed":true},{"actual":["92.33","EUR"],"check":"control: receive quote","expected":["92.33","EUR"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression locked-quote 1\", \"actual\": [\"316.25\", \"USD\"], \"expected\": [\"316.25\", \"USD\"], \"passed\": true}, {\"check\": \"regression locked-quote 2\", \"actual\": [\"686.16\", \"EUR\"], \"expected\": [\"686.16\", \"EUR\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": [\"5.50\", \"USD\"], \"expected\": \"ERR:crossed-quote\", \"passed\": false}, {\"check\": \"control: buy base in base\", \"actual\": [\"1083.50\", \"USD\"], \"expected\": [\"1083.50\", \"USD\"], \"passed\": true}, {\"check\": \"control: sell base in base\", \"actual\": [\"1083.10\", \"USD\"], \"expected\": [\"1083.10\", \"USD\"], \"passed\": true}, {\"check\": \"control: spend quote\", \"actual\": [\"92.29\", \"EUR\"], \"expected\": [\"92.29\", \"EUR\"], \"passed\": true}, {\"check\": \"control: receive quote\", \"actual\": [\"92.33\", \"EUR\"], \"expected\": [\"92.33\", \"EUR\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.419,"exit_code":1,"observations":[{"actual":"ERR:crossed-quote","check":"regression locked-quote 1","expected":["316.25","USD"],"passed":false},{"actual":"ERR:crossed-quote","check":"regression locked-quote 2","expected":["686.16","EUR"],"passed":false},{"actual":"ERR:crossed-quote","check":"partial repair guard 1","expected":"ERR:crossed-quote","passed":true},{"actual":["1083.50","USD"],"check":"control: buy base in base","expected":["1083.50","USD"],"passed":true},{"actual":["1083.10","USD"],"check":"control: sell base in base","expected":["1083.10","USD"],"passed":true},{"actual":["92.29","EUR"],"check":"control: spend quote","expected":["92.29","EUR"],"passed":true},{"actual":["92.33","EUR"],"check":"control: receive quote","expected":["92.33","EUR"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression locked-quote 1\", \"actual\": \"ERR:crossed-quote\", \"expected\": [\"316.25\", \"USD\"], \"passed\": false}, {\"check\": \"regression locked-quote 2\", \"actual\": \"ERR:crossed-quote\", \"expected\": [\"686.16\", \"EUR\"], \"passed\": false}, {\"check\": \"partial repair guard 1\", \"actual\": \"ERR:crossed-quote\", \"expected\": \"ERR:crossed-quote\", \"passed\": true}, {\"check\": \"control: buy base in base\", \"actual\": [\"1083.50\", \"USD\"], \"expected\": [\"1083.50\", \"USD\"], \"passed\": true}, {\"check\": \"control: sell base in base\", \"actual\": [\"1083.10\", \"USD\"], \"expected\": [\"1083.10\", \"USD\"], \"passed\": true}, {\"check\": \"control: spend quote\", \"actual\": [\"92.29\", \"EUR\"], \"expected\": [\"92.29\", \"EUR\"], \"passed\": true}, {\"check\": \"control: receive quote\", \"actual\": [\"92.33\", \"EUR\"], \"expected\": [\"92.33\", \"EUR\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.555,"exit_code":0,"observations":[{"actual":["316.25","USD"],"check":"regression locked-quote 1","expected":["316.25","USD"],"passed":true},{"actual":["686.16","EUR"],"check":"regression locked-quote 2","expected":["686.16","EUR"],"passed":true},{"actual":"ERR:crossed-quote","check":"partial repair guard 1","expected":"ERR:crossed-quote","passed":true},{"actual":["1083.50","USD"],"check":"control: buy base in base","expected":["1083.50","USD"],"passed":true},{"actual":["1083.10","USD"],"check":"control: sell base in base","expected":["1083.10","USD"],"passed":true},{"actual":["92.29","EUR"],"check":"control: spend quote","expected":["92.29","EUR"],"passed":true},{"actual":["92.33","EUR"],"check":"control: receive quote","expected":["92.33","EUR"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression locked-quote 1\", \"actual\": [\"316.25\", \"USD\"], \"expected\": [\"316.25\", \"USD\"], \"passed\": true}, {\"check\": \"regression locked-quote 2\", \"actual\": [\"686.16\", \"EUR\"], \"expected\": [\"686.16\", \"EUR\"], \"passed\": true}, {\"check\": \"partial repair guard 1\", \"actual\": \"ERR:crossed-quote\", \"expected\": \"ERR:crossed-quote\", \"passed\": true}, {\"check\": \"control: buy base in base\", \"actual\": [\"1083.50\", \"USD\"], \"expected\": [\"1083.50\", \"USD\"], \"passed\": true}, {\"check\": \"control: sell base in base\", \"actual\": [\"1083.10\", \"USD\"], \"expected\": [\"1083.10\", \"USD\"], \"passed\": true}, {\"check\": \"control: spend quote\", \"actual\": [\"92.29\", \"EUR\"], \"expected\": [\"92.29\", \"EUR\"], \"passed\": true}, {\"check\": \"control: receive quote\", \"actual\": [\"92.33\", \"EUR\"], \"expected\": [\"92.33\", \"EUR\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}