FAILURE MAP
← Case archive

FA-66584 / Airline fare rule evaluation / Member archive

Percentage fare tax charged on every departure · case 04

A US-originating round trip with a Mexican stop pays both US and Mexican percentage taxes.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input {'base','yq','segments':[[from country, to country]],'pct_tax':{country: %},'dep_tax':{country: flat}}. The percentage tax of the journey origin (first segment departure country) applies once to the base fare only; each segment pays the flat departure tax of its departure country plus YQ. Return total r2.

Why this case matters

Ticket taxes differ in base and trigger: some are percentage of fare at origin, others are per departure, and carrier surcharges are per segment.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
Mexico origin multi-stop238.35182.1Failed

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 ↗