{"abstract":"Express lane dynamic price returns a wrong result when the HOV free threshold is hard-coded.","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":"Hard-coding three ignores facilities configured for HOV2 or HOV4 free travel.","family":"w2-toll_and_parking_fee_computation-express-lane-price-hov-threshold","id":"FA-68576","implementations":{"attempt":{"sha256":"626fb50900c44722b3fba5fb5ac32ae1f631970ae64e2ae741f0fc79fc6ea2d7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    target = x['max_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'] >= 3:\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': 33, 'prev_price': 975, 'bands': [[26, 225], [33, 250], [37, 350], [38, 775]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [800, 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': 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': 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': 14, 'prev_price': 1100, 'bands': [[14, 125], [20, 175], [23, 475], [37, 800]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [1000, 0]), ({'density': 41, 'prev_price': 475, 'bands': [[18, 400], [21, 850], [41, 925], [43, 1000]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [575, 575]), ({'density': 16, 'prev_price': 1100, 'bands': [[16, 275], [18, 500], [29, 800], [30, 975]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 0]), ({'density': 22, 'prev_price': 25, 'bands': [[22, 200], [26, 250], [34, 525], [42, 825]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [125, 0])], [({'density': 20, 'prev_price': 575, 'bands': [[16, 50], [17, 225], [20, 325], [35, 575]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [550, 0]), ({'density': 25, 'prev_price': 800, 'bands': [[19, 50], [23, 450], [38, 650], [39, 775]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [700, 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': 12, 'prev_price': 450, 'bands': [[12, 75], [35, 400], [42, 800], [44, 825]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [400, 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': 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': 24, 'prev_price': 600, 'bands': [[11, 75], [21, 675], [24, 850], [36, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [625, 0]), ({'density': 41, 'prev_price': 0, 'bands': [[13, 400], [14, 550], [24, 775], [39, 975]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [100, 100])], [({'density': 34, 'prev_price': 1125, 'bands': [[16, 200], [23, 450], [32, 600], [34, 875]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [1100, 1100]), ({'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': 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': 18, 'prev_price': 200, 'bands': [[18, 200], [26, 300], [38, 475], [40, 825]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [200, 0]), ({'density': 26, 'prev_price': 1050, 'bands': [[15, 225], [23, 250], [29, 650], [40, 1000]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [1025, 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': 26, 'prev_price': 750, 'bands': [[13, 50], [22, 625], [26, 875], [43, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 800]), ({'density': 18, 'prev_price': 0, 'bands': [[16, 150], [18, 550], [36, 675], [41, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [50, 0])], [({'density': 41, 'prev_price': 325, 'bands': [[16, 100], [25, 225], [32, 500], [44, 675]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [350, 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': 34, 'prev_price': 550, 'bands': [[21, 50], [27, 525], [32, 675], [34, 750]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 50}, [650, 0]), ({'density': 17, 'prev_price': 1025, 'bands': [[10, 325], [17, 350], [29, 550], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [800, 800]), ({'density': 21, 'prev_price': 775, 'bands': [[18, 50], [21, 75], [23, 775], [37, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [675, 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': 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': 23, 'prev_price': 1200, 'bands': [[21, 125], [23, 175], [25, 325], [37, 725]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [1000, 1000])], [({'density': 29, 'prev_price': 350, 'bands': [[11, 200], [12, 425], [29, 550], [43, 750]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [400, 0]), ({'density': 41, 'prev_price': 800, 'bands': [[12, 125], [15, 150], [18, 475], [41, 575]], 'max_step': 50, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [750, 750]), ({'density': 35, 'prev_price': 1275, 'bands': [[30, 200], [31, 475], [35, 550], [37, 675]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [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': 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': 34, 'prev_price': 1225, 'bands': [[15, 175], [28, 450], [32, 575], [34, 950]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [1000, 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': 39, 'prev_price': 100, 'bands': [[13, 375], [31, 450], [37, 725], [43, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [150, 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":"f19699eef75ab9b4c739c47c0a524d00b7cc7d3cdcf8226a8d1610c3ed19df93","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    target = x['max_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': 33, 'prev_price': 975, 'bands': [[26, 225], [33, 250], [37, 350], [38, 775]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [800, 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': 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': 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': 14, 'prev_price': 1100, 'bands': [[14, 125], [20, 175], [23, 475], [37, 800]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [1000, 0]), ({'density': 41, 'prev_price': 475, 'bands': [[18, 400], [21, 850], [41, 925], [43, 1000]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [575, 575]), ({'density': 16, 'prev_price': 1100, 'bands': [[16, 275], [18, 500], [29, 800], [30, 975]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 0]), ({'density': 22, 'prev_price': 25, 'bands': [[22, 200], [26, 250], [34, 525], [42, 825]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [125, 0])], [({'density': 20, 'prev_price': 575, 'bands': [[16, 50], [17, 225], [20, 325], [35, 575]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [550, 0]), ({'density': 25, 'prev_price': 800, 'bands': [[19, 50], [23, 450], [38, 650], [39, 775]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [700, 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': 12, 'prev_price': 450, 'bands': [[12, 75], [35, 400], [42, 800], [44, 825]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [400, 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': 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': 24, 'prev_price': 600, 'bands': [[11, 75], [21, 675], [24, 850], [36, 925]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [625, 0]), ({'density': 41, 'prev_price': 0, 'bands': [[13, 400], [14, 550], [24, 775], [39, 975]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [100, 100])], [({'density': 34, 'prev_price': 1125, 'bands': [[16, 200], [23, 450], [32, 600], [34, 875]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [1100, 1100]), ({'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': 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': 18, 'prev_price': 200, 'bands': [[18, 200], [26, 300], [38, 475], [40, 825]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [200, 0]), ({'density': 26, 'prev_price': 1050, 'bands': [[15, 225], [23, 250], [29, 650], [40, 1000]], 'max_step': 25, 'min_price': 50, 'max_price': 1200, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [1025, 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': 26, 'prev_price': 750, 'bands': [[13, 50], [22, 625], [26, 875], [43, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [800, 800]), ({'density': 18, 'prev_price': 0, 'bands': [[16, 150], [18, 550], [36, 675], [41, 1000]], 'max_step': 50, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 50}, [50, 0])], [({'density': 41, 'prev_price': 325, 'bands': [[16, 100], [25, 225], [32, 500], [44, 675]], 'max_step': 25, 'min_price': 50, 'max_price': 800, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [350, 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': 34, 'prev_price': 550, 'bands': [[21, 50], [27, 525], [32, 675], [34, 750]], 'max_step': 100, 'min_price': 50, 'max_price': 1000, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 50}, [650, 0]), ({'density': 17, 'prev_price': 1025, 'bands': [[10, 325], [17, 350], [29, 550], [40, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [800, 800]), ({'density': 21, 'prev_price': 775, 'bands': [[18, 50], [21, 75], [23, 775], [37, 925]], 'max_step': 100, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 70}, [675, 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': 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': 23, 'prev_price': 1200, 'bands': [[21, 125], [23, 175], [25, 325], [37, 725]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 1, 'hov_free_min': 3, 'hov2_pct': 50}, [1000, 1000])], [({'density': 29, 'prev_price': 350, 'bands': [[11, 200], [12, 425], [29, 550], [43, 750]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 3, 'hov_free_min': 3, 'hov2_pct': 50}, [400, 0]), ({'density': 41, 'prev_price': 800, 'bands': [[12, 125], [15, 150], [18, 475], [41, 575]], 'max_step': 50, 'min_price': 50, 'max_price': 1200, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 70}, [750, 750]), ({'density': 35, 'prev_price': 1275, 'bands': [[30, 200], [31, 475], [35, 550], [37, 675]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 3, 'hov_free_min': 4, 'hov2_pct': 50}, [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': 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': 34, 'prev_price': 1225, 'bands': [[15, 175], [28, 450], [32, 575], [34, 950]], 'max_step': 25, 'min_price': 50, 'max_price': 1000, 'occupancy': 2, 'hov_free_min': 2, 'hov2_pct': 70}, [1000, 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': 39, 'prev_price': 100, 'bands': [[13, 375], [31, 450], [37, 725], [43, 900]], 'max_step': 50, 'min_price': 50, 'max_price': 800, 'occupancy': 4, 'hov_free_min': 4, 'hov2_pct': 70}, [150, 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-hov-threshold","generated_at":"2026-09-29T14:48:03.512588+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":"Vehicles with exactly the free occupancy are charged.","sha256":"1192e818fb449a17faf36aa76b48cf1ac1d9863c6b3fd2f98db404b59f473519","title":"Express lane dynamic price: the HOV free threshold is hard-coded · 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":42.915,"exit_code":1,"observations":[{"actual":[800,400],"check":"fee oracle 0","expected":[800,0],"passed":false},{"actual":[350,245],"check":"fee oracle 1","expected":[350,245],"passed":true},{"actual":[50,50],"check":"fee oracle 2","expected":[50,50],"passed":true},{"actual":[1000,1000],"check":"fee oracle 3","expected":[1000,1000],"passed":true},{"actual":[1000,0],"check":"fee oracle 4","expected":[1000,0],"passed":true},{"actual":[575,0],"check":"fee oracle 5","expected":[575,575],"passed":false},{"actual":[800,0],"check":"fee oracle 6","expected":[800,0],"passed":true},{"actual":[125,0],"check":"fee oracle 7","expected":[125,0],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fee oracle 0\", \"actual\": [800, 400], \"expected\": [800, 0], \"passed\": false}, {\"check\": \"fee oracle 1\", \"actual\": [350, 245], \"expected\": [350, 245], \"passed\": true}, {\"check\": \"fee oracle 2\", \"actual\": [50, 50], \"expected\": [50, 50], \"passed\": true}, {\"check\": \"fee oracle 3\", \"actual\": [1000, 1000], \"expected\": [1000, 1000], \"passed\": true}, {\"check\": \"fee oracle 4\", \"actual\": [1000, 0], \"expected\": [1000, 0], \"passed\": true}, {\"check\": \"fee oracle 5\", \"actual\": [575, 0], \"expected\": [575, 575], \"passed\": false}, {\"check\": \"fee oracle 6\", \"actual\": [800, 0], \"expected\": [800, 0], \"passed\": true}, {\"check\": \"fee oracle 7\", \"actual\": [125, 0], \"expected\": [125, 0], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.942,"exit_code":1,"observations":[{"actual":[800,400],"check":"fee oracle 0","expected":[800,0],"passed":false},{"actual":[350,245],"check":"fee oracle 1","expected":[350,245],"passed":true},{"actual":[50,50],"check":"fee oracle 2","expected":[50,50],"passed":true},{"actual":[1000,1000],"check":"fee oracle 3","expected":[1000,1000],"passed":true},{"actual":[1000,1000],"check":"fee oracle 4","expected":[1000,0],"passed":false},{"actual":[575,575],"check":"fee oracle 5","expected":[575,575],"passed":true},{"actual":[800,800],"check":"fee oracle 6","expected":[800,0],"passed":false},{"actual":[125,125],"check":"fee oracle 7","expected":[125,0],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fee oracle 0\", \"actual\": [800, 400], \"expected\": [800, 0], \"passed\": false}, {\"check\": \"fee oracle 1\", \"actual\": [350, 245], \"expected\": [350, 245], \"passed\": true}, {\"check\": \"fee oracle 2\", \"actual\": [50, 50], \"expected\": [50, 50], \"passed\": true}, {\"check\": \"fee oracle 3\", \"actual\": [1000, 1000], \"expected\": [1000, 1000], \"passed\": true}, {\"check\": \"fee oracle 4\", \"actual\": [1000, 1000], \"expected\": [1000, 0], \"passed\": false}, {\"check\": \"fee oracle 5\", \"actual\": [575, 575], \"expected\": [575, 575], \"passed\": true}, {\"check\": \"fee oracle 6\", \"actual\": [800, 800], \"expected\": [800, 0], \"passed\": false}, {\"check\": \"fee oracle 7\", \"actual\": [125, 125], \"expected\": [125, 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."}}