FA-69269 / Tide and marine navigation tables / Member archive
Light characteristic abbreviation: Height and range suffixes are matched case-insensitively · case 04
A range such as 20M is read as a 20 m elevation when no height is given.
Case contract
Input a chart light abbreviation such as "Fl(3)WR.10s15m20M". Return [class, groups, colours, period_s, height_m, range_nm]: class includes an "Al." prefix; groups is a list (composite "2+1" -> [2,1], default [1]); colours default "W"; missing numbers are None. Unparseable strings return None.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| light characteristic abbreviation "Fl.10s20M" | ["Fl", [1], "W", 10.0, 20, null] | ["Fl", [1], "W", 10.0, null, 20] | 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 ↗