FAILURE MAP
← Case archive

FA-66138 / Aviation weight and balance / Member archive

Pieces with invalid footprints counted in hold totals · case 03

A rejected zero-footprint piece still pushes its compartment into OVER.

Member previewVariant 3 · 3 implementations · 9 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
unknown and bad footprint["UNKNOWN:0", "FOOTPRINT:1", "OVER:BULK"]["UNKNOWN:0", "FOOTPRINT: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 ↗