FAILURE MAP
← Case archive

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

Standard port tidal curve: Time weight is measured from the later table point · case 03

Heights between table hours are mirrored within each hour.

Member previewVariant 3 · 3 implementations · 7 checks per implementation

Case contract

Input [hrel, hw, lw, sr, nr, hours, fs, fn]: hours ascending, fs/fn spring and neap curve factors. Outside [hours[0],hours[-1]] return None. Factors are linearly interpolated in time on each curve, then blended with k=clamp((hw-lw-nr)/(sr-nr),0,1) as fn+(fs-fn)*k. Height = lw + f*(hw-lw), rounded to 3 decimals.

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
standard port tidal curve [-0.4, 5.0, 0.8, 4.2, 1.8, [-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6], [0.0, 0.08, 0.25, 0.5, 0.75, 0.93, 1.0, 0.92, 0.72, 0.47, 0.24, 0.07, 0.0], [0.0, 0.12, 0.32, 0.55, 0.78, 0.94, 1.0, 0.95, 0.8, 0.6, 0.38, 0.15, 0.02]]4.8244.882Failed

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 ↗