FAILURE MAP
← Case archive

FA-69292 / Tide and marine navigation tables / Member archive

Compass variation and deviation: Compass error reports variation only · case 02

The published compass error ignores the ship deviation.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input [value, frm, to, var, dev] with frm/to in C (compass), M (magnetic), T (true); var and dev like "3.5W"/"2E" (east positive). M=C+dev, T=M+var; converting downward subtracts. Return [value mod 360 rounded 1, total compass error dev+var as "x.xE"/"x.xW" or "0"].

Why this case matters

Tide tables and passage plans turn published predictions into go/no-go decisions about depth, clearance and timing.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
compass variation and deviation [100, "T", "C", "4W", "2E"][102.0, "4.0W"][102.0, "2.0W"]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 ↗