FAILURE MAP
← Case archive

FA-66694 / Airline fare rule evaluation / Member archive

Only the outbound surcharge multiplied by passengers · case 04

A family of four is charged four outbound weekend surcharges but a single inbound one.

Member previewVariant 4 · 3 implementations · 9 checks per implementation

Case contract

Input {'outbound','inbound' (ISO or None),'weekend_days' ISO digits,'surcharge','rt_rule' EACH|OUTBOUND,'pax'}. Each direction is surcharged by its own departure weekday; with OUTBOUND only the outbound direction is assessed. The per-passenger total is multiplied by pax.

Why this case matters

Day-of-week surcharges are assessed per fare component on its own travel date, and the rule may restrict assessment to the outbound direction.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
weekday out weekend back2550Failed

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 ↗