{"abstract":"Heights between table hours are mirrored within each hour.","category":"Tide and marine navigation tables","checks":7,"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.","evaluation_group":"w2-tide_and_marine_navigation_tables-tidal_curve","failed_approach":"Assuming a one-hour spacing breaks on half-hour or 1.5-hour tables.","family":"w2-tide_and_marine_navigation_tables-tidal_curve-interpolation-weight","id":"FA-69196","implementations":{"attempt":{"sha256":"5b1f699ac6771009aafda821911cd3fca10b26a0a6d46c9cae193c5492d4c32c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(x):\n    hrel,hw,lw,sr,nr,hs,fs,fn=x\n    if hrel<hs[0] or hrel>hs[-1]: return None\n    j=1\n    while j<len(hs)-1 and hs[j]<hrel: j+=1\n    w=(hrel-hs[j-1])\n    a=fs[j-1]+(fs[j]-fs[j-1])*w\n    b=fn[j-1]+(fn[j]-fn[j-1])*w\n    k=min(1.0,max(0.0,((hw-lw)-nr)/(sr-nr)))\n    f=b+(a-b)*k\n    return round(lw+f*(hw-lw),3)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('standard port tidal curve [-6, 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]]', [-6, 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]], 0.8), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 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]]', [-5.5, 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]], 0.968), ('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454)], [('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('standard port tidal curve [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.513), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829)], [('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]]', [-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.882), ('standard port tidal curve [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.888), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829), ('standard port tidal curve [6, 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]]', [6, 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]], 0.8), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194)], [('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.848), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194), ('standard port tidal curve [2.2, 4.1, 1.5, 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]]', [2.2, 4.1, 1.5, 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]], 3.398), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15)], [('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15), ('standard port tidal curve [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.864), ('standard port tidal curve [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.542), ('standard port tidal curve [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.03)]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"de28c7207cc9f86ccf66f52895ec272512f571a86d7a46594f21d4f52b9737f5","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(x):\n    hrel,hw,lw,sr,nr,hs,fs,fn=x\n    if hrel<hs[0] or hrel>hs[-1]: return None\n    j=1\n    while j<len(hs)-1 and hs[j]<hrel: j+=1\n    w=(hs[j]-hrel)/(hs[j]-hs[j-1])\n    a=fs[j-1]+(fs[j]-fs[j-1])*w\n    b=fn[j-1]+(fn[j]-fn[j-1])*w\n    k=min(1.0,max(0.0,((hw-lw)-nr)/(sr-nr)))\n    f=b+(a-b)*k\n    return round(lw+f*(hw-lw),3)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('standard port tidal curve [-6, 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]]', [-6, 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]], 0.8), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 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]]', [-5.5, 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]], 0.968), ('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454)], [('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('standard port tidal curve [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.513), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829)], [('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]]', [-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.882), ('standard port tidal curve [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.888), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829), ('standard port tidal curve [6, 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]]', [6, 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]], 0.8), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194)], [('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.848), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194), ('standard port tidal curve [2.2, 4.1, 1.5, 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]]', [2.2, 4.1, 1.5, 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]], 3.398), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15)], [('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15), ('standard port tidal curve [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.864), ('standard port tidal curve [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.542), ('standard port tidal curve [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.03)]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"c008e703f1a4fab382473d4e7d11c6d9a97b61e0c04f5c706b9e6af4d1477035","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(x):\n    hrel,hw,lw,sr,nr,hs,fs,fn=x\n    if hrel<hs[0] or hrel>hs[-1]: return None\n    j=1\n    while j<len(hs)-1 and hs[j]<hrel: j+=1\n    w=(hrel-hs[j-1])/(hs[j]-hs[j-1])\n    a=fs[j-1]+(fs[j]-fs[j-1])*w\n    b=fn[j-1]+(fn[j]-fn[j-1])*w\n    k=min(1.0,max(0.0,((hw-lw)-nr)/(sr-nr)))\n    f=b+(a-b)*k\n    return round(lw+f*(hw-lw),3)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[('standard port tidal curve [-6, 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]]', [-6, 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]], 0.8), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 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]]', [-5.5, 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]], 0.968), ('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454)], [('standard port tidal curve [-3.2, 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]]', [-3.2, 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]], 2.69), ('standard port tidal curve [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-2.0, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.513), ('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]]', [-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.882), ('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829)], [('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]]', [-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.882), ('standard port tidal curve [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [0.7, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 2.888), ('standard port tidal curve [3.6, 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]]', [3.6, 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]], 2.194), ('standard port tidal curve [5.9, 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]]', [5.9, 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]], 0.829), ('standard port tidal curve [6, 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]]', [6, 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]], 0.8), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194)], [('standard port tidal curve [0, 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]]', [0, 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]], 5.0), ('standard port tidal curve [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [3.8, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.848), ('standard port tidal curve [6.3, 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]]', [6.3, 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]], None), ('standard port tidal curve [-2.5, 4.1, 1.5, 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]]', [-2.5, 4.1, 1.5, 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]], 3.194), ('standard port tidal curve [2.2, 4.1, 1.5, 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]]', [2.2, 4.1, 1.5, 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]], 3.398), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15)], [('standard port tidal curve [1.25, 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]]', [1.25, 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.454), ('standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]', [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]], 1.293), ('standard port tidal curve [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.0), ('standard port tidal curve [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-5.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.15), ('standard port tidal curve [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [-0.2, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.864), ('standard port tidal curve [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [2.0, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 3.542), ('standard port tidal curve [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]]', [6.5, 4.0, 1.0, 4.2, 1.8, [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5], [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]], 1.03)]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"A deterministic toy model with stipulated rules and constants; not certified hydrographic software or a substitute for official tide tables. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-tide_and_marine_navigation_tables-tidal_curve-interpolation-weight","generated_at":"2026-09-29T14:48:09.271002+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Tide tables and passage plans turn published predictions into go/no-go decisions about depth, clearance and timing.","repair":"Weight by distance from the earlier point.","root_cause":"The linear weight uses (hs[j]-hrel) instead of (hrel-hs[j-1]).","sha256":"82073974c2fa8732bcd7e6c84787d25ddc1f4a90b2ce54ab60cf5b98feb50ce1","title":"Standard port tidal curve: Time weight is measured from the later table point · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.074,"exit_code":1,"observations":[{"actual":0.8,"check":"standard port tidal curve [-6, 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]]","expected":0.8,"passed":true},{"actual":1.44,"check":"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]","expected":1.293,"passed":false},{"actual":0.968,"check":"standard port tidal curve [-5.5, 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]]","expected":0.968,"passed":true},{"actual":2.69,"check":"standard port tidal curve [-3.2, 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]]","expected":2.69,"passed":true},{"actual":4.882,"check":"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]]","expected":4.882,"passed":true},{"actual":5.0,"check":"standard port tidal curve [0, 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]]","expected":5.0,"passed":true},{"actual":4.454,"check":"standard port tidal curve [1.25, 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]]","expected":4.454,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"standard port tidal curve [-6, 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]]\", \"actual\": 0.8, \"expected\": 0.8, \"passed\": true}, {\"check\": \"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]\", \"actual\": 1.44, \"expected\": 1.293, \"passed\": false}, {\"check\": \"standard port tidal curve [-5.5, 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]]\", \"actual\": 0.968, \"expected\": 0.968, \"passed\": true}, {\"check\": \"standard port tidal curve [-3.2, 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]]\", \"actual\": 2.69, \"expected\": 2.69, \"passed\": true}, {\"check\": \"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]]\", \"actual\": 4.882, \"expected\": 4.882, \"passed\": true}, {\"check\": \"standard port tidal curve [0, 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]]\", \"actual\": 5.0, \"expected\": 5.0, \"passed\": true}, {\"check\": \"standard port tidal curve [1.25, 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]]\", \"actual\": 4.454, \"expected\": 4.454, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.319,"exit_code":1,"observations":[{"actual":1.136,"check":"standard port tidal curve [-6, 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]]","expected":0.8,"passed":false},{"actual":1.147,"check":"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]","expected":1.293,"passed":false},{"actual":0.968,"check":"standard port tidal curve [-5.5, 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]]","expected":0.968,"passed":true},{"actual":2.06,"check":"standard port tidal curve [-3.2, 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]]","expected":2.69,"passed":false},{"actual":4.824,"check":"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]]","expected":4.882,"passed":false},{"actual":4.706,"check":"standard port tidal curve [0, 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]]","expected":5.0,"passed":false},{"actual":4.034,"check":"standard port tidal curve [1.25, 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]]","expected":4.454,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"standard port tidal curve [-6, 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]]\", \"actual\": 1.136, \"expected\": 0.8, \"passed\": false}, {\"check\": \"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]\", \"actual\": 1.147, \"expected\": 1.293, \"passed\": false}, {\"check\": \"standard port tidal curve [-5.5, 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]]\", \"actual\": 0.968, \"expected\": 0.968, \"passed\": true}, {\"check\": \"standard port tidal curve [-3.2, 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]]\", \"actual\": 2.06, \"expected\": 2.69, \"passed\": false}, {\"check\": \"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]]\", \"actual\": 4.824, \"expected\": 4.882, \"passed\": false}, {\"check\": \"standard port tidal curve [0, 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]]\", \"actual\": 4.706, \"expected\": 5.0, \"passed\": false}, {\"check\": \"standard port tidal curve [1.25, 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]]\", \"actual\": 4.034, \"expected\": 4.454, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.547,"exit_code":0,"observations":[{"actual":0.8,"check":"standard port tidal curve [-6, 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]]","expected":0.8,"passed":true},{"actual":1.293,"check":"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]","expected":1.293,"passed":true},{"actual":0.968,"check":"standard port tidal curve [-5.5, 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]]","expected":0.968,"passed":true},{"actual":2.69,"check":"standard port tidal curve [-3.2, 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]]","expected":2.69,"passed":true},{"actual":4.882,"check":"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]]","expected":4.882,"passed":true},{"actual":5.0,"check":"standard port tidal curve [0, 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]]","expected":5.0,"passed":true},{"actual":4.454,"check":"standard port tidal curve [1.25, 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]]","expected":4.454,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"standard port tidal curve [-6, 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]]\", \"actual\": 0.8, \"expected\": 0.8, \"passed\": true}, {\"check\": \"standard port tidal curve [-5, 3.0, 1.0, 4.0, 2.0, [-6, -4.5, -3, -1.5, 0, 1.5, 3, 4.5, 6], [0.0, 0.17, 0.5, 0.84, 1.0, 0.82, 0.47, 0.16, 0.0], [0.0, 0.22, 0.55, 0.86, 1.0, 0.88, 0.6, 0.27, 0.02]]\", \"actual\": 1.293, \"expected\": 1.293, \"passed\": true}, {\"check\": \"standard port tidal curve [-5.5, 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]]\", \"actual\": 0.968, \"expected\": 0.968, \"passed\": true}, {\"check\": \"standard port tidal curve [-3.2, 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]]\", \"actual\": 2.69, \"expected\": 2.69, \"passed\": true}, {\"check\": \"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]]\", \"actual\": 4.882, \"expected\": 4.882, \"passed\": true}, {\"check\": \"standard port tidal curve [0, 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]]\", \"actual\": 5.0, \"expected\": 5.0, \"passed\": true}, {\"check\": \"standard port tidal curve [1.25, 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]]\", \"actual\": 4.454, \"expected\": 4.454, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}