FAILURE MAP
← Case archive

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

Rule of twelfths: Tide hour index rounds to the nearest hour · case 04

Heights between whole tide hours jump by a whole twelfth-step early.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Input [t1,h1,t2,h2,t] in hours/metres for consecutive turning points t1<t2 (rise or fall). The interval is split into six equal tide hours with cumulative twelfths 0,1,3,6,9,11,12 and linear interpolation inside a tide hour. Return height rounded to 4 decimals, or None when t2<=t1 or t lies outside [t1,t2].

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
rule of twelfths [0, 0.0, 6, 6.0, 0.6]0.10.3Failed

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 ↗