{"abstract":"The bet slip shows 2.50 for a 25 percent boost on 2.00.","category":"Betting odds conversion","checks":7,"contract":"Profit boost promotion. Normal profit = stake * (price - 1). The boost increases the profit by boost_pct percent, but the extra winnings over the normal profit are capped at max_extra_cents. The displayed boosted price is 1 + (price - 1) * (1 + boost/100) rounded half up to two decimals (display only). Return [displayed price, potential return = stake + floor(normal profit + extra)].","evaluation_group":"w2-odds-conversion-profit-boost-cap","failed_approach":"Adding the boost percentage as price points is not a profit boost.","family":"w2-odds-conversion-profit-boost-cap-display-price","id":"FA-84746","implementations":{"attempt":{"sha256":"2b0f6f0902f4d50c842a35fbb45565af636521f2d51df8f764d7d7114e308ab9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nimport math\nN = 1\nobservations = []\ndef solve(price, boost_pct, max_extra_cents, stake_cents):\n    d = Fraction(price)\n    b = Fraction(boost_pct) / 100\n    normal = stake_cents * (d - 1)\n    boosted = normal * (1 + b)\n    extra = min(boosted - normal, max_extra_cents)\n    shown = d + b\n    c = math.floor(shown * 100 + Fraction(1, 2))\n    return ['%d.%02d' % (c // 100, c % 100), stake_cents + math.floor(normal + extra)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('4.98', '100', 1000, 5000), ['8.96', 25900]),\n  ('variant scenario 1', ('7.75', '50', 100000, 5000), ['11.13', 55625]),\n  ('variant scenario 2', ('6.51', '100', 5000, 500), ['12.02', 6010])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.39', '20', 500, 1000), ['8.67', 7890]),\n  ('variant scenario 1', ('5.26', '10', 100000, 1000), ['5.69', 5686]),\n  ('variant scenario 2', ('1.56', '20', 500, 5000), ['1.67', 8300])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('6.76', '10', 100000, 5000), ['7.34', 36680]),\n  ('variant scenario 1', ('3.43', '50', 5000, 1000), ['4.65', 4645]),\n  ('variant scenario 2', ('3.19', '10', 1000, 500), ['3.41', 1704])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.30', '10', 500, 500), ['7.93', 3965]),\n  ('variant scenario 1', ('6.33', '10', 100000, 500), ['6.86', 3431]),\n  ('variant scenario 2', ('5.87', '20', 500, 1000), ['6.84', 6370])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('3.21', '20', 500, 5000), ['3.65', 16550]),\n  ('variant scenario 1', ('7.15', '100', 100000, 5000), ['13.30', 66500]),\n  ('variant scenario 2', ('6.84', '20', 1000, 2000), ['8.01', 14680])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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":"e5e041027a0bea0e8dfd028016f306c2016f4d0760ffb10b1ec1fa8e17339168","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nimport math\nN = 1\nobservations = []\ndef solve(price, boost_pct, max_extra_cents, stake_cents):\n    d = Fraction(price)\n    b = Fraction(boost_pct) / 100\n    normal = stake_cents * (d - 1)\n    boosted = normal * (1 + b)\n    extra = min(boosted - normal, max_extra_cents)\n    shown = d * (1 + b)\n    c = math.floor(shown * 100 + Fraction(1, 2))\n    return ['%d.%02d' % (c // 100, c % 100), stake_cents + math.floor(normal + extra)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('4.98', '100', 1000, 5000), ['8.96', 25900]),\n  ('variant scenario 1', ('7.75', '50', 100000, 5000), ['11.13', 55625]),\n  ('variant scenario 2', ('6.51', '100', 5000, 500), ['12.02', 6010])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.39', '20', 500, 1000), ['8.67', 7890]),\n  ('variant scenario 1', ('5.26', '10', 100000, 1000), ['5.69', 5686]),\n  ('variant scenario 2', ('1.56', '20', 500, 5000), ['1.67', 8300])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('6.76', '10', 100000, 5000), ['7.34', 36680]),\n  ('variant scenario 1', ('3.43', '50', 5000, 1000), ['4.65', 4645]),\n  ('variant scenario 2', ('3.19', '10', 1000, 500), ['3.41', 1704])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.30', '10', 500, 500), ['7.93', 3965]),\n  ('variant scenario 1', ('6.33', '10', 100000, 500), ['6.86', 3431]),\n  ('variant scenario 2', ('5.87', '20', 500, 1000), ['6.84', 6370])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('3.21', '20', 500, 5000), ['3.65', 16550]),\n  ('variant scenario 1', ('7.15', '100', 100000, 5000), ['13.30', 66500]),\n  ('variant scenario 2', ('6.84', '20', 1000, 2000), ['8.01', 14680])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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":"6686e5f3a2788ad200552bf5b0b83b82f5881cc10346f92ded0405a0c34ae029","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nimport math\nN = 1\nobservations = []\ndef solve(price, boost_pct, max_extra_cents, stake_cents):\n    d = Fraction(price)\n    b = Fraction(boost_pct) / 100\n    normal = stake_cents * (d - 1)\n    boosted = normal * (1 + b)\n    extra = min(boosted - normal, max_extra_cents)\n    shown = 1 + (d - 1) * (1 + b)\n    c = math.floor(shown * 100 + Fraction(1, 2))\n    return ['%d.%02d' % (c // 100, c % 100), stake_cents + math.floor(normal + extra)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ndef run(args):\n    try:\n        return solve(*args)\n    except Exception as exc:\n        return 'raised ' + type(exc).__name__\ncases = [[('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('4.98', '100', 1000, 5000), ['8.96', 25900]),\n  ('variant scenario 1', ('7.75', '50', 100000, 5000), ['11.13', 55625]),\n  ('variant scenario 2', ('6.51', '100', 5000, 500), ['12.02', 6010])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.39', '20', 500, 1000), ['8.67', 7890]),\n  ('variant scenario 1', ('5.26', '10', 100000, 1000), ['5.69', 5686]),\n  ('variant scenario 2', ('1.56', '20', 500, 5000), ['1.67', 8300])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('6.76', '10', 100000, 5000), ['7.34', 36680]),\n  ('variant scenario 1', ('3.43', '50', 5000, 1000), ['4.65', 4645]),\n  ('variant scenario 2', ('3.19', '10', 1000, 500), ['3.41', 1704])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('7.30', '10', 500, 500), ['7.93', 3965]),\n  ('variant scenario 1', ('6.33', '10', 100000, 500), ['6.86', 3431]),\n  ('variant scenario 2', ('5.87', '20', 500, 1000), ['6.84', 6370])],\n [('control boosted evens', ('2.00', '25', 100000, 1000), ['2.25', 2250]),\n  ('boundary capped extra', ('5.00', '50', 1000, 1000), ['7.00', 6000]),\n  ('control no boost', ('3.00', '0', 1000, 1000), ['3.00', 3000]),\n  ('boundary display half-up', ('1.90', '25', 100000, 1000), ['2.13', 2125]),\n  ('regression: display price', ('3.21', '20', 500, 5000), ['3.65', 16550]),\n  ('variant scenario 1', ('7.15', '100', 100000, 5000), ['13.30', 66500]),\n  ('variant scenario 2', ('6.84', '20', 1000, 2000), ['8.01', 14680])]]\nfor label, args, expected in cases[N - 1]:\n    check(label, run(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":"Stipulated, bounded toy contract stated in the contract field; not a claim of conformance with any operator, exchange or regulator rule set. 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-odds-conversion-profit-boost-cap-display-price","generated_at":"2026-09-29T14:50:33.949728+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Promotional boosts must be applied to profit, not stake, and respect maximum extra winnings.","repair":"Display 1 + boosted profit per unit.","root_cause":"The display boosts the full decimal price.","sha256":"75dcf3ce1053ff8c9fcae205f7224397da21f6f8845cde80b054776351250c1e","title":"Displayed boosted price multiplies the whole decimal price · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.401,"exit_code":1,"observations":[{"actual":["2.25",2250],"check":"control boosted evens","expected":["2.25",2250],"passed":true},{"actual":["5.50",6000],"check":"boundary capped extra","expected":["7.00",6000],"passed":false},{"actual":["3.00",3000],"check":"control no boost","expected":["3.00",3000],"passed":true},{"actual":["2.15",2125],"check":"boundary display half-up","expected":["2.13",2125],"passed":false},{"actual":["5.98",25900],"check":"regression: display price","expected":["8.96",25900],"passed":false},{"actual":["8.25",55625],"check":"variant scenario 1","expected":["11.13",55625],"passed":false},{"actual":["7.51",6010],"check":"variant scenario 2","expected":["12.02",6010],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control boosted evens\", \"actual\": [\"2.25\", 2250], \"expected\": [\"2.25\", 2250], \"passed\": true}, {\"check\": \"boundary capped extra\", \"actual\": [\"5.50\", 6000], \"expected\": [\"7.00\", 6000], \"passed\": false}, {\"check\": \"control no boost\", \"actual\": [\"3.00\", 3000], \"expected\": [\"3.00\", 3000], \"passed\": true}, {\"check\": \"boundary display half-up\", \"actual\": [\"2.15\", 2125], \"expected\": [\"2.13\", 2125], \"passed\": false}, {\"check\": \"regression: display price\", \"actual\": [\"5.98\", 25900], \"expected\": [\"8.96\", 25900], \"passed\": false}, {\"check\": \"variant scenario 1\", \"actual\": [\"8.25\", 55625], \"expected\": [\"11.13\", 55625], \"passed\": false}, {\"check\": \"variant scenario 2\", \"actual\": [\"7.51\", 6010], \"expected\": [\"12.02\", 6010], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.327,"exit_code":1,"observations":[{"actual":["2.50",2250],"check":"control boosted evens","expected":["2.25",2250],"passed":false},{"actual":["7.50",6000],"check":"boundary capped extra","expected":["7.00",6000],"passed":false},{"actual":["3.00",3000],"check":"control no boost","expected":["3.00",3000],"passed":true},{"actual":["2.38",2125],"check":"boundary display half-up","expected":["2.13",2125],"passed":false},{"actual":["9.96",25900],"check":"regression: display price","expected":["8.96",25900],"passed":false},{"actual":["11.63",55625],"check":"variant scenario 1","expected":["11.13",55625],"passed":false},{"actual":["13.02",6010],"check":"variant scenario 2","expected":["12.02",6010],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control boosted evens\", \"actual\": [\"2.50\", 2250], \"expected\": [\"2.25\", 2250], \"passed\": false}, {\"check\": \"boundary capped extra\", \"actual\": [\"7.50\", 6000], \"expected\": [\"7.00\", 6000], \"passed\": false}, {\"check\": \"control no boost\", \"actual\": [\"3.00\", 3000], \"expected\": [\"3.00\", 3000], \"passed\": true}, {\"check\": \"boundary display half-up\", \"actual\": [\"2.38\", 2125], \"expected\": [\"2.13\", 2125], \"passed\": false}, {\"check\": \"regression: display price\", \"actual\": [\"9.96\", 25900], \"expected\": [\"8.96\", 25900], \"passed\": false}, {\"check\": \"variant scenario 1\", \"actual\": [\"11.63\", 55625], \"expected\": [\"11.13\", 55625], \"passed\": false}, {\"check\": \"variant scenario 2\", \"actual\": [\"13.02\", 6010], \"expected\": [\"12.02\", 6010], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.456,"exit_code":0,"observations":[{"actual":["2.25",2250],"check":"control boosted evens","expected":["2.25",2250],"passed":true},{"actual":["7.00",6000],"check":"boundary capped extra","expected":["7.00",6000],"passed":true},{"actual":["3.00",3000],"check":"control no boost","expected":["3.00",3000],"passed":true},{"actual":["2.13",2125],"check":"boundary display half-up","expected":["2.13",2125],"passed":true},{"actual":["8.96",25900],"check":"regression: display price","expected":["8.96",25900],"passed":true},{"actual":["11.13",55625],"check":"variant scenario 1","expected":["11.13",55625],"passed":true},{"actual":["12.02",6010],"check":"variant scenario 2","expected":["12.02",6010],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"control boosted evens\", \"actual\": [\"2.25\", 2250], \"expected\": [\"2.25\", 2250], \"passed\": true}, {\"check\": \"boundary capped extra\", \"actual\": [\"7.00\", 6000], \"expected\": [\"7.00\", 6000], \"passed\": true}, {\"check\": \"control no boost\", \"actual\": [\"3.00\", 3000], \"expected\": [\"3.00\", 3000], \"passed\": true}, {\"check\": \"boundary display half-up\", \"actual\": [\"2.13\", 2125], \"expected\": [\"2.13\", 2125], \"passed\": true}, {\"check\": \"regression: display price\", \"actual\": [\"8.96\", 25900], \"expected\": [\"8.96\", 25900], \"passed\": true}, {\"check\": \"variant scenario 1\", \"actual\": [\"11.13\", 55625], \"expected\": [\"11.13\", 55625], \"passed\": true}, {\"check\": \"variant scenario 2\", \"actual\": [\"12.02\", 6010], \"expected\": [\"12.02\", 6010], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}