FAILURE MAP
← Case archive

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

Light geographic and visible range: Visible range takes the larger of the two ranges · case 04

A weak light is promised beyond its luminous range.

Member previewVariant 4 · 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 [1.5, 12, 20, 4.0, 0.5][10.7, 20, "geographic"][10.7, 10.7, "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 ↗