Missing config validations
parent
6bad9066f8
commit
5abca8bb0f
|
@ -75,7 +75,7 @@ PHONE_ACTIVITY_RECOGNITION:
|
||||||
TABLE:
|
TABLE:
|
||||||
ANDROID: plugin_google_activity_recognition
|
ANDROID: plugin_google_activity_recognition
|
||||||
IOS: plugin_ios_activity_recognition
|
IOS: plugin_ios_activity_recognition
|
||||||
EPISODE_THRESHOLD_BETWEEN_ROWS: 5 # minutes. Max time difference for two consecutive rows to be considered within the same battery episode.
|
EPISODE_THRESHOLD_BETWEEN_ROWS: 5 # minutes. Max time difference for two consecutive rows to be considered within the same AR episode.
|
||||||
PROVIDERS:
|
PROVIDERS:
|
||||||
RAPIDS:
|
RAPIDS:
|
||||||
COMPUTE: False
|
COMPUTE: False
|
||||||
|
@ -212,7 +212,7 @@ PHONE_DATA_YIELD:
|
||||||
RAPIDS:
|
RAPIDS:
|
||||||
COMPUTE: False
|
COMPUTE: False
|
||||||
FEATURES: [ratiovalidyieldedminutes, ratiovalidyieldedhours]
|
FEATURES: [ratiovalidyieldedminutes, ratiovalidyieldedhours]
|
||||||
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS: 0.5 # 0 to 1 representing the number of minutes with at least
|
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS: 0.5 # 0 to 1, minimum percentage of valid minutes in an hour to be considered valid.
|
||||||
SRC_LANGUAGE: "r"
|
SRC_LANGUAGE: "r"
|
||||||
SRC_FOLDER: "rapids" # inside src/features/phone_data_yield
|
SRC_FOLDER: "rapids" # inside src/features/phone_data_yield
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ FITBIT_DATA_YIELD:
|
||||||
RAPIDS:
|
RAPIDS:
|
||||||
COMPUTE: False
|
COMPUTE: False
|
||||||
FEATURES: [ratiovalidyieldedminutes, ratiovalidyieldedhours]
|
FEATURES: [ratiovalidyieldedminutes, ratiovalidyieldedhours]
|
||||||
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS: 0.5 # 0 to 1 representing the number of minutes with at least
|
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS: 0.5 # 0 to 1, minimum percentage of valid minutes in an hour to be considered valid.
|
||||||
SRC_LANGUAGE: "r"
|
SRC_LANGUAGE: "r"
|
||||||
SRC_FOLDER: "rapids" # inside src/features/fitbit_data_yield
|
SRC_FOLDER: "rapids" # inside src/features/fitbit_data_yield
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ definitions:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
enum: ["withinsegments", "acrosssegments", "acrossdataset"]
|
enum: ["withinsegments", "acrosssegments", "acrossdataset"]
|
||||||
SCANS_LEASE_FREQUENT_DEVICE:
|
SCANS_LEAST_FREQUENT_DEVICE:
|
||||||
type: array
|
type: array
|
||||||
uniqueItems: True
|
uniqueItems: True
|
||||||
items:
|
items:
|
||||||
|
@ -182,6 +182,13 @@ properties:
|
||||||
PHONE_DATA_CONFIGURATION:
|
PHONE_DATA_CONFIGURATION:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/definitions/DATA_CONFIGURATION"
|
- $ref: "#/definitions/DATA_CONFIGURATION"
|
||||||
|
- properties:
|
||||||
|
SOURCE:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
TYPE:
|
||||||
|
type: string
|
||||||
|
enum: [DATABASE]
|
||||||
|
|
||||||
PHONE_ACCELEROMETER:
|
PHONE_ACCELEROMETER:
|
||||||
type: object
|
type: object
|
||||||
|
@ -321,6 +328,11 @@ properties:
|
||||||
uniqueItems: True
|
uniqueItems: True
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
SINGLE_APPS:
|
||||||
|
type: array
|
||||||
|
uniqueItems: True
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
EXCLUDED_CATEGORIES:
|
EXCLUDED_CATEGORIES:
|
||||||
type: ["null", array]
|
type: ["null", array]
|
||||||
uniqueItems: True
|
uniqueItems: True
|
||||||
|
@ -519,7 +531,7 @@ properties:
|
||||||
type: ["null", array]
|
type: ["null", array]
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
enum: ["PHONE_ACCELEROMETER", "PHONE_ACTIVITY_RECOGNITION", "PHONE_APPLICATIONS_FOREGROUND", "PHONE_BATTERY", "PHONE_BLUETOOTH", "PHONE_CALLS", "PHONE_CONVERSATION", "PHONE_LIGHT", "PHONE_LOCATIONS", "PHONE_MESSAGES", "PHONE_SCREEN", "PHONE_WIFI_CONNECTED", "PHONE_WIFI_VISIBLE"]
|
enum: ["PHONE_ACCELEROMETER", "PHONE_ACTIVITY_RECOGNITION", "PHONE_APPLICATIONS_CRASHES", "PHONE_APPLICATIONS_FOREGROUND", "PHONE_APPLICATIONS_NOTIFICATIONS", "PHONE_AWARE_LOG", "PHONE_BATTERY", "PHONE_BLUETOOTH", "PHONE_CALLS", "PHONE_CONVERSATION", "PHONE_KEYBOARD", "PHONE_LIGHT", "PHONE_LOCATIONS", "PHONE_MESSAGES", "PHONE_SCREEN", "PHONE_WIFI_CONNECTED", "PHONE_WIFI_VISIBLE"]
|
||||||
PROVIDERS:
|
PROVIDERS:
|
||||||
type: ["null", object]
|
type: ["null", object]
|
||||||
properties:
|
properties:
|
||||||
|
@ -751,6 +763,12 @@ properties:
|
||||||
RAPIDS:
|
RAPIDS:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/definitions/PROVIDER"
|
- $ref: "#/definitions/PROVIDER"
|
||||||
|
- properties:
|
||||||
|
FEATURES:
|
||||||
|
uniqueItems: True
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enum: ["countscans", "uniquedevices", "countscansmostuniquedevice"]
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
$ref: "#/definitions/PROVIDER"
|
$ref: "#/definitions/PROVIDER"
|
||||||
|
|
||||||
|
@ -760,6 +778,9 @@ properties:
|
||||||
- properties:
|
- properties:
|
||||||
SOURCE:
|
SOURCE:
|
||||||
properties:
|
properties:
|
||||||
|
TYPE:
|
||||||
|
type: string
|
||||||
|
enum: [DATABASE, FILES]
|
||||||
COLUMN_FORMAT:
|
COLUMN_FORMAT:
|
||||||
type: string
|
type: string
|
||||||
enum: ["JSON", "PLAIN_TEXT"]
|
enum: ["JSON", "PLAIN_TEXT"]
|
||||||
|
|
Loading…
Reference in New Issue