FA-85823 / Ride-hailing fare and surge pricing / Member archive
Reservation fee absorbed by the guarantee · case 03
Riders with a metered fare above booked pay no reservation fee.
Case contract
Scheduled rides guarantee the booked price: the rider pays the lower of booked and metered fare plus the reservation fee. If the driver never shows, nothing is charged and the reservation fee is refunded. Return charge cents and whether the fee is refunded.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: reservation fee placement | {"charge": 3200, "refund_fee": false} | {"charge": 3399, "refund_fee": false} | 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 ↗