|
HAL Bug 81901 - Corrected times subject to round-off error for tandem average-lap
races
|
|
Versions of HAL's Race Results that exhibit the bug:
All up to and including 8.19 |
Symptoms. Corrected times for an average-lap race should be calculated as
the elapsed time, divided by the number of laps done, multiplied by the maximum
number of laps that any finisher did, multiplied by the time correction factor.
The final result is rounded to the nearest second. This is exactly what the
program does for normal average-lap races.
However
when a tandem series is set up involving average-lap racing, the corrected
time is worked out without multiplying by the maximum number of laps any finisher
did. That produces same result, as long as the corrected times are not too
close together. But the rounding errors are bigger, so that it is more likely boats
will tie for places. |
How to reproduce the symptoms. Set up an average-lap race for a handicap class and put in some results so that boats do up to 5 laps. Arrange the finishing
times so that two boats come very close to the same corrected time, say differing
by one second. The results will be worked out correctly by the program and the boats
will not be counted as ties.
Now set up another class, copy the boats from the above race into the new class
and set up a tandem series for that class based on the race you
have just entered.
The corrected times will be worked out without multiplying by the maximum number
of laps and the two boats that were a second apart on corrected time in the real
race will appear with the same corrected time in the tandem race. That will result
in the two boats tying for a place. |
|
Resolution. The problem will be resolved in version 8.21. |
|
|