FAILURE MAP
← Case archive

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

Early arrival for a scheduled ride billed as rider wait · case 05

A driver arriving five minutes before a scheduled pickup bills the rider for those minutes.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Wait time starts at driver arrival, or at the scheduled pickup time if the ride was scheduled and the driver arrived early. The first grace seconds are free; beyond that each started minute is billed at per_min cents, up to cap_min billed minutes. Return the wait fee in 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: scheduled pickup start10050Failed

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 ↗