FAILURE MAP
← Case archive

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

Free waiting pooled across all stops · case 03

Two 2-minute stops are billed although each is within its allowance.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

Intermediate stops each add stop_fee; up to max_stops stops are allowed, more is an error. Each stop has its own free waiting allowance of free_wait seconds; waiting beyond it at that stop is billed per started minute at per_min. Return the stop fee total 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: per-stop free wait{"fee": 440}{"fee": 320}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 ↗