FA-66130 / Aviation weight and balance / Member archive
Floor pressure uses the running compartment weight · case 05
Later pieces in a compartment are flagged for floor pressure caused by earlier pieces.
Case contract
Input {'compartments':{name:[max lb, area sqft, max lb/sqft]},'pieces':[[compartment, lb, footprint sqft]]}. Per piece in order: unknown compartment -> 'UNKNOWN:i'; footprint <= 0 -> 'FOOTPRINT:i'; both exclude the piece from totals. Piece weight/footprint above the floor limit -> 'PSF:c:i' (piece still loaded). Then per compartment in sorted order, total above max -> 'OVER:c'. i is the zero-based index in the whole piece list.
Why this case matters
Hold loading is limited both by total compartment weight and by floor bearing pressure under each individual piece.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| compartment exactly full | ["PSF:BULK:1"] | [] | 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 ↗