FAILURE MAP
← Case archive

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

Light geographic and visible range: Horizon constant for feet is used with metres · case 03

Every light is sighted too early relative to a metric table.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

Input [he, hl, nominal, mhws, tide]: observer height of eye (m), light elevation charted above MHWS (m), nominal range (nm), MHWS and current tide above datum. Effective light height = hl+(mhws-tide). Geographic range = 2.08*(sqrt(he)+sqrt(effective)). Visible range = min(geographic, nominal); the limit is "geographic" when geographic<nominal else "luminous". Return [geo rounded 1, visible rounded 1, limit].

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
light geographic and visible range [9, 64, 23, 5.0, 5.0][12.9, 12.9, "geographic"][22.9, 22.9, "geographic"]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 ↗