Example case:
A rider finishes a race then does 3 cooldown laps on the course before the next race starts. Assuming the lapCount is set to 10 and this rider does 13 laps the final 3 laps should not be included.
This can be solved by taking the leader finish time and then only consuming the finish times that are immediately after this time. e.g. the rider above passes 3 additional times after their final lap. Assuming this rider is not the leader the finish time will be the time that they cross the finish line after the leaders.
Example case:
A rider finishes a race then does 3 cooldown laps on the course before the next race starts. Assuming the
lapCountis set to 10 and this rider does 13 laps the final 3 laps should not be included.This can be solved by taking the leader finish time and then only consuming the finish times that are immediately after this time. e.g. the rider above passes 3 additional times after their final lap. Assuming this rider is not the leader the finish time will be the time that they cross the finish line after the leaders.