FA-66705 / Airline fare rule evaluation / Member archive
Only the first two components checked for tariff compatibility · case 05
A third component from a negotiated tariff is combined with public fares.
Case contract
Input {'components':[[RT amount, carrier, tariff]],'interline_ok'}. Each component contributes half its RT amount rounded up to a whole unit. All components must share one tariff ('ERR_TARIFF', checked first); multiple carriers require interline_ok ('ERR_CARRIER'). Return the summed halves.
Why this case matters
Open-jaw and end-on-end pricing combines half round-trip fares, subject to combinability conditions and per-component rounding.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| third component other tariff | 903 | "ERR_TARIFF" | 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 ↗