FA-71275 / Weather index computation / Member archive
Aviation flight category: MVFR ceiling upper edge · case 05
A 3000 ft ceiling is reported VFR.
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 6 layers [['BKN', 3000]] | [3000, "VFR"] | [3000, "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 ↗