FAILURE MAP
← Case archive

FA-66623 / Airline fare rule evaluation / Member archive

A connection of exactly 24 hours counted as a stopover · case 03

An international connection of exactly 24 hours consumes the stopover allowance.

Member previewVariant 3 · 3 implementations · 10 checks per implementation

Case contract

Input {'segments':[[departure, arrival ISO local, domestic flag]],'max_stopovers','max_transfers'}. At each connection the gap from the inbound arrival to the next departure is a stopover when it exceeds 4 h if both segments are domestic, otherwise 24 h (a gap equal to the limit is not a stopover). Every connection point is a transfer. Return [stopovers, transfers, failures in order STOPOVERS, TRANSFERS].

Why this case matters

Fare rules cap stopovers and transfers separately; whether a connection is a stopover depends on the connection time and the domestic/international context.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
international 24h exactly[1, 1, ["STOPOVERS"]][0, 1, []]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 ↗