FAILURE MAP
← Case archive

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

Maximum number of stops rejected · case 02

Riders adding the third allowed stop get an error.

Member previewVariant 2 · 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: stop limit{"error": "too_many_stops"}{"fee": 500}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 ↗