FAILURE MAP
← Case archive

FA-65947 / Aviation weight and balance / Member archive

Negative payload returned instead of zero · case 02

A heavy aircraft with a full fuel load shows a negative payload allowance on the loadsheet.

Member previewVariant 2 · 3 implementations · 9 checks per implementation

Case contract

Input weights in kg. Allowed takeoff weight = lowest of MTOW, MLW+trip fuel, MZFW+takeoff fuel, MRW-taxi fuel; ties go to the earlier entry in that order. Allowed payload = allowed TOW - OEW - takeoff fuel, floored at 0. Return [allowed TOW, payload, limiting name].

Why this case matters

The classic loadsheet payload limitation takes the lowest of four structural limits, each translated to a takeoff weight with the correct fuel quantity.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
no payload possible[70000, -3200, "MTOW"][70000, 0, "MTOW"]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 ↗