Skip to content

Commit

Permalink
Add more power balance test data #81
Browse files Browse the repository at this point in the history
This data contains some negative power samples that result in invalid
(or at least nonsense) HRM output. Also, one sample results in a
negative total power (not just left or right), which causes the
generated TCX file to be invalid when the Garmin Activity Extension is
in play, as that extension requires that the power values are positive
integers.

So, this commit will fail unit testing like:

```
Error XSDError in .../test/release/test, at line 3, column 9: Content of element
{http://www.garmin.com/xmlschemas/ActivityExtension/v2}Watts does not match its
type definition: -57 is not valid according to xs:unsignedShort..
```

That will be fixed in the next commit; doing so separately so that the
total changes of the fix can easily distinguished from this large
commit of mostly data files.

Thanks to @remifreiwald for providing yet another great test data set.
  • Loading branch information
pcolby committed Dec 10, 2017
1 parent 930c568 commit 80fb1f1
Show file tree
Hide file tree
Showing 40 changed files with 26,159 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
{
"calories": [
28
],
"device": [
"A374391F"
],
"distance": [
1150.800048828125
],
"duration": [
{
"hours": [
0
],
"milliseconds": [
375
],
"minutes": [
3
],
"seconds": [
7
]
}
],
"end": [
{
"date": [
{
"day": [
29
],
"month": [
11
],
"year": [
2017
]
}
],
"offset": [
60
],
"time": [
{
"hour": [
19
],
"milliseconds": [
375
],
"minute": [
27
],
"seconds": [
4
]
}
],
"trusted": [
0
]
}
],
"exercise-count": [
1
],
"heartrate": [
{
"average": [
124
],
"maximum": [
142
]
}
],
"heartrate-duration": [
{
"hours": [
0
],
"minutes": [
0
],
"seconds": [
24
]
},
{
"hours": [
0
],
"minutes": [
1
],
"seconds": [
26
]
},
{
"hours": [
0
],
"minutes": [
1
],
"seconds": [
16
]
},
{
"hours": [
0
],
"minutes": [
0
],
"seconds": [
0
]
},
{
"hours": [
0
],
"minutes": [
0
],
"seconds": [
0
]
}
],
"model": [
"Polar V800"
],
"session-name": [
{
"text": [
"Radfahren"
]
}
],
"start": [
{
"date": [
{
"day": [
29
],
"month": [
11
],
"year": [
2017
]
}
],
"offset": [
60
],
"time": [
{
"hour": [
19
],
"milliseconds": [
0
],
"minute": [
23
],
"seconds": [
56
]
}
],
"trusted": [
0
]
}
],
"training-load": [
{
"carbs": [
62
],
"fat": [
37
],
"load-value": [
3
],
"protein": [
1
],
"recovery-time": [
{
"hours": [
0
],
"milliseconds": [
0
],
"minutes": [
13
],
"seconds": [
0
]
}
]
}
]
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"calories": [
28
],
"distance": [
1150.800048828125
],
"duration": [
{
"hours": [
0
],
"milliseconds": [
375
],
"minutes": [
3
],
"seconds": [
7
]
}
],
"sensors": [
1,
2,
3,
4,
20,
21,
6,
7,
8,
11,
13,
14,
15,
16,
17,
18,
19,
26,
27,
6,
28,
29,
6,
31,
32
],
"sport": [
{
"value": [
2
]
}
],
"start": [
{
"date": [
{
"day": [
29
],
"month": [
11
],
"year": [
2017
]
}
],
"offset": [
60
],
"time": [
{
"hour": [
19
],
"milliseconds": [
0
],
"minute": [
23
],
"seconds": [
56
]
}
],
"trusted": [
0
]
}
],
"training-load": [
{
"carbs": [
62
],
"fat": [
37
],
"load-value": [
3
],
"protein": [
1
],
"recovery-time": [
{
"hours": [
0
],
"milliseconds": [
0
],
"minutes": [
13
],
"seconds": [
0
]
}
]
}
]
}
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 80fb1f1

Please sign in to comment.