From 415ec4a716cfe90ce73d90b49aa61022e2b50e54 Mon Sep 17 00:00:00 2001 From: Weiyu Date: Wed, 7 Apr 2021 18:09:08 -0400 Subject: [PATCH] reformated test cases and updated the test doc --- docs/developers/testing.md | 96 ++-- .../external/aware_csv/phone_battery_raw.csv | 474 +++++++++--------- .../external/participant_files/eve_and.yaml | 6 + .../external/participant_files/eve_emp.yaml | 6 + .../external/participant_files/eve_ios.yaml | 6 + .../{test03.yaml => fre_and.yaml} | 8 +- .../external/participant_files/fre_emp.yaml | 11 + .../{test06.yaml => fre_ios.yaml} | 8 +- .../{test01.yaml => per_and.yaml} | 8 +- .../external/participant_files/per_emp.yaml | 11 + .../{test02.yaml => per_ios.yaml} | 8 +- .../external/participant_files/test04.yaml | 11 - .../external/participant_files/test05.yaml | 11 - .../external/participant_files/test07.yaml | 6 - .../{test07 => eve_and}/phone_battery.csv | 0 .../features/event/eve_emp/phone_battery.csv | 1 + .../features/event/eve_ios/phone_battery.csv | 4 + .../phone_applications_foreground.csv | 0 .../{test05 => fre_and}/phone_battery.csv | 0 .../{test05 => fre_and}/phone_bluetooth.csv | 0 .../{test05 => fre_and}/phone_calls.csv | 0 .../phone_conversation.csv | 0 .../{test05 => fre_and}/phone_light.csv | 0 .../{test05 => fre_and}/phone_messages.csv | 0 .../phone_wifi_connected.csv | 0 .../phone_wifi_visible.csv | 0 .../phone_applications_foreground.csv | 0 .../{test03 => fre_emp}/phone_battery.csv | 0 .../{test03 => fre_emp}/phone_bluetooth.csv | 0 .../{test03 => fre_emp}/phone_calls.csv | 0 .../phone_conversation.csv | 0 .../{test03 => fre_emp}/phone_light.csv | 0 .../{test03 => fre_emp}/phone_messages.csv | 0 .../phone_wifi_connected.csv | 0 .../phone_wifi_visible.csv | 0 .../phone_applications_foreground.csv | 0 .../{test06 => fre_ios}/phone_battery.csv | 0 .../{test06 => fre_ios}/phone_bluetooth.csv | 0 .../{test06 => fre_ios}/phone_calls.csv | 0 .../phone_conversation.csv | 0 .../{test04 => fre_ios}/phone_light.csv | 0 .../{test04 => fre_ios}/phone_messages.csv | 0 .../phone_wifi_connected.csv | 0 .../phone_wifi_visible.csv | 0 .../frequency/test04/phone_battery.csv | 1 - .../test06/phone_applications_foreground.csv | 1 - .../phone_applications_foreground.csv | 0 .../{test01 => per_and}/phone_battery.csv | 0 .../{test01 => per_and}/phone_bluetooth.csv | 0 .../{test01 => per_and}/phone_calls.csv | 0 .../phone_conversation.csv | 0 .../{test01 => per_and}/phone_light.csv | 0 .../{test01 => per_and}/phone_messages.csv | 0 .../{test01 => per_and}/phone_screen.csv | 0 .../phone_wifi_connected.csv | 0 .../phone_wifi_visible.csv | 0 .../phone_applications_foreground.csv | 0 .../{test03 => per_emp}/phone_battery.csv | 0 .../per_emp}/phone_bluetooth.csv | 0 .../per_emp}/phone_calls.csv | 0 .../per_emp}/phone_conversation.csv | 0 .../per_emp}/phone_light.csv | 0 .../per_emp}/phone_messages.csv | 0 .../{test03 => per_emp}/phone_screen.csv | 0 .../per_emp}/phone_wifi_connected.csv | 0 .../per_emp}/phone_wifi_visible.csv | 0 .../phone_applications_foreground.csv | 0 .../{test02 => per_ios}/phone_battery.csv | 0 .../{test02 => per_ios}/phone_bluetooth.csv | 0 .../{test02 => per_ios}/phone_calls.csv | 0 .../phone_conversation.csv | 0 .../{test02 => per_ios}/phone_light.csv | 0 .../{test02 => per_ios}/phone_messages.csv | 0 .../{test02 => per_ios}/phone_screen.csv | 0 .../phone_wifi_connected.csv | 0 .../phone_wifi_visible.csv | 0 .../periodic/test03/phone_bluetooth.csv | 1 - .../features/periodic/test03/phone_calls.csv | 1 - .../periodic/test03/phone_conversation.csv | 1 - .../features/periodic/test03/phone_light.csv | 1 - .../periodic/test03/phone_messages.csv | 1 - .../periodic/test03/phone_wifi_connected.csv | 1 - .../periodic/test03/phone_wifi_visible.csv | 1 - .../test04/phone_applications_foreground.csv | 1 - .../periodic/test04/phone_battery.csv | 1 - .../periodic/test04/phone_bluetooth.csv | 1 - .../features/periodic/test04/phone_calls.csv | 1 - .../periodic/test04/phone_conversation.csv | 1 - .../features/periodic/test04/phone_light.csv | 1 - .../periodic/test04/phone_messages.csv | 1 - .../features/periodic/test04/phone_screen.csv | 1 - .../periodic/test04/phone_wifi_connected.csv | 1 - .../periodic/test04/phone_wifi_visible.csv | 1 - tests/settings/event_config.yaml | 2 +- tests/settings/frequency_config.yaml | 18 +- tests/settings/periodic_config.yaml | 14 +- 96 files changed, 368 insertions(+), 360 deletions(-) create mode 100644 tests/data/external/participant_files/eve_and.yaml create mode 100644 tests/data/external/participant_files/eve_emp.yaml create mode 100644 tests/data/external/participant_files/eve_ios.yaml rename tests/data/external/participant_files/{test03.yaml => fre_and.yaml} (57%) create mode 100644 tests/data/external/participant_files/fre_emp.yaml rename tests/data/external/participant_files/{test06.yaml => fre_ios.yaml} (58%) rename tests/data/external/participant_files/{test01.yaml => per_and.yaml} (57%) create mode 100644 tests/data/external/participant_files/per_emp.yaml rename tests/data/external/participant_files/{test02.yaml => per_ios.yaml} (58%) delete mode 100644 tests/data/external/participant_files/test04.yaml delete mode 100644 tests/data/external/participant_files/test05.yaml delete mode 100644 tests/data/external/participant_files/test07.yaml rename tests/data/processed/features/event/{test07 => eve_and}/phone_battery.csv (100%) create mode 100644 tests/data/processed/features/event/eve_emp/phone_battery.csv create mode 100644 tests/data/processed/features/event/eve_ios/phone_battery.csv rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_battery.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_bluetooth.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_calls.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_conversation.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_light.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_messages.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/frequency/{test05 => fre_and}/phone_wifi_visible.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_battery.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_bluetooth.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_calls.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_conversation.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_light.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_messages.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/frequency/{test03 => fre_emp}/phone_wifi_visible.csv (100%) rename tests/data/processed/features/frequency/{test04 => fre_ios}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/frequency/{test06 => fre_ios}/phone_battery.csv (100%) rename tests/data/processed/features/frequency/{test06 => fre_ios}/phone_bluetooth.csv (100%) rename tests/data/processed/features/frequency/{test06 => fre_ios}/phone_calls.csv (100%) rename tests/data/processed/features/frequency/{test06 => fre_ios}/phone_conversation.csv (100%) rename tests/data/processed/features/frequency/{test04 => fre_ios}/phone_light.csv (100%) rename tests/data/processed/features/frequency/{test04 => fre_ios}/phone_messages.csv (100%) rename tests/data/processed/features/frequency/{test06 => fre_ios}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/frequency/{test04 => fre_ios}/phone_wifi_visible.csv (100%) delete mode 100644 tests/data/processed/features/frequency/test04/phone_battery.csv delete mode 100644 tests/data/processed/features/frequency/test06/phone_applications_foreground.csv rename tests/data/processed/features/periodic/{test01 => per_and}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_battery.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_bluetooth.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_calls.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_conversation.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_light.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_messages.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_screen.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/periodic/{test01 => per_and}/phone_wifi_visible.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_emp}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/periodic/{test03 => per_emp}/phone_battery.csv (100%) rename tests/data/processed/features/{frequency/test04 => periodic/per_emp}/phone_bluetooth.csv (100%) rename tests/data/processed/features/{frequency/test04 => periodic/per_emp}/phone_calls.csv (100%) rename tests/data/processed/features/{frequency/test04 => periodic/per_emp}/phone_conversation.csv (100%) rename tests/data/processed/features/{frequency/test06 => periodic/per_emp}/phone_light.csv (100%) rename tests/data/processed/features/{frequency/test06 => periodic/per_emp}/phone_messages.csv (100%) rename tests/data/processed/features/periodic/{test03 => per_emp}/phone_screen.csv (100%) rename tests/data/processed/features/{frequency/test04 => periodic/per_emp}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/{frequency/test06 => periodic/per_emp}/phone_wifi_visible.csv (100%) rename tests/data/processed/features/periodic/{test03 => per_ios}/phone_applications_foreground.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_battery.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_bluetooth.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_calls.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_conversation.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_light.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_messages.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_screen.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_wifi_connected.csv (100%) rename tests/data/processed/features/periodic/{test02 => per_ios}/phone_wifi_visible.csv (100%) delete mode 100644 tests/data/processed/features/periodic/test03/phone_bluetooth.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_calls.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_conversation.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_light.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_messages.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_wifi_connected.csv delete mode 100644 tests/data/processed/features/periodic/test03/phone_wifi_visible.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_applications_foreground.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_battery.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_bluetooth.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_calls.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_conversation.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_light.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_messages.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_screen.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_wifi_connected.csv delete mode 100644 tests/data/processed/features/periodic/test04/phone_wifi_visible.csv diff --git a/docs/developers/testing.md b/docs/developers/testing.md index a9e7f638..2d57511b 100644 --- a/docs/developers/testing.md +++ b/docs/developers/testing.md @@ -71,8 +71,10 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 00:17:38.602 | test02 | 4 | 77 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 03:20:30.415 | test02 | 2 | 77 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 00:08:10.415 | per_ios | 4 | 80 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 00:17:38.602 | per_ios | 4 | 77 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 03:20:30.415 | per_ios | 2 | 77 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 03:30:35.875 | per_ios | 2 | 80 | 100 | 4157 | 23 | 0 | 2 | Li-ion | Output results @@ -91,17 +93,17 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |-----------------------|-----------|----------------|---------------|---------------|-----------------|---------------------|-----------------|----------------|--------------------| - | 17:59:41.434 | test02 | 4 | 59 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 18:04:14.321 | test02 | 4 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 18:07:24.456 | test02 | 4 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 20:03:03.415 | test02 | 2 | 72 | 100 | 4170 | 23 | 0 | 2 | Li-ion | - | 20:05:12.434 | test02 | 2 | 73 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 20:07:24.678 | test02 | 2 | 74 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 20:10:34.875 | test02 | 2 | 75 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 21:30:04.415 | test02 | 4 | 74 | 100 | 4170 | 23 | 0 | 2 | Li-ion | - | 21:32:14.434 | test02 | 4 | 73 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 21:35:23.678 | test02 | 4 | 72 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 21:37:47.875 | test02 | 4 | 71 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 17:59:41.434 | per_ios | 4 | 59 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 18:04:14.321 | per_ios | 4 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 18:07:24.456 | per_ios | 4 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 20:03:03.415 | per_ios | 2 | 72 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 20:05:12.434 | per_ios | 2 | 73 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 20:07:24.678 | per_ios | 2 | 74 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 20:10:34.875 | per_ios | 2 | 75 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 21:30:04.415 | per_ios | 4 | 74 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 21:32:14.434 | per_ios | 4 | 73 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 21:35:23.678 | per_ios | 4 | 72 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 21:37:47.875 | per_ios | 4 | 71 | 100 | 4157 | 23 | 0 | 2 | Li-ion | Output results: @@ -116,8 +118,8 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 20:10:34.875 | test06 | 2 | 75 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 20:20:17.171 | test06 | 4 | 74 | 100 | 4170 | 23 | 0 | 2 | Li-ion | + | 20:10:34.875 | fre_ios | 2 | 75 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 20:20:17.171 | fre_ios | 4 | 74 | 100 | 4170 | 23 | 0 | 2 | Li-ion | Output results @@ -134,8 +136,8 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 11:59:28.434 | test02 | 2 | 63 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 12:04:37.678 | test02 | 2 | 64 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 11:59:28.434 | per_ios | 2 | 63 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 12:04:37.678 | per_ios | 2 | 64 | 100 | 4157 | 23 | 0 | 2 | Li-ion | ??? "Frequency (30 mins)" @@ -143,8 +145,8 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 11:59:28.434 | test06 | 2 | 63 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 12:04:37.678 | test06 | 2 | 64 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 11:59:28.434 | fre_ios | 2 | 63 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 12:04:37.678 | fre_ios | 2 | 64 | 100 | 4157 | 23 | 0 | 2 | Li-ion | ??? "4. A daily segment instance with a discharge episode that spans to the next daily instance" @@ -154,8 +156,8 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 05:59:49.434 | test02 | 4 | 79 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 06:02:19.321 | test02 | 4 | 78 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 05:59:49.434 | per_ios | 4 | 79 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 06:02:19.321 | per_ios | 4 | 78 | 100 | 4157 | 23 | 0 | 2 | Li-ion | ??? "Frequency (30 mins)" @@ -163,8 +165,8 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |---|---|---|---|---|---|---|---|---|---| - | 17:59:41.434 | test06 | 4 | 59 | 100 | 4094 | 23 | 0 | 2 | Li-ion | - | 18:04:14.321 | test06 | 4 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 17:59:41.434 | fre_ios | 4 | 59 | 100 | 4094 | 23 | 0 | 2 | Li-ion | + | 18:04:14.321 | fre_ios | 4 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | ??? "5. Three-day segments that repeat everyday" @@ -181,20 +183,20 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |-----------------------|-----------|----------------|---------------|---------------|-----------------|---------------------|-----------------|----------------|--------------------| - | 2020-07-02 00:03:47.875 | test01 | 3 | 63 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-02 00:05:47.875 | test01 | 3 | 62 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-02 23:55:47.875 | test01 | 3 | 55 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-02 23:59:47.875 | test01 | 3 | 54 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 00:06:47.875 | test01 | 3 | 53 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 00:09:47.875 | test01 | 3 | 52 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 23:47:05.000 | test01 | 3 | 60 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 23:55:05.000 | test01 | 3 | 59 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 00:15:05.000 | test01 | 3 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 00:18:05.000 | test01 | 3 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 23:51:00.000 | test01 | 3 | 41 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 23:57:00.000 | test01 | 3 | 40 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-05 00:21:00.000 | test01 | 3 | 39 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-05 00:23:00.000 | test01 | 3 | 38 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-02 00:03:47.875 | per_and | 3 | 63 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-02 00:05:47.875 | per_and | 3 | 62 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-02 23:55:47.875 | per_and | 3 | 55 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-02 23:59:47.875 | per_and | 3 | 54 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 00:06:47.875 | per_and | 3 | 53 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 00:09:47.875 | per_and | 3 | 52 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 23:47:05.000 | per_and | 3 | 60 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 23:55:05.000 | per_and | 3 | 59 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 00:15:05.000 | per_and | 3 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 00:18:05.000 | per_and | 3 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 23:51:00.000 | per_and | 3 | 41 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 23:57:00.000 | per_and | 3 | 40 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-05 00:21:00.000 | per_and | 3 | 39 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-05 00:23:00.000 | per_and | 3 | 38 | 100 | 4157 | 23 | 0 | 2 | Li-ion | Output results: @@ -220,16 +222,16 @@ The sample data includes 7 tests cases. Take phone battery as an example, on thi | timestamp | device_id | battery_status | battery_level | battery_scale | battery_voltage | battery_temperature | battery_adaptor | battery_health | battery_technology | |-----------------------|-----------|----------------|---------------|---------------|-----------------|---------------------|-----------------|----------------|--------------------| - | 2020-07-03 00:06:47.875 | test01 | 3 | 53 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 00:09:47.875 | test01 | 3 | 52 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 23:47:05.000 | test01 | 3 | 60 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-03 23:55:05.000 | test01 | 3 | 59 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 00:15:05.000 | test01 | 3 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 00:18:05.000 | test01 | 3 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 23:51:00.000 | test01 | 3 | 41 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-04 23:57:00.000 | test01 | 3 | 40 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-05 00:21:00.000 | test01 | 3 | 39 | 100 | 4157 | 23 | 0 | 2 | Li-ion | - | 2020-07-05 00:23:00.000 | test01 | 3 | 38 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 00:06:47.875 | per_and | 3 | 53 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 00:09:47.875 | per_and | 3 | 52 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 23:47:05.000 | per_and | 3 | 60 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-03 23:55:05.000 | per_and | 3 | 59 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 00:15:05.000 | per_and | 3 | 58 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 00:18:05.000 | per_and | 3 | 57 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 23:51:00.000 | per_and | 3 | 41 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-04 23:57:00.000 | per_and | 3 | 40 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-05 00:21:00.000 | per_and | 3 | 39 | 100 | 4157 | 23 | 0 | 2 | Li-ion | + | 2020-07-05 00:23:00.000 | per_and | 3 | 38 | 100 | 4157 | 23 | 0 | 2 | Li-ion | Output results: diff --git a/tests/data/external/aware_csv/phone_battery_raw.csv b/tests/data/external/aware_csv/phone_battery_raw.csv index e24192f9..bee041a2 100644 --- a/tests/data/external/aware_csv/phone_battery_raw.csv +++ b/tests/data/external/aware_csv/phone_battery_raw.csv @@ -1,235 +1,243 @@ timestamp,device_id,battery_status,battery_level,battery_scale,battery_voltage,battery_temperature,battery_adaptor,battery_health,battery_technology -1593576490416,test01,3,80,100,4170,23,0,2,Li-ion -1593576683435,test01,3,79,100,4094,23,0,2,Li-ion -1593576930630,test01,3,78,100,4157,23,0,2,Li-ion -1593577058603,test01,3,77,100,4157,23,0,2,Li-ion -1593581260603,test01,4,77,100,4157,23,0,2,Li-ion -1593588030416,test01,2,77,100,4170,23,0,2,Li-ion -1593588230435,test01,2,78,100,4094,23,0,2,Li-ion -1593588635630,test01,2,79,100,4157,23,0,2,Li-ion -1593588635876,test01,2,80,100,4157,23,0,2,Li-ion -1593597450123,test01,3,80,100,4170,23,0,2,Li-ion -1593597589435,test01,3,79,100,4094,23,0,2,Li-ion -1593597739321,test01,3,78,100,4157,23,0,2,Li-ion -1593597872456,test01,3,77,100,4157,23,0,2,Li-ion -1593605072416,test01,2,72,100,4170,23,0,2,Li-ion -1593605232435,test01,2,73,100,4094,23,0,2,Li-ion -1593605392679,test01,2,74,100,4157,23,0,2,Li-ion -1593605587876,test01,2,75,100,4157,23,0,2,Li-ion -1593609187603,test01,4,77,100,4157,23,0,2,Li-ion -1593613397416,test01,3,74,100,4170,23,0,2,Li-ion -1593613583435,test01,3,73,100,4094,23,0,2,Li-ion -1593613783679,test01,3,72,100,4157,23,0,2,Li-ion -1593614058876,test01,3,71,100,4157,23,0,2,Li-ion -1593618958416,test01,2,62,100,4170,23,0,2,Li-ion -1593619168435,test01,2,63,100,4094,23,0,2,Li-ion -1593619477679,test01,2,64,100,4157,23,0,2,Li-ion -1593619687876,test01,2,65,100,4157,23,0,2,Li-ion -1593625927416,test01,3,64,100,4170,23,0,2,Li-ion -1593626099435,test01,3,63,100,4094,23,0,2,Li-ion -1593626229679,test01,3,62,100,4157,23,0,2,Li-ion -1593626419876,test01,3,61,100,4157,23,0,2,Li-ion -1593630629603,test01,4,77,100,4157,23,0,2,Li-ion -1593634407416,test01,2,60,100,4170,23,0,2,Li-ion -1593634677435,test01,2,61,100,4094,23,0,2,Li-ion -1593634887679,test01,2,62,100,4157,23,0,2,Li-ion -1593635087876,test01,2,63,100,4157,23,0,2,Li-ion -1593640563123,test01,3,60,100,4170,23,0,2,Li-ion -1593640781435,test01,3,59,100,4094,23,0,2,Li-ion -1593641054321,test01,3,58,100,4157,23,0,2,Li-ion -1593641244456,test01,3,57,100,4157,23,0,2,Li-ion -1593648183416,test01,2,72,100,4170,23,0,2,Li-ion -1593648312435,test01,2,73,100,4094,23,0,2,Li-ion -1593648444679,test01,2,74,100,4157,23,0,2,Li-ion -1593648634876,test01,2,75,100,4157,23,0,2,Li-ion -1593651044603,test01,4,77,100,4157,23,0,2,Li-ion -1593653404416,test01,3,74,100,4170,23,0,2,Li-ion -1593653534435,test01,3,73,100,4094,23,0,2,Li-ion -1593653723679,test01,3,72,100,4157,23,0,2,Li-ion -1593653867876,test01,3,71,100,4157,23,0,2,Li-ion -1593576490416,test02,4,80,100,4170,23,0,2,Li-ion -1593576683435,test02,4,79,100,4094,23,0,2,Li-ion -1593576930630,test02,4,78,100,4157,23,0,2,Li-ion -1593577058603,test02,4,77,100,4157,23,0,2,Li-ion -1593588030416,test02,2,77,100,4170,23,0,2,Li-ion -1593588230435,test02,2,78,100,4094,23,0,2,Li-ion -1593588635630,test02,2,79,100,4157,23,0,2,Li-ion -1593588635876,test02,2,80,100,4157,23,0,2,Li-ion -1593597450123,test02,4,80,100,4170,23,0,2,Li-ion -1593597589435,test02,4,79,100,4094,23,0,2,Li-ion -1593597739321,test02,4,78,100,4157,23,0,2,Li-ion -1593597872456,test02,4,77,100,4157,23,0,2,Li-ion -1593605072416,test02,2,72,100,4170,23,0,2,Li-ion -1593605232435,test02,2,73,100,4094,23,0,2,Li-ion -1593605392679,test02,2,74,100,4157,23,0,2,Li-ion -1593605587876,test02,2,75,100,4157,23,0,2,Li-ion -1593613397416,test02,4,74,100,4170,23,0,2,Li-ion -1593613583435,test02,4,73,100,4094,23,0,2,Li-ion -1593613783679,test02,4,72,100,4157,23,0,2,Li-ion -1593614058876,test02,4,71,100,4157,23,0,2,Li-ion -1593618958416,test02,2,62,100,4170,23,0,2,Li-ion -1593619168435,test02,2,63,100,4094,23,0,2,Li-ion -1593619477679,test02,2,64,100,4157,23,0,2,Li-ion -1593619687876,test02,2,65,100,4157,23,0,2,Li-ion -1593625927416,test02,4,64,100,4170,23,0,2,Li-ion -1593626099435,test02,4,63,100,4094,23,0,2,Li-ion -1593626229679,test02,4,62,100,4157,23,0,2,Li-ion -1593626419876,test02,4,61,100,4157,23,0,2,Li-ion -1593634407416,test02,2,60,100,4170,23,0,2,Li-ion -1593634677435,test02,2,61,100,4094,23,0,2,Li-ion -1593634887679,test02,2,62,100,4157,23,0,2,Li-ion -1593635087876,test02,2,63,100,4157,23,0,2,Li-ion -1593640563123,test02,4,60,100,4170,23,0,2,Li-ion -1593640781435,test02,4,59,100,4094,23,0,2,Li-ion -1593641054321,test02,4,58,100,4157,23,0,2,Li-ion -1593641244456,test02,4,57,100,4157,23,0,2,Li-ion -1593648183416,test02,2,72,100,4170,23,0,2,Li-ion -1593648312435,test02,2,73,100,4094,23,0,2,Li-ion -1593648444679,test02,2,74,100,4157,23,0,2,Li-ion -1593648634876,test02,2,75,100,4157,23,0,2,Li-ion -1593653404416,test02,4,74,100,4170,23,0,2,Li-ion -1593653534435,test02,4,73,100,4094,23,0,2,Li-ion -1593653723679,test02,4,72,100,4157,23,0,2,Li-ion -1593653867876,test02,4,71,100,4157,23,0,2,Li-ion -1593576490416,test05,3,80,100,4170,23,0,2,Li-ion -1593576683435,test05,3,79,100,4094,23,0,2,Li-ion -1593576930630,test05,3,78,100,4157,23,0,2,Li-ion -1593577058603,test05,3,77,100,4157,23,0,2,Li-ion -1593581260603,test05,4,77,100,4157,23,0,2,Li-ion -1593588030416,test05,2,77,100,4170,23,0,2,Li-ion -1593588230435,test05,2,78,100,4094,23,0,2,Li-ion -1593588635630,test05,2,79,100,4157,23,0,2,Li-ion -1593588635876,test05,2,80,100,4157,23,0,2,Li-ion -1593597450123,test05,3,80,100,4170,23,0,2,Li-ion -1593597589435,test05,3,79,100,4094,23,0,2,Li-ion -1593597739321,test05,3,78,100,4157,23,0,2,Li-ion -1593597872456,test05,3,77,100,4157,23,0,2,Li-ion -1593605072416,test05,2,72,100,4170,23,0,2,Li-ion -1593605232435,test05,2,73,100,4094,23,0,2,Li-ion -1593605392679,test05,2,74,100,4157,23,0,2,Li-ion -1593605587876,test05,2,75,100,4157,23,0,2,Li-ion -1593609187603,test05,4,75,100,4157,23,0,2,Li-ion -1593613397416,test05,3,74,100,4170,23,0,2,Li-ion -1593613583435,test05,3,73,100,4094,23,0,2,Li-ion -1593613783679,test05,3,72,100,4157,23,0,2,Li-ion -1593614058876,test05,3,71,100,4157,23,0,2,Li-ion -1593618958416,test05,2,62,100,4170,23,0,2,Li-ion -1593619168435,test05,2,63,100,4094,23,0,2,Li-ion -1593619477679,test05,2,64,100,4157,23,0,2,Li-ion -1593619687876,test05,2,65,100,4157,23,0,2,Li-ion -1593625927416,test05,3,64,100,4170,23,0,2,Li-ion -1593626099435,test05,3,63,100,4094,23,0,2,Li-ion -1593626229679,test05,3,62,100,4157,23,0,2,Li-ion -1593626419876,test05,3,61,100,4157,23,0,2,Li-ion -1593630629603,test05,4,77,100,4157,23,0,2,Li-ion -1593634407416,test05,2,60,100,4170,23,0,2,Li-ion -1593634677435,test05,2,61,100,4094,23,0,2,Li-ion -1593634887679,test05,2,62,100,4157,23,0,2,Li-ion -1593635087876,test05,2,63,100,4157,23,0,2,Li-ion -1593640563123,test05,3,60,100,4170,23,0,2,Li-ion -1593640781435,test05,3,59,100,4094,23,0,2,Li-ion -1593641054321,test05,3,58,100,4157,23,0,2,Li-ion -1593641244456,test05,3,57,100,4157,23,0,2,Li-ion -1593648183416,test05,2,72,100,4170,23,0,2,Li-ion -1593648312435,test05,2,73,100,4094,23,0,2,Li-ion -1593648444679,test05,2,74,100,4157,23,0,2,Li-ion -1593648634876,test05,2,75,100,4157,23,0,2,Li-ion -1593651044603,test05,4,75,100,4157,23,0,2,Li-ion -1593653404416,test05,3,74,100,4170,23,0,2,Li-ion -1593653534435,test05,3,73,100,4094,23,0,2,Li-ion -1593653723679,test05,3,72,100,4157,23,0,2,Li-ion -1593653867876,test05,3,71,100,4157,23,0,2,Li-ion -1593654001875,test05,2,70,100,4157,23,0,2,Li-ion -1593654201075,test05,2,78,100,4157,23,0,2,Li-ion -1593576490416.0,test06,4.0,80.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593576683435.0,test06,4.0,79.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593576930630.0,test06,4.0,78.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593577058603.0,test06,4.0,77.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593588030416.0,test06,2.0,77.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593588230435.0,test06,2.0,78.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593588635630.0,test06,2.0,79.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593588635876.0,test06,2.0,80.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593597450123.0,test06,3.0,80.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593597589435.0,test06,3.0,79.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593597739321.0,test06,3.0,78.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593597872456.0,test06,3.0,77.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593605072416.0,test06,2.0,72.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593605232435.0,test06,2.0,73.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593605392679.0,test06,2.0,74.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593605587876.0,test06,2.0,75.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593613397416.0,test06,4.0,74.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593613583435.0,test06,4.0,73.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593613783679.0,test06,4.0,72.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593614058876.0,test06,4.0,71.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593618958416.0,test06,2.0,62.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593619168435.0,test06,2.0,63.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593619477679.0,test06,2.0,64.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593619687876.0,test06,2.0,65.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593625927416.0,test06,4.0,64.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593626099435.0,test06,4.0,63.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593626229679.0,test06,4.0,62.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593626419876.0,test06,4.0,61.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593634407416.0,test06,2.0,60.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593634677435.0,test06,2.0,61.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593634887679.0,test06,2.0,62.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593635087876.0,test06,2.0,63.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593640563123.0,test06,4.0,60.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593640781435.0,test06,4.0,59.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593641054321.0,test06,4.0,58.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593641244456.0,test06,4.0,57.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593648183416.0,test06,2.0,72.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593648312435.0,test06,2.0,73.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593648444679.0,test06,2.0,74.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593648634876.0,test06,2.0,75.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593648921875,test06,4.0,74.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593649577172,test06,4.0,73.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593653404416.0,test06,4.0,72.0,100.0,4170.0,23.0,0.0,2.0,Li-ion -1593653534435.0,test06,4.0,71.0,100.0,4094.0,23.0,0.0,2.0,Li-ion -1593653723679.0,test06,4.0,70.0,100.0,4157.0,23.0,0.0,2.0,Li-ion -1593653867876.0,test06,4.0,69.0,100.0,4157.0,23.0,0.0,2.0,Li-ion +1593576490416,per_and,3,80,100,4170,23,0,2,Li-ion +1593576683435,per_and,3,79,100,4094,23,0,2,Li-ion +1593576930630,per_and,3,78,100,4157,23,0,2,Li-ion +1593577058603,per_and,3,77,100,4157,23,0,2,Li-ion +1593581260603,per_and,4,77,100,4157,23,0,2,Li-ion +1593588030416,per_and,2,77,100,4170,23,0,2,Li-ion +1593588230435,per_and,2,78,100,4094,23,0,2,Li-ion +1593588635630,per_and,2,79,100,4157,23,0,2,Li-ion +1593588635876,per_and,2,80,100,4157,23,0,2,Li-ion +1593597450123,per_and,3,80,100,4170,23,0,2,Li-ion +1593597589435,per_and,3,79,100,4094,23,0,2,Li-ion +1593597739321,per_and,3,78,100,4157,23,0,2,Li-ion +1593597872456,per_and,3,77,100,4157,23,0,2,Li-ion +1593605072416,per_and,2,72,100,4170,23,0,2,Li-ion +1593605232435,per_and,2,73,100,4094,23,0,2,Li-ion +1593605392679,per_and,2,74,100,4157,23,0,2,Li-ion +1593605587876,per_and,2,75,100,4157,23,0,2,Li-ion +1593609187603,per_and,4,77,100,4157,23,0,2,Li-ion +1593613397416,per_and,3,74,100,4170,23,0,2,Li-ion +1593613583435,per_and,3,73,100,4094,23,0,2,Li-ion +1593613783679,per_and,3,72,100,4157,23,0,2,Li-ion +1593614058876,per_and,3,71,100,4157,23,0,2,Li-ion +1593618958416,per_and,2,62,100,4170,23,0,2,Li-ion +1593619168435,per_and,2,63,100,4094,23,0,2,Li-ion +1593619477679,per_and,2,64,100,4157,23,0,2,Li-ion +1593619687876,per_and,2,65,100,4157,23,0,2,Li-ion +1593625927416,per_and,3,64,100,4170,23,0,2,Li-ion +1593626099435,per_and,3,63,100,4094,23,0,2,Li-ion +1593626229679,per_and,3,62,100,4157,23,0,2,Li-ion +1593626419876,per_and,3,61,100,4157,23,0,2,Li-ion +1593630629603,per_and,4,77,100,4157,23,0,2,Li-ion +1593634407416,per_and,2,60,100,4170,23,0,2,Li-ion +1593634677435,per_and,2,61,100,4094,23,0,2,Li-ion +1593634887679,per_and,2,62,100,4157,23,0,2,Li-ion +1593635087876,per_and,2,63,100,4157,23,0,2,Li-ion +1593640563123,per_and,3,60,100,4170,23,0,2,Li-ion +1593640781435,per_and,3,59,100,4094,23,0,2,Li-ion +1593641054321,per_and,3,58,100,4157,23,0,2,Li-ion +1593641244456,per_and,3,57,100,4157,23,0,2,Li-ion +1593648183416,per_and,2,72,100,4170,23,0,2,Li-ion +1593648312435,per_and,2,73,100,4094,23,0,2,Li-ion +1593648444679,per_and,2,74,100,4157,23,0,2,Li-ion +1593648634876,per_and,2,75,100,4157,23,0,2,Li-ion +1593651044603,per_and,4,77,100,4157,23,0,2,Li-ion +1593653404416,per_and,3,74,100,4170,23,0,2,Li-ion +1593653534435,per_and,3,73,100,4094,23,0,2,Li-ion +1593653723679,per_and,3,72,100,4157,23,0,2,Li-ion +1593653867876,per_and,3,71,100,4157,23,0,2,Li-ion +1593576490416,per_ios,4,80,100,4170,23,0,2,Li-ion +1593576683435,per_ios,4,79,100,4094,23,0,2,Li-ion +1593576930630,per_ios,4,78,100,4157,23,0,2,Li-ion +1593577058603,per_ios,4,77,100,4157,23,0,2,Li-ion +1593588030416,per_ios,2,77,100,4170,23,0,2,Li-ion +1593588230435,per_ios,2,78,100,4094,23,0,2,Li-ion +1593588635630,per_ios,2,79,100,4157,23,0,2,Li-ion +1593588635876,per_ios,2,80,100,4157,23,0,2,Li-ion +1593597450123,per_ios,4,80,100,4170,23,0,2,Li-ion +1593597589435,per_ios,4,79,100,4094,23,0,2,Li-ion +1593597739321,per_ios,4,78,100,4157,23,0,2,Li-ion +1593597872456,per_ios,4,77,100,4157,23,0,2,Li-ion +1593605072416,per_ios,2,72,100,4170,23,0,2,Li-ion +1593605232435,per_ios,2,73,100,4094,23,0,2,Li-ion +1593605392679,per_ios,2,74,100,4157,23,0,2,Li-ion +1593605587876,per_ios,2,75,100,4157,23,0,2,Li-ion +1593613397416,per_ios,4,74,100,4170,23,0,2,Li-ion +1593613583435,per_ios,4,73,100,4094,23,0,2,Li-ion +1593613783679,per_ios,4,72,100,4157,23,0,2,Li-ion +1593614058876,per_ios,4,71,100,4157,23,0,2,Li-ion +1593618958416,per_ios,2,62,100,4170,23,0,2,Li-ion +1593619168435,per_ios,2,63,100,4094,23,0,2,Li-ion +1593619477679,per_ios,2,64,100,4157,23,0,2,Li-ion +1593619687876,per_ios,2,65,100,4157,23,0,2,Li-ion +1593625927416,per_ios,4,64,100,4170,23,0,2,Li-ion +1593626099435,per_ios,4,63,100,4094,23,0,2,Li-ion +1593626229679,per_ios,4,62,100,4157,23,0,2,Li-ion +1593626419876,per_ios,4,61,100,4157,23,0,2,Li-ion +1593634407416,per_ios,2,60,100,4170,23,0,2,Li-ion +1593634677435,per_ios,2,61,100,4094,23,0,2,Li-ion +1593634887679,per_ios,2,62,100,4157,23,0,2,Li-ion +1593635087876,per_ios,2,63,100,4157,23,0,2,Li-ion +1593640563123,per_ios,4,60,100,4170,23,0,2,Li-ion +1593640781435,per_ios,4,59,100,4094,23,0,2,Li-ion +1593641054321,per_ios,4,58,100,4157,23,0,2,Li-ion +1593641244456,per_ios,4,57,100,4157,23,0,2,Li-ion +1593648183416,per_ios,2,72,100,4170,23,0,2,Li-ion +1593648312435,per_ios,2,73,100,4094,23,0,2,Li-ion +1593648444679,per_ios,2,74,100,4157,23,0,2,Li-ion +1593648634876,per_ios,2,75,100,4157,23,0,2,Li-ion +1593653404416,per_ios,4,74,100,4170,23,0,2,Li-ion +1593653534435,per_ios,4,73,100,4094,23,0,2,Li-ion +1593653723679,per_ios,4,72,100,4157,23,0,2,Li-ion +1593653867876,per_ios,4,71,100,4157,23,0,2,Li-ion +1593576490416,fre_and,3,80,100,4170,23,0,2,Li-ion +1593576683435,fre_and,3,79,100,4094,23,0,2,Li-ion +1593576930630,fre_and,3,78,100,4157,23,0,2,Li-ion +1593577058603,fre_and,3,77,100,4157,23,0,2,Li-ion +1593581260603,fre_and,4,77,100,4157,23,0,2,Li-ion +1593588030416,fre_and,2,77,100,4170,23,0,2,Li-ion +1593588230435,fre_and,2,78,100,4094,23,0,2,Li-ion +1593588635630,fre_and,2,79,100,4157,23,0,2,Li-ion +1593588635876,fre_and,2,80,100,4157,23,0,2,Li-ion +1593597450123,fre_and,3,80,100,4170,23,0,2,Li-ion +1593597589435,fre_and,3,79,100,4094,23,0,2,Li-ion +1593597739321,fre_and,3,78,100,4157,23,0,2,Li-ion +1593597872456,fre_and,3,77,100,4157,23,0,2,Li-ion +1593605072416,fre_and,2,72,100,4170,23,0,2,Li-ion +1593605232435,fre_and,2,73,100,4094,23,0,2,Li-ion +1593605392679,fre_and,2,74,100,4157,23,0,2,Li-ion +1593605587876,fre_and,2,75,100,4157,23,0,2,Li-ion +1593609187603,fre_and,4,75,100,4157,23,0,2,Li-ion +1593613397416,fre_and,3,74,100,4170,23,0,2,Li-ion +1593613583435,fre_and,3,73,100,4094,23,0,2,Li-ion +1593613783679,fre_and,3,72,100,4157,23,0,2,Li-ion +1593614058876,fre_and,3,71,100,4157,23,0,2,Li-ion +1593618958416,fre_and,2,62,100,4170,23,0,2,Li-ion +1593619168435,fre_and,2,63,100,4094,23,0,2,Li-ion +1593619477679,fre_and,2,64,100,4157,23,0,2,Li-ion +1593619687876,fre_and,2,65,100,4157,23,0,2,Li-ion +1593625927416,fre_and,3,64,100,4170,23,0,2,Li-ion +1593626099435,fre_and,3,63,100,4094,23,0,2,Li-ion +1593626229679,fre_and,3,62,100,4157,23,0,2,Li-ion +1593626419876,fre_and,3,61,100,4157,23,0,2,Li-ion +1593630629603,fre_and,4,77,100,4157,23,0,2,Li-ion +1593634407416,fre_and,2,60,100,4170,23,0,2,Li-ion +1593634677435,fre_and,2,61,100,4094,23,0,2,Li-ion +1593634887679,fre_and,2,62,100,4157,23,0,2,Li-ion +1593635087876,fre_and,2,63,100,4157,23,0,2,Li-ion +1593640563123,fre_and,3,60,100,4170,23,0,2,Li-ion +1593640781435,fre_and,3,59,100,4094,23,0,2,Li-ion +1593641054321,fre_and,3,58,100,4157,23,0,2,Li-ion +1593641244456,fre_and,3,57,100,4157,23,0,2,Li-ion +1593648183416,fre_and,2,72,100,4170,23,0,2,Li-ion +1593648312435,fre_and,2,73,100,4094,23,0,2,Li-ion +1593648444679,fre_and,2,74,100,4157,23,0,2,Li-ion +1593648634876,fre_and,2,75,100,4157,23,0,2,Li-ion +1593651044603,fre_and,4,75,100,4157,23,0,2,Li-ion +1593653404416,fre_and,3,74,100,4170,23,0,2,Li-ion +1593653534435,fre_and,3,73,100,4094,23,0,2,Li-ion +1593653723679,fre_and,3,72,100,4157,23,0,2,Li-ion +1593653867876,fre_and,3,71,100,4157,23,0,2,Li-ion +1593654001875,fre_and,2,70,100,4157,23,0,2,Li-ion +1593654201075,fre_and,2,78,100,4157,23,0,2,Li-ion +1593576490416,fre_ios,4,80,100,4170,23,0,2,Li-ion +1593576683435,fre_ios,4,79,100,4094,23,0,2,Li-ion +1593576930630,fre_ios,4,78,100,4157,23,0,2,Li-ion +1593577058603,fre_ios,4,77,100,4157,23,0,2,Li-ion +1593588030416,fre_ios,2,77,100,4170,23,0,2,Li-ion +1593588230435,fre_ios,2,78,100,4094,23,0,2,Li-ion +1593588635630,fre_ios,2,79,100,4157,23,0,2,Li-ion +1593588635876,fre_ios,2,80,100,4157,23,0,2,Li-ion +1593597450123,fre_ios,3,80,100,4170,23,0,2,Li-ion +1593597589435,fre_ios,3,79,100,4094,23,0,2,Li-ion +1593597739321,fre_ios,3,78,100,4157,23,0,2,Li-ion +1593597872456,fre_ios,3,77,100,4157,23,0,2,Li-ion +1593605072416,fre_ios,2,72,100,4170,23,0,2,Li-ion +1593605232435,fre_ios,2,73,100,4094,23,0,2,Li-ion +1593605392679,fre_ios,2,74,100,4157,23,0,2,Li-ion +1593605587876,fre_ios,2,75,100,4157,23,0,2,Li-ion +1593613397416,fre_ios,4,74,100,4170,23,0,2,Li-ion +1593613583435,fre_ios,4,73,100,4094,23,0,2,Li-ion +1593613783679,fre_ios,4,72,100,4157,23,0,2,Li-ion +1593614058876,fre_ios,4,71,100,4157,23,0,2,Li-ion +1593618958416,fre_ios,2,62,100,4170,23,0,2,Li-ion +1593619168435,fre_ios,2,63,100,4094,23,0,2,Li-ion +1593619477679,fre_ios,2,64,100,4157,23,0,2,Li-ion +1593619687876,fre_ios,2,65,100,4157,23,0,2,Li-ion +1593625927416,fre_ios,4,64,100,4170,23,0,2,Li-ion +1593626099435,fre_ios,4,63,100,4094,23,0,2,Li-ion +1593626229679,fre_ios,4,62,100,4157,23,0,2,Li-ion +1593626419876,fre_ios,4,61,100,4157,23,0,2,Li-ion +1593634407416,fre_ios,2,60,100,4170,23,0,2,Li-ion +1593634677435,fre_ios,2,61,100,4094,23,0,2,Li-ion +1593634887679,fre_ios,2,62,100,4157,23,0,2,Li-ion +1593635087876,fre_ios,2,63,100,4157,23,0,2,Li-ion +1593640563123,fre_ios,4,60,100,4170,23,0,2,Li-ion +1593640781435,fre_ios,4,59,100,4094,23,0,2,Li-ion +1593641054321,fre_ios,4,58,100,4157,23,0,2,Li-ion +1593641244456,fre_ios,4,57,100,4157,23,0,2,Li-ion +1593648183416,fre_ios,2,72,100,4170,23,0,2,Li-ion +1593648312435,fre_ios,2,73,100,4094,23,0,2,Li-ion +1593648444679,fre_ios,2,74,100,4157,23,0,2,Li-ion +1593648634876,fre_ios,2,75,100,4157,23,0,2,Li-ion +1593648921875,fre_ios,4,74,100,4170,23,0,2,Li-ion +1593649577172,fre_ios,4,73,100,4170,23,0,2,Li-ion +1593653404416,fre_ios,4,72,100,4170,23,0,2,Li-ion +1593653534435,fre_ios,4,71,100,4094,23,0,2,Li-ion +1593653723679,fre_ios,4,70,100,4157,23,0,2,Li-ion +1593653867876,fre_ios,4,69,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593662267875,per_and,3,65,100,4157,23,0,2,Li-ion +1593662327875,per_and,3,64,100,4157,23,0,2,Li-ion +1593662627875,per_and,3,63,100,4157,23,0,2,Li-ion +1593662747875,per_and,3,62,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593748547875,per_and,3,55,100,4157,23,0,2,Li-ion +1593748787875,per_and,3,54,100,4157,23,0,2,Li-ion +1593749207875,per_and,3,53,100,4157,23,0,2,Li-ion +1593749387875,per_and,3,52,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593834425001,per_and,3,60,100,4157,23,0,2,Li-ion +1593834905001,per_and,3,59,100,4157,23,0,2,Li-ion +1593836105001,per_and,3,58,100,4157,23,0,2,Li-ion +1593836285001,per_and,3,57,100,4157,23,0,2,Li-ion +1593921060001,per_and,3,41,100,4157,23,0,2,Li-ion +1593921420001,per_and,3,40,100,4157,23,0,2,Li-ion +1593922860001,per_and,3,39,100,4157,23,0,2,Li-ion +1593922980001,per_and,3,38,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1587626100001,eve_and,3,90,100,4157,23,0,2,Li-ion +1587626460001,eve_and,3,89,100,4157,23,0,2,Li-ion +1587642600001,eve_and,3,80,100,4157,23,0,2,Li-ion +1587643500001,eve_and,3,79,100,4157,23,0,2,Li-ion +1587643920001,eve_and,3,78,100,4157,23,0,2,Li-ion +1587696600001,eve_and,3,50,100,4157,23,0,2,Li-ion +1587696780001,eve_and,3,49,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593662267875,per_ios,4,65,100,4157,23,0,2,Li-ion +1593662327875,per_ios,4,64,100,4157,23,0,2,Li-ion +1593662627875,per_ios,4,63,100,4157,23,0,2,Li-ion +1593662747875,per_ios,4,62,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593748547875,per_ios,4,55,100,4157,23,0,2,Li-ion +1593748787875,per_ios,4,54,100,4157,23,0,2,Li-ion +1593749207875,per_ios,4,53,100,4157,23,0,2,Li-ion +1593749387875,per_ios,4,52,100,4157,23,0,2,Li-ion +NA,,NA,NA,NA,NA,NA,NA,NA, +1593834425001,per_ios,4,60,100,4157,23,0,2,Li-ion +1593834905001,per_ios,4,59,100,4157,23,0,2,Li-ion +1593836105001,per_ios,4,58,100,4157,23,0,2,Li-ion +1593836285001,per_ios,4,57,100,4157,23,0,2,Li-ion +1593921060001,per_ios,4,41,100,4157,23,0,2,Li-ion +1593921420001,per_ios,4,40,100,4157,23,0,2,Li-ion +1593922860001,per_ios,4,39,100,4157,23,0,2,Li-ion +1593922980001,per_ios,4,38,100,4157,23,0,2,Li-ion ,,,,,,,,, -1593662267875,test01,3,65,100,4157,23,0,2,Li-ion -1593662327875,test01,3,64,100,4157,23,0,2,Li-ion -1593662627875,test01,3,63,100,4157,23,0,2,Li-ion -1593662747875,test01,3,62,100,4157,23,0,2,Li-ion -,,,,,,,,, -1593748547875,test01,3,55,100,4157,23,0,2,Li-ion -1593748787875,test01,3,54,100,4157,23,0,2,Li-ion -1593749207875,test01,3,53,100,4157,23,0,2,Li-ion -1593749387875,test01,3,52,100,4157,23,0,2,Li-ion -,,,,,,,,, -1593834425001,test01,3,60,100,4157,23,0,2,Li-ion -1593834905001,test01,3,59,100,4157,23,0,2,Li-ion -1593836105001,test01,3,58,100,4157,23,0,2,Li-ion -1593836285001,test01,3,57,100,4157,23,0,2,Li-ion -1593921060001,test01,3,41,100,4157,23,0,2,Li-ion -1593921420001,test01,3,40,100,4157,23,0,2,Li-ion -1593922860001,test01,3,39,100,4157,23,0,2,Li-ion -1593922980001,test01,3,38,100,4157,23,0,2,Li-ion -,,,,,,,,, -1587626100001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,90,100,4157,23,0,2,Li-ion -1587626460001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,89,100,4157,23,0,2,Li-ion -1587642600001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,80,100,4157,23,0,2,Li-ion -1587643500001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,79,100,4157,23,0,2,Li-ion -1587643920001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,78,100,4157,23,0,2,Li-ion -1587696600001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,50,100,4157,23,0,2,Li-ion -1587696780001,a748ee1a-1d0b-4ae9-9074-279a2b6ba524,3,49,100,4157,23,0,2,Li-ion -,,,,,,,,, -1593662267875,test02,3,65,100,4157,23,0,2,Li-ion -1593662327875,test02,3,64,100,4157,23,0,2,Li-ion -1593662627875,test02,3,63,100,4157,23,0,2,Li-ion -1593662747875,test02,3,62,100,4157,23,0,2,Li-ion -,,,,,,,,, -1593748547875,test02,3,55,100,4157,23,0,2,Li-ion -1593748787875,test02,3,54,100,4157,23,0,2,Li-ion -1593749207875,test02,3,53,100,4157,23,0,2,Li-ion -1593749387875,test02,3,52,100,4157,23,0,2,Li-ion -,,,,,,,,, -1593834425001,test02,3,60,100,4157,23,0,2,Li-ion -1593834905001,test02,3,59,100,4157,23,0,2,Li-ion -1593836105001,test02,3,58,100,4157,23,0,2,Li-ion -1593836285001,test02,3,57,100,4157,23,0,2,Li-ion -1593921060001,test02,3,41,100,4157,23,0,2,Li-ion -1593921420001,test02,3,40,100,4157,23,0,2,Li-ion -1593922860001,test02,3,39,100,4157,23,0,2,Li-ion -1593922980001,test02,3,38,100,4157,23,0,2,Li-ion \ No newline at end of file +1587626100001,eve_ios,4,90,100,4157,23,0,2,Li-ion +1587626460001,eve_ios,4,89,100,4157,23,0,2,Li-ion +1587642600001,eve_ios,4,80,100,4157,23,0,2,Li-ion +1587643500001,eve_ios,4,79,100,4157,23,0,2,Li-ion +1587643920001,eve_ios,4,78,100,4157,23,0,2,Li-ion +1587696600001,eve_ios,4,50,100,4157,23,0,2,Li-ion +1587696780001,eve_ios,4,49,100,4157,23,0,2,Li-ion \ No newline at end of file diff --git a/tests/data/external/participant_files/eve_and.yaml b/tests/data/external/participant_files/eve_and.yaml new file mode 100644 index 00000000..41d47f7d --- /dev/null +++ b/tests/data/external/participant_files/eve_and.yaml @@ -0,0 +1,6 @@ +PHONE: + DEVICE_IDS: [eve_and, a748ee1a-1d0b-4ae9-9074-279a2b6ba524] + PLATFORMS: [android] + LABEL: event android + START_DATE: 2020/01/01 + END_DATE: 2020/08/01 \ No newline at end of file diff --git a/tests/data/external/participant_files/eve_emp.yaml b/tests/data/external/participant_files/eve_emp.yaml new file mode 100644 index 00000000..983791e6 --- /dev/null +++ b/tests/data/external/participant_files/eve_emp.yaml @@ -0,0 +1,6 @@ +PHONE: + DEVICE_IDS: [eve_emp, a748ee1a-1d0b-4ae9-9074-279a2b6ba524] + PLATFORMS: [android, ios] + LABEL: event emp + START_DATE: 2020/01/01 + END_DATE: 2020/08/01 \ No newline at end of file diff --git a/tests/data/external/participant_files/eve_ios.yaml b/tests/data/external/participant_files/eve_ios.yaml new file mode 100644 index 00000000..eef62cfe --- /dev/null +++ b/tests/data/external/participant_files/eve_ios.yaml @@ -0,0 +1,6 @@ +PHONE: + DEVICE_IDS: [eve_ios, a748ee1a-1d0b-4ae9-9074-279a2b6ba524] + PLATFORMS: [ios] + LABEL: event ios + START_DATE: 2020/01/01 + END_DATE: 2020/08/01 \ No newline at end of file diff --git a/tests/data/external/participant_files/test03.yaml b/tests/data/external/participant_files/fre_and.yaml similarity index 57% rename from tests/data/external/participant_files/test03.yaml rename to tests/data/external/participant_files/fre_and.yaml index 8445bd60..8c745705 100644 --- a/tests/data/external/participant_files/test03.yaml +++ b/tests/data/external/participant_files/fre_and.yaml @@ -1,11 +1,11 @@ PHONE: - DEVICE_IDS: [test03] + DEVICE_IDS: [fre_and] PLATFORMS: [android] - LABEL: test03 android + LABEL: frequency android START_DATE: 2020/01/01 END_DATE: 2021/06/01 FITBIT: - DEVICE_IDS: [test03] - LABEL: test03 android + DEVICE_IDS: [fre_and] + LABEL: frequency android START_DATE: 2020/01/01 END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/fre_emp.yaml b/tests/data/external/participant_files/fre_emp.yaml new file mode 100644 index 00000000..02e41019 --- /dev/null +++ b/tests/data/external/participant_files/fre_emp.yaml @@ -0,0 +1,11 @@ +PHONE: + DEVICE_IDS: [fre_emp] + PLATFORMS: [android, ios] + LABEL: frequency empty + START_DATE: 2020/01/01 + END_DATE: 2021/06/01 +FITBIT: + DEVICE_IDS: [fre_emp] + LABEL: frequency empty + START_DATE: 2020/01/01 + END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test06.yaml b/tests/data/external/participant_files/fre_ios.yaml similarity index 58% rename from tests/data/external/participant_files/test06.yaml rename to tests/data/external/participant_files/fre_ios.yaml index da1da71e..9a467354 100644 --- a/tests/data/external/participant_files/test06.yaml +++ b/tests/data/external/participant_files/fre_ios.yaml @@ -1,11 +1,11 @@ PHONE: - DEVICE_IDS: [test06] + DEVICE_IDS: [fre_ios] PLATFORMS: [ios] - LABEL: test06 ios + LABEL: frequency ios START_DATE: 2020/01/01 END_DATE: 2021/06/01 FITBIT: - DEVICE_IDS: [test06] - LABEL: test06 ios + DEVICE_IDS: [fre_ios] + LABEL: frequency ios START_DATE: 2020/01/01 END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test01.yaml b/tests/data/external/participant_files/per_and.yaml similarity index 57% rename from tests/data/external/participant_files/test01.yaml rename to tests/data/external/participant_files/per_and.yaml index 81dc8724..561858fd 100644 --- a/tests/data/external/participant_files/test01.yaml +++ b/tests/data/external/participant_files/per_and.yaml @@ -1,11 +1,11 @@ PHONE: - DEVICE_IDS: [test01] + DEVICE_IDS: [per_and] PLATFORMS: [android] - LABEL: test01 android + LABEL: periodic android START_DATE: 2020/01/01 END_DATE: 2020/08/01 FITBIT: - DEVICE_IDS: [test01] - LABEL: test01 android + DEVICE_IDS: [per_and] + LABEL: periodic android START_DATE: 2020/01/01 END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/per_emp.yaml b/tests/data/external/participant_files/per_emp.yaml new file mode 100644 index 00000000..7973c91b --- /dev/null +++ b/tests/data/external/participant_files/per_emp.yaml @@ -0,0 +1,11 @@ +PHONE: + DEVICE_IDS: [per_emp] + PLATFORMS: [android, ios] + LABEL: periodic empty + START_DATE: 2020/01/01 + END_DATE: 2021/06/01 +FITBIT: + DEVICE_IDS: [per_emp] + LABEL: periodic empty + START_DATE: 2020/01/01 + END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test02.yaml b/tests/data/external/participant_files/per_ios.yaml similarity index 58% rename from tests/data/external/participant_files/test02.yaml rename to tests/data/external/participant_files/per_ios.yaml index da375583..2a722549 100644 --- a/tests/data/external/participant_files/test02.yaml +++ b/tests/data/external/participant_files/per_ios.yaml @@ -1,11 +1,11 @@ PHONE: - DEVICE_IDS: [test02] + DEVICE_IDS: [per_ios] PLATFORMS: [ios] - LABEL: test02 ios + LABEL: periodic ios START_DATE: 2020/01/01 END_DATE: 2021/08/01 FITBIT: - DEVICE_IDS: [test02] - LABEL: test02 ios + DEVICE_IDS: [per_ios] + LABEL: periodic ios START_DATE: 2020/01/01 END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test04.yaml b/tests/data/external/participant_files/test04.yaml deleted file mode 100644 index c61fa7b3..00000000 --- a/tests/data/external/participant_files/test04.yaml +++ /dev/null @@ -1,11 +0,0 @@ -PHONE: - DEVICE_IDS: [test04] - PLATFORMS: [ios] - LABEL: test04 ios - START_DATE: 2020/01/01 - END_DATE: 2021/06/01 -FITBIT: - DEVICE_IDS: [test04] - LABEL: test04 ios - START_DATE: 2020/01/01 - END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test05.yaml b/tests/data/external/participant_files/test05.yaml deleted file mode 100644 index 974ab6a0..00000000 --- a/tests/data/external/participant_files/test05.yaml +++ /dev/null @@ -1,11 +0,0 @@ -PHONE: - DEVICE_IDS: [test05] - PLATFORMS: [android] - LABEL: test05 android - START_DATE: 2020/01/01 - END_DATE: 2021/06/01 -FITBIT: - DEVICE_IDS: [test05] - LABEL: test05 android - START_DATE: 2020/01/01 - END_DATE: 2020/06/01 diff --git a/tests/data/external/participant_files/test07.yaml b/tests/data/external/participant_files/test07.yaml deleted file mode 100644 index 40a9debc..00000000 --- a/tests/data/external/participant_files/test07.yaml +++ /dev/null @@ -1,6 +0,0 @@ -PHONE: - DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524] - PLATFORMS: [android] - LABEL: test01 android - START_DATE: 2020/01/01 - END_DATE: 2020/08/01 \ No newline at end of file diff --git a/tests/data/processed/features/event/test07/phone_battery.csv b/tests/data/processed/features/event/eve_and/phone_battery.csv similarity index 100% rename from tests/data/processed/features/event/test07/phone_battery.csv rename to tests/data/processed/features/event/eve_and/phone_battery.csv diff --git a/tests/data/processed/features/event/eve_emp/phone_battery.csv b/tests/data/processed/features/event/eve_emp/phone_battery.csv new file mode 100644 index 00000000..8a8759cb --- /dev/null +++ b/tests/data/processed/features/event/eve_emp/phone_battery.csv @@ -0,0 +1 @@ +"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_battery_rapids_sumdurationdischarge","phone_battery_rapids_countdischarge","phone_battery_rapids_sumdurationcharge","phone_battery_rapids_maxconsumptionrate","phone_battery_rapids_avgconsumptionrate","phone_battery_rapids_countcharge" diff --git a/tests/data/processed/features/event/eve_ios/phone_battery.csv b/tests/data/processed/features/event/eve_ios/phone_battery.csv new file mode 100644 index 00000000..a83c3add --- /dev/null +++ b/tests/data/processed/features/event/eve_ios/phone_battery.csv @@ -0,0 +1,4 @@ +"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_battery_rapids_sumdurationcharge","phone_battery_rapids_countcharge","phone_battery_rapids_countdischarge","phone_battery_rapids_sumdurationdischarge","phone_battery_rapids_avgconsumptionrate","phone_battery_rapids_maxconsumptionrate" +"survey1#2020-04-23 03:00:20,2020-04-23 13:00:20","survey1","2020-04-23 03:00:20","2020-04-23 13:00:20",0,0,2,87.9985333333333,0.0331202101231602,0.0384621794978634 +"survey2#2020-04-23 08:00:20,2020-04-23 18:00:20","survey2","2020-04-23 08:00:20","2020-04-23 18:00:20",0,0,1,41.6659833333333,0.0480007872129103,0.0480007872129103 +"survey3#2020-04-23 13:00:20,2020-04-23 23:00:20","survey3","2020-04-23 13:00:20","2020-04-23 23:00:20",0,0,1,10.3498,0.0966202245454018,0.0966202245454018 diff --git a/tests/data/processed/features/frequency/test05/phone_applications_foreground.csv b/tests/data/processed/features/frequency/fre_and/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_applications_foreground.csv rename to tests/data/processed/features/frequency/fre_and/phone_applications_foreground.csv diff --git a/tests/data/processed/features/frequency/test05/phone_battery.csv b/tests/data/processed/features/frequency/fre_and/phone_battery.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_battery.csv rename to tests/data/processed/features/frequency/fre_and/phone_battery.csv diff --git a/tests/data/processed/features/frequency/test05/phone_bluetooth.csv b/tests/data/processed/features/frequency/fre_and/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_bluetooth.csv rename to tests/data/processed/features/frequency/fre_and/phone_bluetooth.csv diff --git a/tests/data/processed/features/frequency/test05/phone_calls.csv b/tests/data/processed/features/frequency/fre_and/phone_calls.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_calls.csv rename to tests/data/processed/features/frequency/fre_and/phone_calls.csv diff --git a/tests/data/processed/features/frequency/test05/phone_conversation.csv b/tests/data/processed/features/frequency/fre_and/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_conversation.csv rename to tests/data/processed/features/frequency/fre_and/phone_conversation.csv diff --git a/tests/data/processed/features/frequency/test05/phone_light.csv b/tests/data/processed/features/frequency/fre_and/phone_light.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_light.csv rename to tests/data/processed/features/frequency/fre_and/phone_light.csv diff --git a/tests/data/processed/features/frequency/test05/phone_messages.csv b/tests/data/processed/features/frequency/fre_and/phone_messages.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_messages.csv rename to tests/data/processed/features/frequency/fre_and/phone_messages.csv diff --git a/tests/data/processed/features/frequency/test05/phone_wifi_connected.csv b/tests/data/processed/features/frequency/fre_and/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_wifi_connected.csv rename to tests/data/processed/features/frequency/fre_and/phone_wifi_connected.csv diff --git a/tests/data/processed/features/frequency/test05/phone_wifi_visible.csv b/tests/data/processed/features/frequency/fre_and/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/frequency/test05/phone_wifi_visible.csv rename to tests/data/processed/features/frequency/fre_and/phone_wifi_visible.csv diff --git a/tests/data/processed/features/frequency/test03/phone_applications_foreground.csv b/tests/data/processed/features/frequency/fre_emp/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_applications_foreground.csv rename to tests/data/processed/features/frequency/fre_emp/phone_applications_foreground.csv diff --git a/tests/data/processed/features/frequency/test03/phone_battery.csv b/tests/data/processed/features/frequency/fre_emp/phone_battery.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_battery.csv rename to tests/data/processed/features/frequency/fre_emp/phone_battery.csv diff --git a/tests/data/processed/features/frequency/test03/phone_bluetooth.csv b/tests/data/processed/features/frequency/fre_emp/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_bluetooth.csv rename to tests/data/processed/features/frequency/fre_emp/phone_bluetooth.csv diff --git a/tests/data/processed/features/frequency/test03/phone_calls.csv b/tests/data/processed/features/frequency/fre_emp/phone_calls.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_calls.csv rename to tests/data/processed/features/frequency/fre_emp/phone_calls.csv diff --git a/tests/data/processed/features/frequency/test03/phone_conversation.csv b/tests/data/processed/features/frequency/fre_emp/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_conversation.csv rename to tests/data/processed/features/frequency/fre_emp/phone_conversation.csv diff --git a/tests/data/processed/features/frequency/test03/phone_light.csv b/tests/data/processed/features/frequency/fre_emp/phone_light.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_light.csv rename to tests/data/processed/features/frequency/fre_emp/phone_light.csv diff --git a/tests/data/processed/features/frequency/test03/phone_messages.csv b/tests/data/processed/features/frequency/fre_emp/phone_messages.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_messages.csv rename to tests/data/processed/features/frequency/fre_emp/phone_messages.csv diff --git a/tests/data/processed/features/frequency/test03/phone_wifi_connected.csv b/tests/data/processed/features/frequency/fre_emp/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_wifi_connected.csv rename to tests/data/processed/features/frequency/fre_emp/phone_wifi_connected.csv diff --git a/tests/data/processed/features/frequency/test03/phone_wifi_visible.csv b/tests/data/processed/features/frequency/fre_emp/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/frequency/test03/phone_wifi_visible.csv rename to tests/data/processed/features/frequency/fre_emp/phone_wifi_visible.csv diff --git a/tests/data/processed/features/frequency/test04/phone_applications_foreground.csv b/tests/data/processed/features/frequency/fre_ios/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_applications_foreground.csv rename to tests/data/processed/features/frequency/fre_ios/phone_applications_foreground.csv diff --git a/tests/data/processed/features/frequency/test06/phone_battery.csv b/tests/data/processed/features/frequency/fre_ios/phone_battery.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_battery.csv rename to tests/data/processed/features/frequency/fre_ios/phone_battery.csv diff --git a/tests/data/processed/features/frequency/test06/phone_bluetooth.csv b/tests/data/processed/features/frequency/fre_ios/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_bluetooth.csv rename to tests/data/processed/features/frequency/fre_ios/phone_bluetooth.csv diff --git a/tests/data/processed/features/frequency/test06/phone_calls.csv b/tests/data/processed/features/frequency/fre_ios/phone_calls.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_calls.csv rename to tests/data/processed/features/frequency/fre_ios/phone_calls.csv diff --git a/tests/data/processed/features/frequency/test06/phone_conversation.csv b/tests/data/processed/features/frequency/fre_ios/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_conversation.csv rename to tests/data/processed/features/frequency/fre_ios/phone_conversation.csv diff --git a/tests/data/processed/features/frequency/test04/phone_light.csv b/tests/data/processed/features/frequency/fre_ios/phone_light.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_light.csv rename to tests/data/processed/features/frequency/fre_ios/phone_light.csv diff --git a/tests/data/processed/features/frequency/test04/phone_messages.csv b/tests/data/processed/features/frequency/fre_ios/phone_messages.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_messages.csv rename to tests/data/processed/features/frequency/fre_ios/phone_messages.csv diff --git a/tests/data/processed/features/frequency/test06/phone_wifi_connected.csv b/tests/data/processed/features/frequency/fre_ios/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_wifi_connected.csv rename to tests/data/processed/features/frequency/fre_ios/phone_wifi_connected.csv diff --git a/tests/data/processed/features/frequency/test04/phone_wifi_visible.csv b/tests/data/processed/features/frequency/fre_ios/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_wifi_visible.csv rename to tests/data/processed/features/frequency/fre_ios/phone_wifi_visible.csv diff --git a/tests/data/processed/features/frequency/test04/phone_battery.csv b/tests/data/processed/features/frequency/test04/phone_battery.csv deleted file mode 100644 index a36c3597..00000000 --- a/tests/data/processed/features/frequency/test04/phone_battery.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_battery_rapids_countcharge","phone_battery_rapids_avgconsumptionrate","phone_battery_rapids_maxconsumptionrate","phone_battery_rapids_sumdurationcharge","phone_battery_rapids_sumdurationdischarge","phone_battery_rapids_countdischarge" diff --git a/tests/data/processed/features/frequency/test06/phone_applications_foreground.csv b/tests/data/processed/features/frequency/test06/phone_applications_foreground.csv deleted file mode 100644 index c2f63594..00000000 --- a/tests/data/processed/features/frequency/test06/phone_applications_foreground.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","apps_rapids_countemail","apps_rapids_countall","apps_rapids_countentertainment","apps_rapids_countsocial","apps_rapids_counttop1global","apps_rapids_countcom.facebook.moments","apps_rapids_timeoffirstuseemail","apps_rapids_timeoffirstuseall","apps_rapids_timeoffirstuseentertainment","apps_rapids_timeoffirstusesocial","apps_rapids_timeoffirstusetop1global","apps_rapids_timeoffirstusecom.facebook.moments","apps_rapids_timeoflastuseemail","apps_rapids_timeoflastuseall","apps_rapids_timeoflastuseentertainment","apps_rapids_timeoflastusesocial","apps_rapids_timeoflastusetop1global","apps_rapids_timeoflastusecom.facebook.moments","apps_rapids_frequencyentropyemail","apps_rapids_frequencyentropyall","apps_rapids_frequencyentropyentertainment","apps_rapids_frequencyentropysocial","apps_rapids_frequencyentropytop1global","apps_rapids_frequencyentropycom.facebook.moments" diff --git a/tests/data/processed/features/periodic/test01/phone_applications_foreground.csv b/tests/data/processed/features/periodic/per_and/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_applications_foreground.csv rename to tests/data/processed/features/periodic/per_and/phone_applications_foreground.csv diff --git a/tests/data/processed/features/periodic/test01/phone_battery.csv b/tests/data/processed/features/periodic/per_and/phone_battery.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_battery.csv rename to tests/data/processed/features/periodic/per_and/phone_battery.csv diff --git a/tests/data/processed/features/periodic/test01/phone_bluetooth.csv b/tests/data/processed/features/periodic/per_and/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_bluetooth.csv rename to tests/data/processed/features/periodic/per_and/phone_bluetooth.csv diff --git a/tests/data/processed/features/periodic/test01/phone_calls.csv b/tests/data/processed/features/periodic/per_and/phone_calls.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_calls.csv rename to tests/data/processed/features/periodic/per_and/phone_calls.csv diff --git a/tests/data/processed/features/periodic/test01/phone_conversation.csv b/tests/data/processed/features/periodic/per_and/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_conversation.csv rename to tests/data/processed/features/periodic/per_and/phone_conversation.csv diff --git a/tests/data/processed/features/periodic/test01/phone_light.csv b/tests/data/processed/features/periodic/per_and/phone_light.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_light.csv rename to tests/data/processed/features/periodic/per_and/phone_light.csv diff --git a/tests/data/processed/features/periodic/test01/phone_messages.csv b/tests/data/processed/features/periodic/per_and/phone_messages.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_messages.csv rename to tests/data/processed/features/periodic/per_and/phone_messages.csv diff --git a/tests/data/processed/features/periodic/test01/phone_screen.csv b/tests/data/processed/features/periodic/per_and/phone_screen.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_screen.csv rename to tests/data/processed/features/periodic/per_and/phone_screen.csv diff --git a/tests/data/processed/features/periodic/test01/phone_wifi_connected.csv b/tests/data/processed/features/periodic/per_and/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_wifi_connected.csv rename to tests/data/processed/features/periodic/per_and/phone_wifi_connected.csv diff --git a/tests/data/processed/features/periodic/test01/phone_wifi_visible.csv b/tests/data/processed/features/periodic/per_and/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/periodic/test01/phone_wifi_visible.csv rename to tests/data/processed/features/periodic/per_and/phone_wifi_visible.csv diff --git a/tests/data/processed/features/periodic/test02/phone_applications_foreground.csv b/tests/data/processed/features/periodic/per_emp/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_applications_foreground.csv rename to tests/data/processed/features/periodic/per_emp/phone_applications_foreground.csv diff --git a/tests/data/processed/features/periodic/test03/phone_battery.csv b/tests/data/processed/features/periodic/per_emp/phone_battery.csv similarity index 100% rename from tests/data/processed/features/periodic/test03/phone_battery.csv rename to tests/data/processed/features/periodic/per_emp/phone_battery.csv diff --git a/tests/data/processed/features/frequency/test04/phone_bluetooth.csv b/tests/data/processed/features/periodic/per_emp/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_bluetooth.csv rename to tests/data/processed/features/periodic/per_emp/phone_bluetooth.csv diff --git a/tests/data/processed/features/frequency/test04/phone_calls.csv b/tests/data/processed/features/periodic/per_emp/phone_calls.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_calls.csv rename to tests/data/processed/features/periodic/per_emp/phone_calls.csv diff --git a/tests/data/processed/features/frequency/test04/phone_conversation.csv b/tests/data/processed/features/periodic/per_emp/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_conversation.csv rename to tests/data/processed/features/periodic/per_emp/phone_conversation.csv diff --git a/tests/data/processed/features/frequency/test06/phone_light.csv b/tests/data/processed/features/periodic/per_emp/phone_light.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_light.csv rename to tests/data/processed/features/periodic/per_emp/phone_light.csv diff --git a/tests/data/processed/features/frequency/test06/phone_messages.csv b/tests/data/processed/features/periodic/per_emp/phone_messages.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_messages.csv rename to tests/data/processed/features/periodic/per_emp/phone_messages.csv diff --git a/tests/data/processed/features/periodic/test03/phone_screen.csv b/tests/data/processed/features/periodic/per_emp/phone_screen.csv similarity index 100% rename from tests/data/processed/features/periodic/test03/phone_screen.csv rename to tests/data/processed/features/periodic/per_emp/phone_screen.csv diff --git a/tests/data/processed/features/frequency/test04/phone_wifi_connected.csv b/tests/data/processed/features/periodic/per_emp/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/frequency/test04/phone_wifi_connected.csv rename to tests/data/processed/features/periodic/per_emp/phone_wifi_connected.csv diff --git a/tests/data/processed/features/frequency/test06/phone_wifi_visible.csv b/tests/data/processed/features/periodic/per_emp/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/frequency/test06/phone_wifi_visible.csv rename to tests/data/processed/features/periodic/per_emp/phone_wifi_visible.csv diff --git a/tests/data/processed/features/periodic/test03/phone_applications_foreground.csv b/tests/data/processed/features/periodic/per_ios/phone_applications_foreground.csv similarity index 100% rename from tests/data/processed/features/periodic/test03/phone_applications_foreground.csv rename to tests/data/processed/features/periodic/per_ios/phone_applications_foreground.csv diff --git a/tests/data/processed/features/periodic/test02/phone_battery.csv b/tests/data/processed/features/periodic/per_ios/phone_battery.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_battery.csv rename to tests/data/processed/features/periodic/per_ios/phone_battery.csv diff --git a/tests/data/processed/features/periodic/test02/phone_bluetooth.csv b/tests/data/processed/features/periodic/per_ios/phone_bluetooth.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_bluetooth.csv rename to tests/data/processed/features/periodic/per_ios/phone_bluetooth.csv diff --git a/tests/data/processed/features/periodic/test02/phone_calls.csv b/tests/data/processed/features/periodic/per_ios/phone_calls.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_calls.csv rename to tests/data/processed/features/periodic/per_ios/phone_calls.csv diff --git a/tests/data/processed/features/periodic/test02/phone_conversation.csv b/tests/data/processed/features/periodic/per_ios/phone_conversation.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_conversation.csv rename to tests/data/processed/features/periodic/per_ios/phone_conversation.csv diff --git a/tests/data/processed/features/periodic/test02/phone_light.csv b/tests/data/processed/features/periodic/per_ios/phone_light.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_light.csv rename to tests/data/processed/features/periodic/per_ios/phone_light.csv diff --git a/tests/data/processed/features/periodic/test02/phone_messages.csv b/tests/data/processed/features/periodic/per_ios/phone_messages.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_messages.csv rename to tests/data/processed/features/periodic/per_ios/phone_messages.csv diff --git a/tests/data/processed/features/periodic/test02/phone_screen.csv b/tests/data/processed/features/periodic/per_ios/phone_screen.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_screen.csv rename to tests/data/processed/features/periodic/per_ios/phone_screen.csv diff --git a/tests/data/processed/features/periodic/test02/phone_wifi_connected.csv b/tests/data/processed/features/periodic/per_ios/phone_wifi_connected.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_wifi_connected.csv rename to tests/data/processed/features/periodic/per_ios/phone_wifi_connected.csv diff --git a/tests/data/processed/features/periodic/test02/phone_wifi_visible.csv b/tests/data/processed/features/periodic/per_ios/phone_wifi_visible.csv similarity index 100% rename from tests/data/processed/features/periodic/test02/phone_wifi_visible.csv rename to tests/data/processed/features/periodic/per_ios/phone_wifi_visible.csv diff --git a/tests/data/processed/features/periodic/test03/phone_bluetooth.csv b/tests/data/processed/features/periodic/test03/phone_bluetooth.csv deleted file mode 100644 index 3f1d551d..00000000 --- a/tests/data/processed/features/periodic/test03/phone_bluetooth.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_bluetooth_rapids_countscans","phone_bluetooth_rapids_uniquedevices","phone_bluetooth_rapids_countscansmostuniquedevice" diff --git a/tests/data/processed/features/periodic/test03/phone_calls.csv b/tests/data/processed/features/periodic/test03/phone_calls.csv deleted file mode 100644 index 90a410a3..00000000 --- a/tests/data/processed/features/periodic/test03/phone_calls.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_calls_rapids_missed_count","phone_calls_rapids_missed_distinctcontacts","phone_calls_rapids_missed_timefirstcall","phone_calls_rapids_missed_timelastcall","phone_calls_rapids_missed_countmostfrequentcontact","phone_calls_rapids_incoming_count","phone_calls_rapids_incoming_distinctcontacts","phone_calls_rapids_incoming_meanduration","phone_calls_rapids_incoming_sumduration","phone_calls_rapids_incoming_minduration","phone_calls_rapids_incoming_maxduration","phone_calls_rapids_incoming_stdduration","phone_calls_rapids_incoming_modeduration","phone_calls_rapids_incoming_entropyduration","phone_calls_rapids_incoming_timefirstcall","phone_calls_rapids_incoming_timelastcall","phone_calls_rapids_incoming_countmostfrequentcontact","phone_calls_rapids_outgoing_count","phone_calls_rapids_outgoing_distinctcontacts","phone_calls_rapids_outgoing_meanduration","phone_calls_rapids_outgoing_sumduration","phone_calls_rapids_outgoing_minduration","phone_calls_rapids_outgoing_maxduration","phone_calls_rapids_outgoing_stdduration","phone_calls_rapids_outgoing_modeduration","phone_calls_rapids_outgoing_entropyduration","phone_calls_rapids_outgoing_timefirstcall","phone_calls_rapids_outgoing_timelastcall","phone_calls_rapids_outgoing_countmostfrequentcontact" diff --git a/tests/data/processed/features/periodic/test03/phone_conversation.csv b/tests/data/processed/features/periodic/test03/phone_conversation.csv deleted file mode 100644 index 5336b90b..00000000 --- a/tests/data/processed/features/periodic/test03/phone_conversation.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_conversation_rapids_minutessilence","phone_conversation_rapids_minutesnoise","phone_conversation_rapids_minutesvoice","phone_conversation_rapids_minutesunknown","phone_conversation_rapids_countconversation","phone_conversation_rapids_silencesensedfraction","phone_conversation_rapids_noisesensedfraction","phone_conversation_rapids_voicesensedfraction","phone_conversation_rapids_unknownsensedfraction","phone_conversation_rapids_silenceexpectedfraction","phone_conversation_rapids_noiseexpectedfraction","phone_conversation_rapids_voiceexpectedfraction","phone_conversation_rapids_unknownexpectedfraction","phone_conversation_rapids_sumconversationduration","phone_conversation_rapids_avgconversationduration","phone_conversation_rapids_sdconversationduration","phone_conversation_rapids_minconversationduration","phone_conversation_rapids_maxconversationduration","phone_conversation_rapids_timefirstconversation","phone_conversation_rapids_timelastconversation","phone_conversation_rapids_noisesumenergy","phone_conversation_rapids_noiseavgenergy","phone_conversation_rapids_noisesdenergy","phone_conversation_rapids_noiseminenergy","phone_conversation_rapids_noisemaxenergy","phone_conversation_rapids_voicesumenergy","phone_conversation_rapids_voiceavgenergy","phone_conversation_rapids_voicesdenergy","phone_conversation_rapids_voiceminenergy","phone_conversation_rapids_voicemaxenergy" diff --git a/tests/data/processed/features/periodic/test03/phone_light.csv b/tests/data/processed/features/periodic/test03/phone_light.csv deleted file mode 100644 index c51d1c36..00000000 --- a/tests/data/processed/features/periodic/test03/phone_light.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_light_rapids_count","phone_light_rapids_maxlux","phone_light_rapids_minlux","phone_light_rapids_avglux","phone_light_rapids_medianlux","phone_light_rapids_stdlux" diff --git a/tests/data/processed/features/periodic/test03/phone_messages.csv b/tests/data/processed/features/periodic/test03/phone_messages.csv deleted file mode 100644 index a4a7b99f..00000000 --- a/tests/data/processed/features/periodic/test03/phone_messages.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_messages_rapids_received_countmostfrequentcontact","phone_messages_rapids_received_count","phone_messages_rapids_received_distinctcontacts","phone_messages_rapids_received_timefirstmessage","phone_messages_rapids_received_timelastmessage","phone_messages_rapids_sent_countmostfrequentcontact","phone_messages_rapids_sent_count","phone_messages_rapids_sent_distinctcontacts","phone_messages_rapids_sent_timefirstmessage","phone_messages_rapids_sent_timelastmessage" diff --git a/tests/data/processed/features/periodic/test03/phone_wifi_connected.csv b/tests/data/processed/features/periodic/test03/phone_wifi_connected.csv deleted file mode 100644 index 3a2b1e31..00000000 --- a/tests/data/processed/features/periodic/test03/phone_wifi_connected.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_wifi_connected_rapids_countscans","phone_wifi_connected_rapids_uniquedevices","phone_wifi_connected_rapids_countscansmostuniquedevice" diff --git a/tests/data/processed/features/periodic/test03/phone_wifi_visible.csv b/tests/data/processed/features/periodic/test03/phone_wifi_visible.csv deleted file mode 100644 index 2c011fe3..00000000 --- a/tests/data/processed/features/periodic/test03/phone_wifi_visible.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_wifi_visible_rapids_countscans","phone_wifi_visible_rapids_uniquedevices","phone_wifi_visible_rapids_countscansmostuniquedevice" diff --git a/tests/data/processed/features/periodic/test04/phone_applications_foreground.csv b/tests/data/processed/features/periodic/test04/phone_applications_foreground.csv deleted file mode 100644 index 4f9c1881..00000000 --- a/tests/data/processed/features/periodic/test04/phone_applications_foreground.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","apps_rapids_timeoffirstuseall","apps_rapids_timeoflastuseall","apps_rapids_frequencyentropyall","apps_rapids_countall","apps_rapids_timeoffirstuseemail","apps_rapids_timeoflastuseemail","apps_rapids_frequencyentropyemail","apps_rapids_countemail","apps_rapids_timeoffirstuseentertainment","apps_rapids_timeoflastuseentertainment","apps_rapids_frequencyentropyentertainment","apps_rapids_countentertainment","apps_rapids_timeoffirstusesocial","apps_rapids_timeoflastusesocial","apps_rapids_frequencyentropysocial","apps_rapids_countsocial","apps_rapids_timeoffirstusetop1global","apps_rapids_timeoflastusetop1global","apps_rapids_frequencyentropytop1global","apps_rapids_counttop1global","apps_rapids_timeoffirstusecom.facebook.moments","apps_rapids_timeoflastusecom.facebook.moments","apps_rapids_frequencyentropycom.facebook.moments","apps_rapids_countcom.facebook.moments" \ No newline at end of file diff --git a/tests/data/processed/features/periodic/test04/phone_battery.csv b/tests/data/processed/features/periodic/test04/phone_battery.csv deleted file mode 100644 index ab0a108c..00000000 --- a/tests/data/processed/features/periodic/test04/phone_battery.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_battery_rapids_sumdurationcharge","phone_battery_rapids_avgconsumptionrate","phone_battery_rapids_sumdurationdischarge","phone_battery_rapids_maxconsumptionrate","phone_battery_rapids_countcharge","phone_battery_rapids_countdischarge" diff --git a/tests/data/processed/features/periodic/test04/phone_bluetooth.csv b/tests/data/processed/features/periodic/test04/phone_bluetooth.csv deleted file mode 100644 index 3f1d551d..00000000 --- a/tests/data/processed/features/periodic/test04/phone_bluetooth.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_bluetooth_rapids_countscans","phone_bluetooth_rapids_uniquedevices","phone_bluetooth_rapids_countscansmostuniquedevice" diff --git a/tests/data/processed/features/periodic/test04/phone_calls.csv b/tests/data/processed/features/periodic/test04/phone_calls.csv deleted file mode 100644 index 90a410a3..00000000 --- a/tests/data/processed/features/periodic/test04/phone_calls.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_calls_rapids_missed_count","phone_calls_rapids_missed_distinctcontacts","phone_calls_rapids_missed_timefirstcall","phone_calls_rapids_missed_timelastcall","phone_calls_rapids_missed_countmostfrequentcontact","phone_calls_rapids_incoming_count","phone_calls_rapids_incoming_distinctcontacts","phone_calls_rapids_incoming_meanduration","phone_calls_rapids_incoming_sumduration","phone_calls_rapids_incoming_minduration","phone_calls_rapids_incoming_maxduration","phone_calls_rapids_incoming_stdduration","phone_calls_rapids_incoming_modeduration","phone_calls_rapids_incoming_entropyduration","phone_calls_rapids_incoming_timefirstcall","phone_calls_rapids_incoming_timelastcall","phone_calls_rapids_incoming_countmostfrequentcontact","phone_calls_rapids_outgoing_count","phone_calls_rapids_outgoing_distinctcontacts","phone_calls_rapids_outgoing_meanduration","phone_calls_rapids_outgoing_sumduration","phone_calls_rapids_outgoing_minduration","phone_calls_rapids_outgoing_maxduration","phone_calls_rapids_outgoing_stdduration","phone_calls_rapids_outgoing_modeduration","phone_calls_rapids_outgoing_entropyduration","phone_calls_rapids_outgoing_timefirstcall","phone_calls_rapids_outgoing_timelastcall","phone_calls_rapids_outgoing_countmostfrequentcontact" diff --git a/tests/data/processed/features/periodic/test04/phone_conversation.csv b/tests/data/processed/features/periodic/test04/phone_conversation.csv deleted file mode 100644 index 5336b90b..00000000 --- a/tests/data/processed/features/periodic/test04/phone_conversation.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_conversation_rapids_minutessilence","phone_conversation_rapids_minutesnoise","phone_conversation_rapids_minutesvoice","phone_conversation_rapids_minutesunknown","phone_conversation_rapids_countconversation","phone_conversation_rapids_silencesensedfraction","phone_conversation_rapids_noisesensedfraction","phone_conversation_rapids_voicesensedfraction","phone_conversation_rapids_unknownsensedfraction","phone_conversation_rapids_silenceexpectedfraction","phone_conversation_rapids_noiseexpectedfraction","phone_conversation_rapids_voiceexpectedfraction","phone_conversation_rapids_unknownexpectedfraction","phone_conversation_rapids_sumconversationduration","phone_conversation_rapids_avgconversationduration","phone_conversation_rapids_sdconversationduration","phone_conversation_rapids_minconversationduration","phone_conversation_rapids_maxconversationduration","phone_conversation_rapids_timefirstconversation","phone_conversation_rapids_timelastconversation","phone_conversation_rapids_noisesumenergy","phone_conversation_rapids_noiseavgenergy","phone_conversation_rapids_noisesdenergy","phone_conversation_rapids_noiseminenergy","phone_conversation_rapids_noisemaxenergy","phone_conversation_rapids_voicesumenergy","phone_conversation_rapids_voiceavgenergy","phone_conversation_rapids_voicesdenergy","phone_conversation_rapids_voiceminenergy","phone_conversation_rapids_voicemaxenergy" diff --git a/tests/data/processed/features/periodic/test04/phone_light.csv b/tests/data/processed/features/periodic/test04/phone_light.csv deleted file mode 100644 index c51d1c36..00000000 --- a/tests/data/processed/features/periodic/test04/phone_light.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_light_rapids_count","phone_light_rapids_maxlux","phone_light_rapids_minlux","phone_light_rapids_avglux","phone_light_rapids_medianlux","phone_light_rapids_stdlux" diff --git a/tests/data/processed/features/periodic/test04/phone_messages.csv b/tests/data/processed/features/periodic/test04/phone_messages.csv deleted file mode 100644 index a4a7b99f..00000000 --- a/tests/data/processed/features/periodic/test04/phone_messages.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_messages_rapids_received_countmostfrequentcontact","phone_messages_rapids_received_count","phone_messages_rapids_received_distinctcontacts","phone_messages_rapids_received_timefirstmessage","phone_messages_rapids_received_timelastmessage","phone_messages_rapids_sent_countmostfrequentcontact","phone_messages_rapids_sent_count","phone_messages_rapids_sent_distinctcontacts","phone_messages_rapids_sent_timefirstmessage","phone_messages_rapids_sent_timelastmessage" diff --git a/tests/data/processed/features/periodic/test04/phone_screen.csv b/tests/data/processed/features/periodic/test04/phone_screen.csv deleted file mode 100644 index e85af7fb..00000000 --- a/tests/data/processed/features/periodic/test04/phone_screen.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_screen_rapids_sumdurationunlock","phone_screen_rapids_firstuseafter00unlock","phone_screen_rapids_countepisodeunlock","phone_screen_rapids_maxdurationunlock","phone_screen_rapids_avgdurationunlock","phone_screen_rapids_mindurationunlock","phone_screen_rapids_stddurationunlock" diff --git a/tests/data/processed/features/periodic/test04/phone_wifi_connected.csv b/tests/data/processed/features/periodic/test04/phone_wifi_connected.csv deleted file mode 100644 index 3a2b1e31..00000000 --- a/tests/data/processed/features/periodic/test04/phone_wifi_connected.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_wifi_connected_rapids_countscans","phone_wifi_connected_rapids_uniquedevices","phone_wifi_connected_rapids_countscansmostuniquedevice" diff --git a/tests/data/processed/features/periodic/test04/phone_wifi_visible.csv b/tests/data/processed/features/periodic/test04/phone_wifi_visible.csv deleted file mode 100644 index 2c011fe3..00000000 --- a/tests/data/processed/features/periodic/test04/phone_wifi_visible.csv +++ /dev/null @@ -1 +0,0 @@ -"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","phone_wifi_visible_rapids_countscans","phone_wifi_visible_rapids_uniquedevices","phone_wifi_visible_rapids_countscansmostuniquedevice" diff --git a/tests/settings/event_config.yaml b/tests/settings/event_config.yaml index 73350164..dd705b57 100644 --- a/tests/settings/event_config.yaml +++ b/tests/settings/event_config.yaml @@ -3,7 +3,7 @@ ######################################################################################################################## # See https://www.rapids.science/latest/setup/configuration/#participant-files -PIDS: [test07] +PIDS: [eve_and, eve_ios, eve_emp] # See https://www.rapids.science/latest/setup/configuration/#automatic-creation-of-participant-files CREATE_PARTICIPANT_FILES: diff --git a/tests/settings/frequency_config.yaml b/tests/settings/frequency_config.yaml index b870a976..1bde85e4 100644 --- a/tests/settings/frequency_config.yaml +++ b/tests/settings/frequency_config.yaml @@ -3,7 +3,7 @@ ######################################################################################################################## # See https://www.rapids.science/latest/setup/configuration/#participant-files -PIDS: [test03, test04] +PIDS: [fre_and, fre_ios, fre_emp] # See https://www.rapids.science/latest/setup/configuration/#automatic-creation-of-participant-files CREATE_PARTICIPANT_FILES: @@ -140,7 +140,7 @@ PHONE_BATTERY: EPISODE_THRESHOLD_BETWEEN_ROWS: 30 # minutes. Max time difference for two consecutive rows to be considered within the same battery episode. PROVIDERS: RAPIDS: - COMPUTE: False + COMPUTE: TRUE FEATURES: ["countdischarge", "sumdurationdischarge", "countcharge", "sumdurationcharge", "avgconsumptionrate", "maxconsumptionrate"] SRC_SCRIPT: src/features/phone_battery/rapids/main.py @@ -149,7 +149,7 @@ PHONE_BLUETOOTH: CONTAINER: phone_bluetooth_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_bluetooth/rapids/main.R @@ -175,7 +175,7 @@ PHONE_CALLS: CONTAINER: phone_calls_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE CALL_TYPES: [missed, incoming, outgoing] FEATURES: missed: [count, distinctcontacts, timefirstcall, timelastcall, countmostfrequentcontact] @@ -190,7 +190,7 @@ PHONE_CONVERSATION: IOS: phone_conversation_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["minutessilence", "minutesnoise", "minutesvoice", "minutesunknown","sumconversationduration","avgconversationduration", "sdconversationduration","minconversationduration","maxconversationduration","timefirstconversation","timelastconversation","noisesumenergy", "noiseavgenergy","noisesdenergy","noiseminenergy","noisemaxenergy","voicesumenergy", @@ -221,7 +221,7 @@ PHONE_LIGHT: CONTAINER: phone_light_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["count", "maxlux", "minlux", "avglux", "medianlux", "stdlux"] SRC_SCRIPT: src/features/phone_light/rapids/main.py @@ -273,7 +273,7 @@ PHONE_MESSAGES: CONTAINER: phone_messages_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE MESSAGES_TYPES : [received, sent] FEATURES: received: [count, distinctcontacts, timefirstmessage, timelastmessage, countmostfrequentcontact] @@ -298,7 +298,7 @@ PHONE_WIFI_CONNECTED: CONTAINER: phone_wifi_connected_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_wifi_connected/rapids/main.R @@ -307,7 +307,7 @@ PHONE_WIFI_VISIBLE: CONTAINER: phone_wifi_visible_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_wifi_visible/rapids/main.R diff --git a/tests/settings/periodic_config.yaml b/tests/settings/periodic_config.yaml index cb330a37..4d486348 100644 --- a/tests/settings/periodic_config.yaml +++ b/tests/settings/periodic_config.yaml @@ -3,7 +3,7 @@ ######################################################################################################################## # See https://www.rapids.science/latest/setup/configuration/#participant-files -PIDS: [test01, test03, test04] +PIDS: [per_and, per_emp, per_ios] # See https://www.rapids.science/latest/setup/configuration/#automatic-creation-of-participant-files CREATE_PARTICIPANT_FILES: @@ -149,7 +149,7 @@ PHONE_BLUETOOTH: CONTAINER: phone_bluetooth_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_bluetooth/rapids/main.R @@ -190,7 +190,7 @@ PHONE_CONVERSATION: IOS: phone_conversation_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["minutessilence", "minutesnoise", "minutesvoice", "minutesunknown","sumconversationduration","avgconversationduration", "sdconversationduration","minconversationduration","maxconversationduration","timefirstconversation","timelastconversation","noisesumenergy", "noiseavgenergy","noisesdenergy","noiseminenergy","noisemaxenergy","voicesumenergy", @@ -221,7 +221,7 @@ PHONE_LIGHT: CONTAINER: phone_light_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["count", "maxlux", "minlux", "avglux", "medianlux", "stdlux"] SRC_SCRIPT: src/features/phone_light/rapids/main.py @@ -273,7 +273,7 @@ PHONE_MESSAGES: CONTAINER: phone_messages_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE MESSAGES_TYPES : [received, sent] FEATURES: received: [count, distinctcontacts, timefirstmessage, timelastmessage, countmostfrequentcontact] @@ -298,7 +298,7 @@ PHONE_WIFI_CONNECTED: CONTAINER: phone_wifi_connected_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_wifi_connected/rapids/main.R @@ -307,7 +307,7 @@ PHONE_WIFI_VISIBLE: CONTAINER: phone_wifi_visible_raw.csv PROVIDERS: RAPIDS: - COMPUTE: True + COMPUTE: FALSE FEATURES: ["countscans", "uniquedevices", "countscansmostuniquedevice"] SRC_SCRIPT: src/features/phone_wifi_visible/rapids/main.R