FA-71257 / Weather index computation / Member archive
Aviation flight category: ceiling cover types · case 02
A scattered layer at 400 ft makes a clear day LIFR.
Case contract
layers are [cover, height_ft]; the ceiling is the lowest BKN, OVC or VV layer (None if none). Ceiling class: None or >3000 VFR, 1000-3000 MVFR, 500-999 IFR, <500 LIFR. Visibility class: >5 VFR, 3-5 MVFR, 1 to <3 IFR, <1 LIFR. Report [ceiling, worse of the two classes].
Why this case matters
Pilots and dispatch use flight categories for go/no-go and alternate planning.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| vis 3 layers [['SCT', 5000], ['FEW', 200]] | [5000, "MVFR"] | [null, "MVFR"] | 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 ↗