Migrate phone apps crashes sensor to new data stream

pull/128/head
Meng Li 2021-03-10 15:29:53 -05:00 committed by JulioV
parent 47e1b33816
commit b49dab0949
4 changed files with 69 additions and 0 deletions

View File

@ -112,6 +112,33 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted based on the `MUT
- if stream's `confidence` field is 2, set `CONFIDENCE` = 100 - if stream's `confidence` field is 2, set `CONFIDENCE` = 100
??? info "PHONE_APPLICATIONS_CRASHES"
=== "ANDROID"
**RAPIDS_COLUMN_MAPPINGS**
| RAPIDS column | Stream column |
|--------------------|--------------------|
| TIMESTAMP | timestamp |
| DEVICE_ID | device_id |
| PACKAGE_NAME | package_name |
| APPLICATION_NAME | application_name |
| APPLICATION_VERSION| application_version|
| ERROR_SHORT | error_short |
| ERROR_LONG | error_long |
| ERROR_CONDITION | error_condition |
| IS_SYSTEM_APP | is_system_app |
**MUTATION**
- **COLUMN_MAPPINGS** (None)
- **SCRIPTS** (None)
=== "IOS"
This sensor is not supported by iOS devices.
??? info "PHONE_APPLICATIONS_FOREGROUND" ??? info "PHONE_APPLICATIONS_FOREGROUND"

View File

@ -24,6 +24,21 @@ This is a description of the format RAPIDS needs to process data for the followi
| CONFIDENCE | An integer (ranged from 0 to 100) that denotes the prediction accuracy | | CONFIDENCE | An integer (ranged from 0 to 100) that denotes the prediction accuracy |
??? info "PHONE_APPLICATIONS_CRASHES"
| RAPIDS column | Description |
|--------------------|---------------------------------------------------------------------------|
| TIMESTAMP | An UNIX timestamp (13 digits) when a row of data was logged |
| DEVICE_ID | A string that uniquely identifies a device |
| PACKAGE_NAME | Applications package name |
| APPLICATION_NAME | Applications localized name |
| APPLICATION_VERSION| Applications version code |
| ERROR_SHORT | Short description of the error |
| ERROR_LONG | More verbose version of the error description |
| ERROR_CONDITION | 1 = code error; 2 = non-responsive (ANR error) |
| IS_SYSTEM_APP | Devices pre-installed application |
??? info "PHONE_APPLICATIONS_FOREGROUND" ??? info "PHONE_APPLICATIONS_FOREGROUND"
| RAPIDS column | Description | | RAPIDS column | Description |

View File

@ -45,6 +45,22 @@ PHONE_ACTIVITY_RECOGNITION:
SCRIPTS: # List any python or r scripts that mutate your raw data SCRIPTS: # List any python or r scripts that mutate your raw data
- "src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R" - "src/data/streams/mutations/phone/aware/activity_recogniton_ios_unification.R"
PHONE_APPLICATIONS_CRASHES:
ANDROID:
RAPIDS_COLUMN_MAPPINGS:
TIMESTAMP: timestamp
DEVICE_ID: device_id
PACKAGE_NAME: package_name
APPLICATION_NAME: application_name
APPLICATION_VERSION: application_version
ERROR_SHORT: error_short
ERROR_LONG: error_long
ERROR_CONDITION: error_condition
IS_SYSTEM_APP: is_system_app
MUTATION:
COLUMN_MAPPINGS:
SCRIPTS: # List any python or r scripts that mutate your raw data
PHONE_APPLICATIONS_FOREGROUND: PHONE_APPLICATIONS_FOREGROUND:
ANDROID: ANDROID:
RAPIDS_COLUMN_MAPPINGS: RAPIDS_COLUMN_MAPPINGS:

View File

@ -12,6 +12,17 @@ PHONE_ACTIVITY_RECOGNITION:
- ACTIVITY_TYPE - ACTIVITY_TYPE
- CONFIDENCE - CONFIDENCE
PHONE_APPLICATIONS_CRASHES:
- TIMESTAMP
- DEVICE_ID
- PACKAGE_NAME
- APPLICATION_NAME
- APPLICATION_VERSION
- ERROR_SHORT
- ERROR_LONG
- ERROR_CONDITION
- IS_SYSTEM_APP
PHONE_APPLICATIONS_FOREGROUND: PHONE_APPLICATIONS_FOREGROUND:
- TIMESTAMP - TIMESTAMP
- DEVICE_ID - DEVICE_ID