FA-66767 / Airline fare rule evaluation / Member archive
Only the coupon right after a no-show is cancelled · case 02
The third sector of an itinerary remains open after the passenger missed the first.
Case contract
Input {'status':[FLOWN|OPEN|NOSHOW per coupon],'fee'}. After the first NOSHOW, every later OPEN coupon becomes VOID (earlier coupons are untouched, FLOWN stays FLOWN). The no-show fee is charged once per ticket. Return [statuses, fee].
Why this case matters
Coupon sequence rules cancel onward segments after a no-show and assess a single penalty.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| missed second leg | [["FLOWN", "NOSHOW", "VOID", "OPEN"], 102] | [["FLOWN", "NOSHOW", "VOID", "VOID"], 102] | 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 ↗