« first day  last day (14 days later) » 

8:58 AM
Hiya - thanks for taking an interest in this. I find it an interesting question, even if I didn't have a practical need. I see your point about 1, 991, 992, 993 being the longest consecutive sequence as I've defined the problem. I'm not sure I know a better definition. And to be fair, the use-case I'm looking at would likely be more like 1, 991, 273, 2, 845, 3 which would make 1,2,3 the obvious solution.
To pull it form theoretical to practical, the applied case is field equipment returning timestamps. For the most part, the equipment returns one or multiple (sometimes none) timestamps per day. Occasionally, a piece of equipment has random blips of chaos (1, 2, 993, 2, 3) and occasionally they'll just reset their dates and start from a random point in time (1, 2, 3, 991, 992, 993, 994, 995, 4 , 5, 6).
What I really need is a droid that understands the binary language of moisture vaporators.
 
 
5 hours later…
2:31 PM
Can the outliers be identified using all timestamps from all days, or does it have to be from each day independently?
Is there any way to know for sure that some of the timestamps are right? For example the first one, or the last one, or one that is close to some date.
Do you think it is possible to always give an answer with certainty in your practical application, or that mistakes are inevitable?
If you grouped the timestamps into clusters, should the sequence be close to the values from the largest cluster?
Or, if you consider the elements of the correct sequence, should the changes between consecutive elements be minimized?
 

« first day  last day (14 days later) »