FAILURE MAP
← Case archive

FA-71115 / Weather index computation / Member archive

Beaufort force and marine warning: knot conversion · case 05

Warnings arrive a force late because winds read low.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Convert knots to m/s (x0.514444) and round to 0.1 m/s. Beaufort force n is the first n with speed < bounds[n], bounds=[0.5,1.6,3.4,5.5,8.0,10.8,13.9,17.2,20.8,24.5,28.5,32.7], else 12. If the gust force is at least sustained force + 2 (and force < 12) upgrade by one. Warning: <6 none, <8 small craft, <10 gale, <12 storm, 12 hurricane force. Return [force, warning].

Why this case matters

Coastal marine forecasts issue small-craft, gale and storm warnings from Beaufort force.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
sustained 10.7 kt gust +2[3, "none"][4, "none"]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 ↗