@rasifix/orienteering-utils 2.0.27 → 2.0.42
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/analyzis.js +1 -0
- package/package.json +2 -2
package/lib/utils/analyzis.js
CHANGED
|
@@ -12,6 +12,7 @@ function errorTime(runner, options) {
|
|
|
12
12
|
var errorFreeTime = Math.round(split.splitTime * (split.performanceIndex / middle));
|
|
13
13
|
if (split.splitTime / errorFreeTime > thresholdRelative && (split.splitTime - errorFreeTime) > thresholdAbsolute) {
|
|
14
14
|
split.timeLoss = split.splitTime - errorFreeTime;
|
|
15
|
+
console.log("Runner ".concat(runner.fullName, " has time loss of ").concat(split.timeLoss, "s at split ").concat(split.code));
|
|
15
16
|
errorTime += split.timeLoss;
|
|
16
17
|
}
|
|
17
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rasifix/orienteering-utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.42",
|
|
4
4
|
"description": "utility functions for orienteering result analyzis",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/rasifix/orienteering-
|
|
22
|
+
"url": "git+https://github.com/rasifix/orienteering-utils.git"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"chai": "^4.3.6",
|