FAILURE MAP
← Case archive

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

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

The published compass error ignores the ship deviation.

Member previewVariant 3 · 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 [355, "C", "M", "3W", "6E"][1.0, "3.0W"][1.0, "3.0E"]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 ↗