FAILURE MAP
← Case archive

FA-71242 / Weather index computation / Member archive

Vector-mean wind and steadiness: compass wrap · case 02

North-westerly winds are reported with negative bearings.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

obs are [speed, direction_from_deg]. Components u=-s*sin(d), v=-s*cos(d); average them. Return [vector speed rounded 0.01, direction the wind blows FROM in [0,360) rounded 0.1 or None if the vector speed is below 1e-9, steadiness = vector speed / scalar mean speed rounded 0.001 (0.0 if calm)]; empty input returns None.

Why this case matters

Wind roses, dispersion inputs and runway selection need vector-mean wind direction.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
mast 8[6.89, -91.2, 0.957][6.89, 268.8, 0.957]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 ↗