FA-66069 / Aviation weight and balance / Member archive
Last burn step removes more fuel than the tank holds · case 04
Tanks whose quantity is not a multiple of the step size end with negative fuel and a skewed final CG.
Case contract
Input {'zfw','zfm','tanks':[[name,arm,gal]],'order':[names],'step','density'}. Fuel burns in 'order', one step (or the tank remainder, no carry) at a time; a tank listed again after being emptied burns nothing; unlisted tanks are unusable but their fuel stays on board. CG is sampled at start and after each step. Return [start CG, min CG, max CG, final CG] rounded 2.
Why this case matters
Tank burn sequence determines the CG trajectory in flight; the extreme CG can occur mid-sequence rather than at takeoff or landing.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| aux then mains | [42.35, 40.95, 42.35, 40.95] | [42.35, 41.0, 42.35, 41.0] | 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 ↗