FAILURE MAP
← Case archive

FA-85682 / Ride-hailing fare and surge pricing / Member archive

Low estimate rounded to the nearest dollar · case 02

The low end of the range can exceed 90% of the estimate.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Show a fare range from a point estimate in cents: low = 90% of the estimate floored to whole dollars, but never below the minimum fare; high = 110% of the estimate rounded up to whole dollars; if the range is narrower than 2.00 the high end becomes low + 2.00. Return [low, high] cents.

Why this case matters

Ride-hailing prices are computed per trip at scale; ordering, unit and boundary slips become systematic over- or under-charging.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: low end rounding[1800, 2200][1700, 2200]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗