FAILURE MAP
← Case archive

FA-66683 / Airline fare rule evaluation / Member archive

Inbound surcharge decided by the outbound date · case 03

A weekend return after a weekday departure is not surcharged, while a weekday return after a weekend departure is.

Member previewVariant 3 · 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 back050Failed

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 ↗