FA-66283 / Aviation weight and balance / Member archive
Derate applied only per completed thousand feet · case 03
A density altitude of 4990 ft gets the same reduction as 4000 ft.
Case contract
Input {'elev_ft','altimeter' inHg,'oat_c','mtow'}. Pressure altitude = elev + (29.92 - altimeter)*1000; ISA temp = 15 - 2 per 1000 ft of PA; DA = PA + 120*(OAT - ISA). Allowed weight = MTOW - 20 lb per 1000 ft (pro rata) of DA above 3000 ft, rounded DOWN to 10 lb. Return [DA rounded, allowed].
Why this case matters
A stipulated density-altitude weight derate: the reduction must use pressure altitude, the ISA temperature at that altitude, and conservative rounding.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| hot high field | [8124, 2450] | [8124, 2440] | 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 ↗