FAILURE MAP
← Case archive

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

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

A weak light is promised beyond its luminous range.

Member previewVariant 5 · 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 [2, 40, 15, 4.0, 6.0][15.8, 15.8, "luminous"][15.8, 15, "luminous"]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 ↗