Add initial testing files for call features

pull/95/head
kaguillera 2020-06-03 19:42:12 -04:00
parent 2d0ef98f26
commit a6d86528a4
20 changed files with 74 additions and 4 deletions

View File

@ -38,7 +38,9 @@ jobs:
- brew install r - brew install r
- R --version - R --version
- brew cask install miniconda - brew cask install miniconda
- eval "$(/usr/local/bin/conda shell.bash hook)" - which conda
- eval "$(/opt/miniconda3/condabin/conda shell.bash hook)"
env: env:
- RENV_PATHS_ROOT="$HOME/renv/cache" - RENV_PATHS_ROOT="$HOME/renv/cache"
cache: cache:

View File

@ -14,6 +14,10 @@ rule all:
pid=config["PIDS"], pid=config["PIDS"],
sms_type = config["SMS"]["TYPES"], sms_type = config["SMS"]["TYPES"],
day_segment = config["SMS"]["DAY_SEGMENTS"]), day_segment = config["SMS"]["DAY_SEGMENTS"]),
expand("data/processed/{pid}/call_{call_type}_{segment}.csv",
pid=config["PIDS"],
call_type=config["CALLS"]["TYPES"],
segment = config["CALLS"]["DAY_SEGMENTS"]),
rule clean: rule clean:
shell: shell:

View File

@ -0,0 +1,2 @@
"local_date","call_incoming_afternoon_count","call_incoming_afternoon_distinctcontacts","call_incoming_afternoon_meanduration","call_incoming_afternoon_sumduration","call_incoming_afternoon_minduration","call_incoming_afternoon_maxduration","call_incoming_afternoon_stdduration","call_incoming_afternoon_modeduration","call_incoming_afternoon_entropyduration","call_incoming_afternoon_timefirstcall","call_incoming_afternoon_timelastcall","call_incoming_afternoon_countmostfrequentcontact"
"2020-06-01",3,2,642.666666666667,1928,213,1053,420.333597673721,1053,0.941278069255821,753,921,2
1 local_date call_incoming_afternoon_count call_incoming_afternoon_distinctcontacts call_incoming_afternoon_meanduration call_incoming_afternoon_sumduration call_incoming_afternoon_minduration call_incoming_afternoon_maxduration call_incoming_afternoon_stdduration call_incoming_afternoon_modeduration call_incoming_afternoon_entropyduration call_incoming_afternoon_timefirstcall call_incoming_afternoon_timelastcall call_incoming_afternoon_countmostfrequentcontact
2 2020-06-01 3 2 642.666666666667 1928 213 1053 420.333597673721 1053 0.941278069255821 753 921 2

View File

@ -0,0 +1,2 @@
"local_date","call_incoming_daily_count","call_incoming_daily_distinctcontacts","call_incoming_daily_meanduration","call_incoming_daily_sumduration","call_incoming_daily_minduration","call_incoming_daily_maxduration","call_incoming_daily_stdduration","call_incoming_daily_modeduration","call_incoming_daily_entropyduration","call_incoming_daily_timefirstcall","call_incoming_daily_timelastcall","call_incoming_daily_countmostfrequentcontact"
"2020-06-01",10,6,976.4,9764,213,1719,465.141603289913,439,2.18820020272087,163,1331,5
1 local_date call_incoming_daily_count call_incoming_daily_distinctcontacts call_incoming_daily_meanduration call_incoming_daily_sumduration call_incoming_daily_minduration call_incoming_daily_maxduration call_incoming_daily_stdduration call_incoming_daily_modeduration call_incoming_daily_entropyduration call_incoming_daily_timefirstcall call_incoming_daily_timelastcall call_incoming_daily_countmostfrequentcontact
2 2020-06-01 10 6 976.4 9764 213 1719 465.141603289913 439 2.18820020272087 163 1331 5

View File

@ -0,0 +1,2 @@
"local_date","call_incoming_evening_count","call_incoming_evening_distinctcontacts","call_incoming_evening_meanduration","call_incoming_evening_sumduration","call_incoming_evening_minduration","call_incoming_evening_maxduration","call_incoming_evening_stdduration","call_incoming_evening_modeduration","call_incoming_evening_entropyduration","call_incoming_evening_timefirstcall","call_incoming_evening_timelastcall","call_incoming_evening_countmostfrequentcontact"
"2020-06-01",3,3,1366.66666666667,4100,1157,1719,306.963081384934,1157,1.08260122332248,1144,1331,1
1 local_date call_incoming_evening_count call_incoming_evening_distinctcontacts call_incoming_evening_meanduration call_incoming_evening_sumduration call_incoming_evening_minduration call_incoming_evening_maxduration call_incoming_evening_stdduration call_incoming_evening_modeduration call_incoming_evening_entropyduration call_incoming_evening_timefirstcall call_incoming_evening_timelastcall call_incoming_evening_countmostfrequentcontact
2 2020-06-01 3 3 1366.66666666667 4100 1157 1719 306.963081384934 1157 1.08260122332248 1144 1331 1

View File

@ -0,0 +1,2 @@
"local_date","call_incoming_morning_count","call_incoming_morning_distinctcontacts","call_incoming_morning_meanduration","call_incoming_morning_sumduration","call_incoming_morning_minduration","call_incoming_morning_maxduration","call_incoming_morning_stdduration","call_incoming_morning_modeduration","call_incoming_morning_entropyduration","call_incoming_morning_timefirstcall","call_incoming_morning_timelastcall","call_incoming_morning_countmostfrequentcontact"
"2020-06-01",2,2,983,1966,667,1299,446.891485709898,667,0.640802774623272,519,600,1
1 local_date call_incoming_morning_count call_incoming_morning_distinctcontacts call_incoming_morning_meanduration call_incoming_morning_sumduration call_incoming_morning_minduration call_incoming_morning_maxduration call_incoming_morning_stdduration call_incoming_morning_modeduration call_incoming_morning_entropyduration call_incoming_morning_timefirstcall call_incoming_morning_timelastcall call_incoming_morning_countmostfrequentcontact
2 2020-06-01 2 2 983 1966 667 1299 446.891485709898 667 0.640802774623272 519 600 1

View File

@ -0,0 +1,2 @@
"local_date","call_incoming_night_count","call_incoming_night_distinctcontacts","call_incoming_night_meanduration","call_incoming_night_sumduration","call_incoming_night_minduration","call_incoming_night_maxduration","call_incoming_night_stdduration","call_incoming_night_modeduration","call_incoming_night_entropyduration","call_incoming_night_timefirstcall","call_incoming_night_timelastcall","call_incoming_night_countmostfrequentcontact"
"2020-06-01",2,1,885,1770,439,1331,630.7392488184,439,0.560434787927257,163,257,2
1 local_date call_incoming_night_count call_incoming_night_distinctcontacts call_incoming_night_meanduration call_incoming_night_sumduration call_incoming_night_minduration call_incoming_night_maxduration call_incoming_night_stdduration call_incoming_night_modeduration call_incoming_night_entropyduration call_incoming_night_timefirstcall call_incoming_night_timelastcall call_incoming_night_countmostfrequentcontact
2 2020-06-01 2 1 885 1770 439 1331 630.7392488184 439 0.560434787927257 163 257 2

View File

@ -0,0 +1,2 @@
"local_date","call_missed_afternoon_count","call_missed_afternoon_distinctcontacts","call_missed_afternoon_timefirstcall","call_missed_afternoon_timelastcall","call_missed_afternoon_countmostfrequentcontact"
"2020-06-01",1,1,874,874,1
1 local_date call_missed_afternoon_count call_missed_afternoon_distinctcontacts call_missed_afternoon_timefirstcall call_missed_afternoon_timelastcall call_missed_afternoon_countmostfrequentcontact
2 2020-06-01 1 1 874 874 1

View File

@ -0,0 +1,2 @@
"local_date","call_missed_daily_count","call_missed_daily_distinctcontacts","call_missed_daily_timefirstcall","call_missed_daily_timelastcall","call_missed_daily_countmostfrequentcontact"
"2020-06-01",6,3,13,1167,4
1 local_date call_missed_daily_count call_missed_daily_distinctcontacts call_missed_daily_timefirstcall call_missed_daily_timelastcall call_missed_daily_countmostfrequentcontact
2 2020-06-01 6 3 13 1167 4

View File

@ -0,0 +1,2 @@
"local_date","call_missed_evening_count","call_missed_evening_distinctcontacts","call_missed_evening_timefirstcall","call_missed_evening_timelastcall","call_missed_evening_countmostfrequentcontact"
"2020-06-01",1,1,1167,1167,1
1 local_date call_missed_evening_count call_missed_evening_distinctcontacts call_missed_evening_timefirstcall call_missed_evening_timelastcall call_missed_evening_countmostfrequentcontact
2 2020-06-01 1 1 1167 1167 1

View File

@ -0,0 +1,2 @@
"local_date","call_missed_morning_count","call_missed_morning_distinctcontacts","call_missed_morning_timefirstcall","call_missed_morning_timelastcall","call_missed_morning_countmostfrequentcontact"
"2020-06-01",1,1,589,589,1
1 local_date call_missed_morning_count call_missed_morning_distinctcontacts call_missed_morning_timefirstcall call_missed_morning_timelastcall call_missed_morning_countmostfrequentcontact
2 2020-06-01 1 1 589 589 1

View File

@ -0,0 +1,2 @@
"local_date","call_missed_night_count","call_missed_night_distinctcontacts","call_missed_night_timefirstcall","call_missed_night_timelastcall","call_missed_night_countmostfrequentcontact"
"2020-06-01",3,1,13,257,3
1 local_date call_missed_night_count call_missed_night_distinctcontacts call_missed_night_timefirstcall call_missed_night_timelastcall call_missed_night_countmostfrequentcontact
2 2020-06-01 3 1 13 257 3

View File

@ -0,0 +1,2 @@
"local_date","call_outgoing_afternoon_count","call_outgoing_afternoon_distinctcontacts","call_outgoing_afternoon_meanduration","call_outgoing_afternoon_sumduration","call_outgoing_afternoon_minduration","call_outgoing_afternoon_maxduration","call_outgoing_afternoon_stdduration","call_outgoing_afternoon_modeduration","call_outgoing_afternoon_entropyduration","call_outgoing_afternoon_timefirstcall","call_outgoing_afternoon_timelastcall","call_outgoing_afternoon_countmostfrequentcontact"
"2020-06-01",2,2,1237.5,2475,1186,1289,72.8319984622144,1289,0.692482998176928,869,1051,1
1 local_date call_outgoing_afternoon_count call_outgoing_afternoon_distinctcontacts call_outgoing_afternoon_meanduration call_outgoing_afternoon_sumduration call_outgoing_afternoon_minduration call_outgoing_afternoon_maxduration call_outgoing_afternoon_stdduration call_outgoing_afternoon_modeduration call_outgoing_afternoon_entropyduration call_outgoing_afternoon_timefirstcall call_outgoing_afternoon_timelastcall call_outgoing_afternoon_countmostfrequentcontact
2 2020-06-01 2 2 1237.5 2475 1186 1289 72.8319984622144 1289 0.692482998176928 869 1051 1

View File

@ -0,0 +1,2 @@
"local_date","call_outgoing_daily_count","call_outgoing_daily_distinctcontacts","call_outgoing_daily_meanduration","call_outgoing_daily_sumduration","call_outgoing_daily_minduration","call_outgoing_daily_maxduration","call_outgoing_daily_stdduration","call_outgoing_daily_modeduration","call_outgoing_daily_entropyduration","call_outgoing_daily_timefirstcall","call_outgoing_daily_timelastcall","call_outgoing_daily_countmostfrequentcontact"
"2020-06-01",8,6,1168,9344,759,1543,250.842010607702,970,2.05922274128194,172,1277,3
1 local_date call_outgoing_daily_count call_outgoing_daily_distinctcontacts call_outgoing_daily_meanduration call_outgoing_daily_sumduration call_outgoing_daily_minduration call_outgoing_daily_maxduration call_outgoing_daily_stdduration call_outgoing_daily_modeduration call_outgoing_daily_entropyduration call_outgoing_daily_timefirstcall call_outgoing_daily_timelastcall call_outgoing_daily_countmostfrequentcontact
2 2020-06-01 8 6 1168 9344 759 1543 250.842010607702 970 2.05922274128194 172 1277 3

View File

@ -0,0 +1,2 @@
"local_date","call_outgoing_evening_count","call_outgoing_evening_distinctcontacts","call_outgoing_evening_meanduration","call_outgoing_evening_sumduration","call_outgoing_evening_minduration","call_outgoing_evening_maxduration","call_outgoing_evening_stdduration","call_outgoing_evening_modeduration","call_outgoing_evening_entropyduration","call_outgoing_evening_timefirstcall","call_outgoing_evening_timelastcall","call_outgoing_evening_countmostfrequentcontact"
"2020-06-01",2,2,1482,2964,1421,1543,86.2670273047588,1421,0.692468534923961,1156,1277,1
1 local_date call_outgoing_evening_count call_outgoing_evening_distinctcontacts call_outgoing_evening_meanduration call_outgoing_evening_sumduration call_outgoing_evening_minduration call_outgoing_evening_maxduration call_outgoing_evening_stdduration call_outgoing_evening_modeduration call_outgoing_evening_entropyduration call_outgoing_evening_timefirstcall call_outgoing_evening_timelastcall call_outgoing_evening_countmostfrequentcontact
2 2020-06-01 2 2 1482 2964 1421 1543 86.2670273047588 1421 0.692468534923961 1156 1277 1

View File

@ -0,0 +1,2 @@
"local_date","call_outgoing_morning_count","call_outgoing_morning_distinctcontacts","call_outgoing_morning_meanduration","call_outgoing_morning_sumduration","call_outgoing_morning_minduration","call_outgoing_morning_maxduration","call_outgoing_morning_stdduration","call_outgoing_morning_modeduration","call_outgoing_morning_entropyduration","call_outgoing_morning_timefirstcall","call_outgoing_morning_timelastcall","call_outgoing_morning_countmostfrequentcontact"
"2020-06-01",3,3,978.333333333333,2935,759,1116,192.000868053593,1116,1.08558305836162,418,687,1
1 local_date call_outgoing_morning_count call_outgoing_morning_distinctcontacts call_outgoing_morning_meanduration call_outgoing_morning_sumduration call_outgoing_morning_minduration call_outgoing_morning_maxduration call_outgoing_morning_stdduration call_outgoing_morning_modeduration call_outgoing_morning_entropyduration call_outgoing_morning_timefirstcall call_outgoing_morning_timelastcall call_outgoing_morning_countmostfrequentcontact
2 2020-06-01 3 3 978.333333333333 2935 759 1116 192.000868053593 1116 1.08558305836162 418 687 1

View File

@ -0,0 +1,2 @@
"local_date","call_outgoing_night_count","call_outgoing_night_distinctcontacts","call_outgoing_night_meanduration","call_outgoing_night_sumduration","call_outgoing_night_minduration","call_outgoing_night_maxduration","call_outgoing_night_stdduration","call_outgoing_night_modeduration","call_outgoing_night_entropyduration","call_outgoing_night_timefirstcall","call_outgoing_night_timelastcall","call_outgoing_night_countmostfrequentcontact"
"2020-06-01",1,1,970,970,970,970,NA,970,0,172,172,1
1 local_date call_outgoing_night_count call_outgoing_night_distinctcontacts call_outgoing_night_meanduration call_outgoing_night_sumduration call_outgoing_night_minduration call_outgoing_night_maxduration call_outgoing_night_stdduration call_outgoing_night_modeduration call_outgoing_night_entropyduration call_outgoing_night_timefirstcall call_outgoing_night_timelastcall call_outgoing_night_countmostfrequentcontact
2 2020-06-01 1 1 970 970 970 970 NA 970 0 172 172 1

View File

@ -0,0 +1,25 @@
timestamp,device_id,call_type,call_duration,trace
1591020025000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1299,OwyykjwekUUwhaCHEODWV5lZICBzdyLPnTE2wVL5
1591019365000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,OwyykjwekUUwhaCHEODWV5lZICBzdyLPnTE2wVL5
1591009125000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1116,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1591014777000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1060,cnUUS8QfrJ16VB6cakgg7IBWGP2OFzpJ7xlBAG8S
1591025270000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,759,1RgyLrcxRB4kPDTpszr6ocy2qtxvtyoTGl1WltUF
1591015194000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,667,JGtSHqWU2rTwJsHNzFiAzHUNHHYLYNUKjrGmB7G4
1591039261000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,213,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1591036173000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1289,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1591036460000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,0AF00XrOYBKFnoU9s1lZQBMCDyVWwIUu7t9FishN
1591030751000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,662,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1591029194000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1053,6qWi08psbtFbnl0GxVYlAoG7e9X81JfYggNULsFh
1591047100000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1186,6uW0vSbblda04AgPYlUMjaOBJ6vHdoeyCVy2xMcE
1591052691000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1157,jVa0Xjl53p52AStkexUSNzJYHgcDihBWFeBmsAzr
1591056859000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1719,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1591053398000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1421,YTCSxqJMuECsKhqaTr6uH8xd5qIKNpGCJGvv9W0y
1591063906000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1224,ekgS3LcK86nxkl3O9jzA3BWU5tJMiYHPbRsdHS2P
1591060637000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,1543,TjnOnOjHqcE2q2yzzwfcFoZfaIKN6VylfqkD0Zk7
1591054046000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590987442000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590984805000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590999462000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,1331,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590994337000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,2,970,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590999471000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,3,0,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1590993791000,e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r,1,439,ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
1 timestamp device_id call_type call_duration trace
2 1591020025000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1299 OwyykjwekUUwhaCHEODWV5lZICBzdyLPnTE2wVL5
3 1591019365000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 OwyykjwekUUwhaCHEODWV5lZICBzdyLPnTE2wVL5
4 1591009125000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1116 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
5 1591014777000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1060 cnUUS8QfrJ16VB6cakgg7IBWGP2OFzpJ7xlBAG8S
6 1591025270000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 759 1RgyLrcxRB4kPDTpszr6ocy2qtxvtyoTGl1WltUF
7 1591015194000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 667 JGtSHqWU2rTwJsHNzFiAzHUNHHYLYNUKjrGmB7G4
8 1591039261000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 213 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
9 1591036173000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1289 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
10 1591036460000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 0AF00XrOYBKFnoU9s1lZQBMCDyVWwIUu7t9FishN
11 1591030751000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 662 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
12 1591029194000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1053 6qWi08psbtFbnl0GxVYlAoG7e9X81JfYggNULsFh
13 1591047100000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1186 6uW0vSbblda04AgPYlUMjaOBJ6vHdoeyCVy2xMcE
14 1591052691000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1157 jVa0Xjl53p52AStkexUSNzJYHgcDihBWFeBmsAzr
15 1591056859000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1719 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
16 1591053398000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1421 YTCSxqJMuECsKhqaTr6uH8xd5qIKNpGCJGvv9W0y
17 1591063906000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1224 ekgS3LcK86nxkl3O9jzA3BWU5tJMiYHPbRsdHS2P
18 1591060637000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 1543 TjnOnOjHqcE2q2yzzwfcFoZfaIKN6VylfqkD0Zk7
19 1591054046000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
20 1590987442000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
21 1590984805000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
22 1590999462000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 1331 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
23 1590994337000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 2 970 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
24 1590999471000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 3 0 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP
25 1590993791000 e64uobDo-xNh0-KxYR-UWgR-utH2eyav204r 1 439 ciXg3DYB9bzl0KXxPcvxi50Z4NqSk0WVf7dLniNP

View File

@ -2,4 +2,4 @@ directory: ./
configfile: ./tests/settings/testing_config.yaml configfile: ./tests/settings/testing_config.yaml
snakefile: ./tests/Snakefile snakefile: ./tests/Snakefile
cores: 1 cores: 1
forcerun: sms_features forcerun: [sms_features, call_features]

View File

@ -1,5 +1,5 @@
# Valid database table name # Valid database table name
SENSORS: [messages] SENSORS: [messages, calls]
# Test Participant data to include in the unit testing # Test Participant data to include in the unit testing
# You must create a file for each participant # You must create a file for each participant
@ -8,7 +8,7 @@ PIDS: [test01]
# Global var with common day segments # Global var with common day segments
DAY_SEGMENTS: &day_segments DAY_SEGMENTS: &day_segments
[daily] [daily, morning, afternoon, evening, night]
# Communication SMS features config, TYPES and FEATURES keys need to match # Communication SMS features config, TYPES and FEATURES keys need to match
SMS: SMS:
@ -17,3 +17,12 @@ SMS:
received: [count, distinctcontacts, timefirstsms, timelastsms, countmostfrequentcontact] received: [count, distinctcontacts, timefirstsms, timelastsms, countmostfrequentcontact]
sent: [count, distinctcontacts, timefirstsms, timelastsms, countmostfrequentcontact] sent: [count, distinctcontacts, timefirstsms, timelastsms, countmostfrequentcontact]
DAY_SEGMENTS: *day_segments DAY_SEGMENTS: *day_segments
# Communication call features config, TYPES and FEATURES keys need to match
CALLS:
TYPES: [missed, incoming, outgoing]
FEATURES:
missed: [count, distinctcontacts, timefirstcall, timelastcall, countmostfrequentcontact]
incoming: [count, distinctcontacts, meanduration, sumduration, minduration, maxduration, stdduration, modeduration, entropyduration, timefirstcall, timelastcall, countmostfrequentcontact]
outgoing: [count, distinctcontacts, meanduration, sumduration, minduration, maxduration, stdduration, modeduration, entropyduration, timefirstcall, timelastcall, countmostfrequentcontact]
DAY_SEGMENTS: *day_segments