You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/developers/test-cases.md
+24-22
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The following is a list of the sensors that testing is currently available.
11
11
| Phone Accelerometer | RAPIDS | Y | Y | Y |
12
12
| Phone Activity Recognition | RAPIDS | Y | Y | Y |
13
13
| Phone Applications Foreground | RAPIDS | Y | Y | Y |
14
-
| Phone Battery | RAPIDS | Y | Y |N|
14
+
| Phone Battery | RAPIDS | Y | Y |Y|
15
15
| Phone Bluetooth | Doryab | Y | Y | Y |
16
16
| Phone Bluetooth | RAPIDS | Y | Y | Y |
17
17
| Phone Calls | RAPIDS | Y | Y | Y |
@@ -28,7 +28,7 @@ The following is a list of the sensors that testing is currently available.
28
28
| Fitbit Data Yield | RAPIDS | Y | Y | Y |
29
29
| Fitbit Heart Rate Summary | RAPIDS | Y | Y | Y |
30
30
| Fitbit Heart Rate Intraday | RAPIDS | Y | Y | Y |
31
-
| Fitbit Sleep Summary | RAPIDS |N|N|N|
31
+
| Fitbit Sleep Summary | RAPIDS |Y|Y|Y|
32
32
| Fitbit Sleep Intraday | RAPIDS | Y | Y | Y |
33
33
| Fitbit Sleep Intraday | PRICE | Y | Y | Y |
34
34
| Fitbit Steps Summary | RAPIDS | Y | Y | Y |
@@ -46,7 +46,7 @@ Description
46
46
- One episode before the time switch (`Sun 00:02:00`) and one episode after the time switch (`Sun 04:18:00`)
47
47
- Multiple episodes within one min which cause variance in magnitude (`Fri 00:10:25`, `Fri 00:10:27` and `Fri 00:10:46`)
48
48
49
-
Checklist:
49
+
Checklist
50
50
51
51
|time segment| single tz | multi tz|platform|
52
52
|-|-|-|-|
@@ -69,7 +69,7 @@ Description
69
69
- Two episodes locate in the same daily segment (`Fri 11:57:56.385` and `Sat 10:54:10.000`)
70
70
- One episode before the time switch (`Sun 00:48:01.000`) and one episode after the time switch (`Sun 06:21:01.000`)
71
71
72
-
Checklist:
72
+
Checklist
73
73
74
74
|time segment| single tz | multi tz|platform|
75
75
|-|-|-|-|
@@ -158,24 +158,26 @@ Checklist
158
158
159
159
## Battery
160
160
161
-
Due to the difference in the format of the raw battery data for iOS and Android as well as versions of iOS the following is the expected results the `battery_deltas.csv`. This would give a better idea of the use cases being tested since the `battery_deltas.csv` would make both the iOS and Android data comparable. These files are used to calculate the features for the battery sensor.
162
-
163
-
- The battery delta data file contains data for 1 day.
164
-
- The battery delta data contains 1 record each for a `charging` and
165
-
`discharging` episode that falls within an `epoch` for every
166
-
`epoch`. Thus, for the `daily` epoch there would be multiple
167
-
`charging` and `discharging` episodes
168
-
- Since either a `charging` episode or a `discharging` episode and
169
-
not both can occur across epochs, in order to test episodes that
170
-
occur across epochs alternating episodes of `charging` and
171
-
`discharging` episodes that fall across `night` to `morning`,
172
-
`morning` to `afternoon` and finally `afternoon` to `night` are
173
-
present in the battery delta data. This starts with a
174
-
`discharging` episode that begins in `night` and end in `morning`.
175
-
- There is one battery data file each, for testing both iOS and
176
-
Android data formats.
177
-
- There is also an additional empty data file for both android and
178
-
iOS for testing empty data files
161
+
Description
162
+
163
+
- The 4-day raw data is contained in `phone_battery_raw.csv`
164
+
- One discharge episode acrossing two 30-min time segements (`Fri 05:57:30.123` to `Fri 06:04:32.456`)
165
+
- One charging episode acrossing two 30-min time segments (`Fri 11:55:58.416` to `Fri 12:08:07.876`)
166
+
- One discharge episode and one charging episode locate within the same 30-min time segement (`Fri 21:30:00` to `Fri 22:00:00`)
167
+
- One episode before the time switch (`Sun 00:24:00.000`) and one episode after the time switch (`Sun 21:58:00`)
0 commit comments