Ad
  • Default User Avatar

    While the tests might only provide a singular entry, the datatypes in use don't actually restric the number of entries which suggests the intent of the code is to also support multiple entries, so I think the min would be important, but ultimately, I didn't write the original stuff. Regardless, if there should only ever be one entry, then the code should only provide datatypes and paths that allow for a single entry, otherwise, it should be 'defensive'.

  • Default User Avatar

    I think you are right, we don't need min or the function f
    we only need the truck's last snapshot
    I updated my sol accordinagly