FAILURE MAP
← Case archive

FA-65852 / Aviation weight and balance / Member archive

Fuel moment computed from gallons instead of pounds · case 02

Adding fuel moves the computed CG forward even though the tanks are aft of the loaded CG.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
four-seat normal load[2392.0, 92394.0, 38.63][2392.0, 101994.0, 42.64]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 ↗