FAILURE MAP
← Case archive

FA-66712 / Airline fare rule evaluation / Member archive

Carrier error masks a tariff mismatch · case 02

A combination that is both cross-tariff and cross-carrier reports only ERR_CARRIER.

Member previewVariant 2 · 3 implementations · 9 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
tariff and carrier both differ"ERR_CARRIER""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 ↗