@rasifix/orienteering-utils 2.0.71 → 2.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utils/ranking.js +1 -1
- package/package.json +1 -1
package/lib/utils/ranking.js
CHANGED
|
@@ -253,7 +253,7 @@ function parseRanking(runners) {
|
|
|
253
253
|
if (currentSplit.overall.behind !== undefined && prevSplit.overall.behind !== undefined && currentSplit.splitTime !== undefined) {
|
|
254
254
|
var behindDiff = currentSplit.overall.behind - prevSplit.overall.behind;
|
|
255
255
|
if (behindDiff < -currentSplit.splitTime) {
|
|
256
|
-
console.
|
|
256
|
+
console.debug("Anomaly detected for runner ".concat(runner.team, " (ID: ").concat(runner.id, ") on split ").concat(currentSplit.legCode, ": overall behind decreased by ").concat(-behindDiff, "s, but split time is ").concat(currentSplit.splitTime, "s"));
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
}
|