FA-65844 / Aviation weight and balance / Member archive
Empty aircraft weight counted without its moment · case 04
Loaded CG sits far forward of any realistic value while total weight looks right.
Case contract
Input {'empty':[lb,in],'items':[[name,lb,in]],'fuel_gal','fuel_arm','fuel_type'}; fuel density 6.0 lb/gal for 100LL and 6.7 for JETA, other grades return 'ERR_FUEL_TYPE'; negative item weights are removals at that arm; return [total lb, total lb-in, CG in] rounded 1/1/2.
Why this case matters
Loaded-aircraft CG is the sum of station moments divided by total weight; every station, including the empty aircraft and fuel, must contribute both weight and moment.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| four-seat normal load | [2404.0, 38338.0, 15.95] | [2404.0, 103018.0, 42.85] | 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 ↗