FA-66609 / Airline fare rule evaluation / Member archive
Group exactly at the minimum size denied the group fare · case 04
Ten travellers booking a ten-minimum group fare pay the full fare.
Case contract
Input {'pax','min_group','free_per','fare','disc_pct'}. Below min_group (total travellers) no discount and no free tickets. Otherwise one free ticket per free_per paying travellers (free = pax // (free_per+1)); each paying fare = fare*(100-disc)/100 rounded to cents, then multiplied. Return [paying, free, total r2].
Why this case matters
Group fares apply a discount once a minimum size is reached and grant tour-conductor tickets that must not themselves count as paying passengers.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| exactly minimum group | [10, 0, 2499.9] | [10, 0, 2099.9] | 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 ↗