FAILURE MAP
← Case archive

FA-66807 / Airline fare rule evaluation / Member archive

Bags within the free allowance escape the 32 kg maximum · case 02

A 33 kg first bag on a fare with one free piece is accepted and priced.

Member previewVariant 2 · 3 implementations · 10 checks per implementation

Case contract

Input {'bags':[kg in check-in order],'allowance','elite'}. Any bag over 32 kg -> 'ERR_OVERWEIGHT_<i>' (first, zero-based). Free bags = allowance + 1 if elite, applied to the first bags. Base fee by overall bag position: 1st 30, 2nd 40, 3rd and later 150 (only for bags beyond the free count). Each bag over 23 kg adds 100, free or not. Return total.

Why this case matters

Baggage rules in fare families combine piece allowances, status benefits, position-based piece charges and weight surcharges.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
over hard limit100"ERR_OVERWEIGHT_1"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 ↗