FAILURE MAP
← Case archive

FA-71243 / Weather index computation / Member archive

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

North-westerly winds are reported with negative bearings.

Member previewVariant 3 · 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 13[8.08, -56.5, 0.898][8.08, 303.5, 0.898]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 ↗