{"abstract":"Express lane dynamic price returns a wrong result when densities beyond the table hold the previous price.","category":"Toll and parking fee computation","checks":8,"contract":"Input {density, prev_price, bands: [[density upto, price]] ascending, max_step, min_price, max_price, occupancy, hov_free_min, hov2_pct}. The target is the first band whose upto is >= density, else max_price. The posted price moves from prev_price toward the target by at most max_step either way, then is clamped to [min_price, max_price]. Vehicles with occupancy >= hov_free_min pay 0; occupancy 2 (when not free) pays hov2_pct percent floored to 5 cents. Return [posted, charged].","contract_signature":"x","evaluation_group":"w2-toll_and_parking_fee_computation-express-lane-price","failed_approach":"Holding the previous price freezes pricing exactly when congestion is worst.","family":"w2-toll_and_parking_fee_computation-express-lane-price-beyond-bands","id":"FA-68586","implementations":{"attempt":{"sha256":"82390c211be085347e757a7f4e435cab6baaa3eb857ef9696ffdc2eb7457f8be","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    target = x['prev_price']\n    for upto, price in x['bands']:\n        if x['density'] <= upto:\n            target = price\n            break\n    prev = x['prev_price']\n    step = max(-x['max_step'], min(x['max_step'], target - prev))\n    price = max(x['min_price'], min(x['max_price'], prev + step))\n    if x['occupancy'] >= x['hov_free_min']:\n        return [price, 0]\n    if x['occupancy'] == 2:\n        return [price, price * x['hov2_pct'] // 100 // 5 * 5]\n    return [price, price]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 50, 'prev_price': 775, 'bands': [[17, 175], [19, 425], [21, 700], [32, 750]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 0]), ({'density': 38, 'prev_price': 225, 'bands': [[10, 225], [20, 575], [29, 650], [38, 750]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 4, 'hov2_pct': 50}, [250, 250]), ({'density': 26, 'prev_price': 1050, 'bands': [[24, 125], [26, 275], [27, 750], [43, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 50}, [1025, 0]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 36, 'prev_price': 1025, 'bands': [[17, 50], [22, 550], [27, 725], [35, 975]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 70}, [1050, 0]), ({'density': 43, 'prev_price': 1150, 'bands': [[10, 375], [12, 575], [21, 625], [36, 875]], 'max_step': 50, 'min_price': 50, 'max_price': 1200, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [1200, 0])], [({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 45, 'prev_price': 775, 'bands': [[16, 175], [22, 200], [29, 225], [35, 450]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [800, 800]), ({'density': 48, 'prev_price': 950, 'bands': [[12, 100], [14, 175], [38, 500], [42, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 4, 'hov2_pct': 70}, [1000, 1000]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 700, 'bands': [[16, 50], [22, 475], [23, 675], [32, 700]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [750, 750]), ({'density': 29, 'prev_price': 0, 'bands': [[16, 675], [29, 850], [33, 875], [34, 975]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 0]), ({'density': 36, 'prev_price': 225, 'bands': [[10, 75], [18, 300], [27, 625], [34, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [250, 0])], [({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 900, 'bands': [[22, 200], [24, 325], [33, 800], [41, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 49, 'prev_price': 900, 'bands': [[16, 650], [20, 850], [23, 925], [34, 950]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 14, 'prev_price': 525, 'bands': [[13, 200], [14, 350], [19, 850], [27, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 70}, [500, 0]), ({'density': 48, 'prev_price': 175, 'bands': [[19, 275], [28, 325], [31, 675], [39, 725]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 50}, [225, 0]), ({'density': 50, 'prev_price': 1050, 'bands': [[11, 75], [15, 725], [29, 750], [32, 875]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [1000, 0]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000])], [({'density': 48, 'prev_price': 900, 'bands': [[24, 250], [29, 275], [32, 975], [41, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 2, 'hov2_pct': 50}, [950, 0]), ({'density': 40, 'prev_price': 925, 'bands': [[12, 225], [32, 250], [34, 300], [37, 650]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 50}, [1000, 1000]), ({'density': 33, 'prev_price': 25, 'bands': [[20, 75], [21, 225], [33, 375], [34, 800]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [50, 35]), ({'density': 36, 'prev_price': 325, 'bands': [[26, 150], [33, 550], [36, 650], [38, 850]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [425, 425]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 50, 'prev_price': 50, 'bands': [[10, 375], [12, 475], [23, 525], [32, 575]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [150, 150]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50])], [({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 800, 'bands': [[20, 50], [22, 350], [32, 450], [44, 575]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 50}, [825, 410]), ({'density': 45, 'prev_price': 1000, 'bands': [[19, 100], [30, 150], [34, 500], [37, 875]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 0]), ({'density': 50, 'prev_price': 425, 'bands': [[11, 200], [33, 250], [36, 500], [42, 625]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 70}, [525, 525]), ({'density': 45, 'prev_price': 700, 'bands': [[18, 50], [20, 425], [29, 675], [34, 800]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 70}, [750, 0]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 33, 'prev_price': 1025, 'bands': [[17, 350], [20, 600], [33, 650], [38, 825]], 'max_step': 100, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [800, 0])]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check('fee oracle' + ' %d' % i, 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":"236e00d69263b55402d95e76e26295a4605e728b7a8ac0c35869c71abb56ea54","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    target = x['bands'][-1][1]\n    for upto, price in x['bands']:\n        if x['density'] <= upto:\n            target = price\n            break\n    prev = x['prev_price']\n    step = max(-x['max_step'], min(x['max_step'], target - prev))\n    price = max(x['min_price'], min(x['max_price'], prev + step))\n    if x['occupancy'] >= x['hov_free_min']:\n        return [price, 0]\n    if x['occupancy'] == 2:\n        return [price, price * x['hov2_pct'] // 100 // 5 * 5]\n    return [price, price]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 50, 'prev_price': 775, 'bands': [[17, 175], [19, 425], [21, 700], [32, 750]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 0]), ({'density': 38, 'prev_price': 225, 'bands': [[10, 225], [20, 575], [29, 650], [38, 750]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 4, 'hov2_pct': 50}, [250, 250]), ({'density': 26, 'prev_price': 1050, 'bands': [[24, 125], [26, 275], [27, 750], [43, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 50}, [1025, 0]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 36, 'prev_price': 1025, 'bands': [[17, 50], [22, 550], [27, 725], [35, 975]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 70}, [1050, 0]), ({'density': 43, 'prev_price': 1150, 'bands': [[10, 375], [12, 575], [21, 625], [36, 875]], 'max_step': 50, 'min_price': 50, 'max_price': 1200, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [1200, 0])], [({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 45, 'prev_price': 775, 'bands': [[16, 175], [22, 200], [29, 225], [35, 450]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [800, 800]), ({'density': 48, 'prev_price': 950, 'bands': [[12, 100], [14, 175], [38, 500], [42, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 4, 'hov2_pct': 70}, [1000, 1000]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 700, 'bands': [[16, 50], [22, 475], [23, 675], [32, 700]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [750, 750]), ({'density': 29, 'prev_price': 0, 'bands': [[16, 675], [29, 850], [33, 875], [34, 975]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 0]), ({'density': 36, 'prev_price': 225, 'bands': [[10, 75], [18, 300], [27, 625], [34, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [250, 0])], [({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 900, 'bands': [[22, 200], [24, 325], [33, 800], [41, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 49, 'prev_price': 900, 'bands': [[16, 650], [20, 850], [23, 925], [34, 950]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 14, 'prev_price': 525, 'bands': [[13, 200], [14, 350], [19, 850], [27, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 70}, [500, 0]), ({'density': 48, 'prev_price': 175, 'bands': [[19, 275], [28, 325], [31, 675], [39, 725]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 50}, [225, 0]), ({'density': 50, 'prev_price': 1050, 'bands': [[11, 75], [15, 725], [29, 750], [32, 875]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [1000, 0]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000])], [({'density': 48, 'prev_price': 900, 'bands': [[24, 250], [29, 275], [32, 975], [41, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 2, 'hov2_pct': 50}, [950, 0]), ({'density': 40, 'prev_price': 925, 'bands': [[12, 225], [32, 250], [34, 300], [37, 650]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 50}, [1000, 1000]), ({'density': 33, 'prev_price': 25, 'bands': [[20, 75], [21, 225], [33, 375], [34, 800]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [50, 35]), ({'density': 36, 'prev_price': 325, 'bands': [[26, 150], [33, 550], [36, 650], [38, 850]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [425, 425]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 50, 'prev_price': 50, 'bands': [[10, 375], [12, 475], [23, 525], [32, 575]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [150, 150]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50])], [({'density': 25, 'prev_price': 0, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [50, 50]), ({'density': 20, 'prev_price': 300, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 70}, [350, 245]), ({'density': 45, 'prev_price': 800, 'bands': [[20, 50], [22, 350], [32, 450], [44, 575]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 3, 'hov2_pct': 50}, [825, 410]), ({'density': 45, 'prev_price': 1000, 'bands': [[19, 100], [30, 150], [34, 500], [37, 875]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 0]), ({'density': 50, 'prev_price': 425, 'bands': [[11, 200], [33, 250], [36, 500], [42, 625]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 2, 'hov2_pct': 70}, [525, 525]), ({'density': 45, 'prev_price': 700, 'bands': [[18, 50], [20, 425], [29, 675], [34, 800]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 2, 'hov2_pct': 70}, [750, 0]), ({'density': 45, 'prev_price': 1100, 'bands': [[12, 100], [20, 400], [30, 700], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 70}, [1000, 1000]), ({'density': 33, 'prev_price': 1025, 'bands': [[17, 350], [20, 600], [33, 650], [38, 825]], 'max_step': 100, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [800, 0])]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check('fee oracle' + ' %d' % i, 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 toy model with a stipulated contract; it makes no claim of conformance to any agency manual or standard. 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-toll_and_parking_fee_computation-express-lane-price-beyond-bands","generated_at":"2026-09-29T14:48:03.558810+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Fee engines bill customers in integer cents; a wrong boundary, rounding stage or cap scope silently over- or under-charges.","root_cause":"Densities beyond the last band target the last band price instead of the maximum price.","sha256":"0eff3d10207627c448a0e7e6bd2b70ea1e65d95d8d4c30f091321cbee5db443e","title":"Express lane dynamic price: densities beyond the table hold the previous price · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":44.567,"exit_code":1,"observations":[{"actual":[1000,1000],"check":"fee oracle 0","expected":[1000,1000],"passed":true},{"actual":[775,0],"check":"fee oracle 1","expected":[800,0],"passed":false},{"actual":[250,250],"check":"fee oracle 2","expected":[250,250],"passed":true},{"actual":[1025,0],"check":"fee oracle 3","expected":[1025,0],"passed":true},{"actual":[50,50],"check":"fee oracle 4","expected":[50,50],"passed":true},{"actual":[350,245],"check":"fee oracle 5","expected":[350,245],"passed":true},{"actual":[1025,0],"check":"fee oracle 6","expected":[1050,0],"passed":false},{"actual":[1150,0],"check":"fee oracle 7","expected":[1200,0],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fee oracle 0\", \"actual\": [1000, 1000], \"expected\": [1000, 1000], \"passed\": true}, {\"check\": \"fee oracle 1\", \"actual\": [775, 0], \"expected\": [800, 0], \"passed\": false}, {\"check\": \"fee oracle 2\", \"actual\": [250, 250], \"expected\": [250, 250], \"passed\": true}, {\"check\": \"fee oracle 3\", \"actual\": [1025, 0], \"expected\": [1025, 0], \"passed\": true}, {\"check\": \"fee oracle 4\", \"actual\": [50, 50], \"expected\": [50, 50], \"passed\": true}, {\"check\": \"fee oracle 5\", \"actual\": [350, 245], \"expected\": [350, 245], \"passed\": true}, {\"check\": \"fee oracle 6\", \"actual\": [1025, 0], \"expected\": [1050, 0], \"passed\": false}, {\"check\": \"fee oracle 7\", \"actual\": [1150, 0], \"expected\": [1200, 0], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.383,"exit_code":1,"observations":[{"actual":[1000,1000],"check":"fee oracle 0","expected":[1000,1000],"passed":true},{"actual":[750,0],"check":"fee oracle 1","expected":[800,0],"passed":false},{"actual":[250,250],"check":"fee oracle 2","expected":[250,250],"passed":true},{"actual":[1025,0],"check":"fee oracle 3","expected":[1025,0],"passed":true},{"actual":[50,50],"check":"fee oracle 4","expected":[50,50],"passed":true},{"actual":[350,245],"check":"fee oracle 5","expected":[350,245],"passed":true},{"actual":[1000,0],"check":"fee oracle 6","expected":[1050,0],"passed":false},{"actual":[1100,0],"check":"fee oracle 7","expected":[1200,0],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fee oracle 0\", \"actual\": [1000, 1000], \"expected\": [1000, 1000], \"passed\": true}, {\"check\": \"fee oracle 1\", \"actual\": [750, 0], \"expected\": [800, 0], \"passed\": false}, {\"check\": \"fee oracle 2\", \"actual\": [250, 250], \"expected\": [250, 250], \"passed\": true}, {\"check\": \"fee oracle 3\", \"actual\": [1025, 0], \"expected\": [1025, 0], \"passed\": true}, {\"check\": \"fee oracle 4\", \"actual\": [50, 50], \"expected\": [50, 50], \"passed\": true}, {\"check\": \"fee oracle 5\", \"actual\": [350, 245], \"expected\": [350, 245], \"passed\": true}, {\"check\": \"fee oracle 6\", \"actual\": [1000, 0], \"expected\": [1050, 0], \"passed\": false}, {\"check\": \"fee oracle 7\", \"actual\": [1100, 0], \"expected\": [1200, 0], \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}