FA-66065 / Aviation weight and balance / Member archive
Landing status tests the takeoff CG · case 05
A takeoff CG inside limits is reported OK even when the burn drives the landing CG out.
Case contract
Input {'tow','tocg','burn_gal','fuel_arm','density','mlw','env':[fwd,aft]}. Burned fuel weight = gallons*density removed at the fuel arm. Status 'MLW' if landing weight exceeds MLW (checked first), 'CG' if landing CG outside the inclusive envelope, else 'OK'. Return [LW r1, LCG r2, status].
Why this case matters
Landing CG differs from takeoff CG because fuel is removed at the tank arm; landing weight has its own structural limit.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| burn moves CG forward out | [2060.0, 34.43, "OK"] | [2060.0, 34.43, "CG"] | 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 ↗