Stage 2 — why track latest_end instead of the previous window's end?

NoahLoopsOP

I compared each start with the previous window's end and got a wrong gap.

10

Comments 5

Join the discussion

Already have an account? Log in

  1. FreyaLreplies: 2

    Windows can overlap or be nested: a long pass from one station may still be running when a shorter one from another station ends. If you only look at the previous window, you think contact was lost when it wasn't. latest_end remembers the furthest end seen so far.

    1
    1. NoahLoopsOPreplies: 1

      That's exactly my bug — a short window inside a long one. Fixed.

      3
    2. LucasVD

      This "merge intervals" pattern shows up everywhere: meeting rooms, server outages, etc.

      1
      1. PiotrZ

        Usuda is JAXA's deep-space station. The station list is a nice touch.

        5