recursive course timing for Low-Key Hillclimbs week 4: Portola Valley Road
There were a number of challenges with organizing the Portola Valley Hills Low-Key Hillclimbs . For example, the Edge 500 GPS quality on Joaquin Road. But one of the more interesting was the scoring conundrum represented by a rider who repeated one of the climbs. The scoring code I used here was originally developed for Kennedy Fire Road last year . There we had a long climb with a number of intermediate check-points. To get an overall time I assigned a time to each checkpoint, but overall time was essentially the time crossing the finish minus the time crossing the start. If the rider completed the course multiple times I'd keep track of times between the start and finish and take the shortest one. If a rider recrossed the start line I'd start over. If he crossed the finish line I'd ignore everything until he recrossed the start line. It was easy. For Portola Valley Hills I added in the cocnept of time budgets for time segments between checkpoints. If a rider ...