Updated Calls testing and travis.yaml

pull/95/head
kaguillera 2020-07-22 18:23:43 -04:00
parent 4e948a931c
commit 6d31e6734d
15 changed files with 21 additions and 23 deletions

View File

@ -55,9 +55,9 @@ install:
- conda update -q --all --yes conda
- conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION --file environment.yml
- conda activate test-environment
- snakemake renv_install
- snakemake -j1 renv_install
- R -e 'renv::settings$use.cache(FALSE)'
- snakemake renv_restore
- snakemake -j1 renv_restore
script:
- bash tests/scripts/run_tests.sh

View File

@ -1,2 +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,3,642.666666666667,1928,213,1053,420.333597673721,1053,0.941278069255821,753,921,1
"2020-06-01",3,3,629.333333333333,1888,198,1040,421.38027164704,1040,0.932593293857646,753,921,1

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 3 642.666666666667 629.333333333333 1928 1888 213 198 1053 1040 420.333597673721 421.38027164704 1053 1040 0.941278069255821 0.932593293857646 753 921 1

View File

@ -1,3 +1,3 @@
"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,10,976.4,9764,213,1719,465.141603289913,439,2.18820020272087,163,1331,1
"2020-06-02",5,5,1213.2,6066,667,1719,375.767481296612,667,1.56941860966338,519,1331,0
"2020-06-01",10,10,961.4,9614,198,1700,464.326800624062,420,2.18431625877259,163,1331,1
"2020-06-02",5,5,1202,6010,660,1710,375.326524508993,660,1.56885323664414,519,1331,0

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 10 976.4 961.4 9764 9614 213 198 1719 1700 465.141603289913 464.326800624062 439 420 2.18820020272087 2.18431625877259 163 1331 1
3 2020-06-02 5 5 1213.2 1202 6066 6010 667 660 1719 1710 375.767481296612 375.326524508993 667 660 1.56941860966338 1.56885323664414 519 1331 0

View File

@ -1,3 +1,3 @@
"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
"2020-06-02",3,3,1366.66666666667,4100,1157,1719,306.963081384934,1157,1.08260122332248,1144,1331,0
"2020-06-01",3,3,1350,4050,1140,1700,305.122926047847,1140,1.08239814505043,1144,1331,1
"2020-06-02",3,3,1353.33333333333,4060,1140,1710,310.859024854247,1140,1.08186609729599,1144,1331,0

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 1350 4100 4050 1157 1140 1719 1700 306.963081384934 305.122926047847 1157 1140 1.08260122332248 1.08239814505043 1144 1331 1
3 2020-06-02 3 3 1366.66666666667 1353.33333333333 4100 4060 1157 1140 1719 1710 306.963081384934 310.859024854247 1157 1140 1.08260122332248 1.08186609729599 1144 1331 0

View File

@ -1,3 +1,3 @@
"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
"2020-06-02",2,2,983,1966,667,1299,446.891485709898,667,0.640802774623272,519,600,0
"2020-06-01",2,2,968,1936,657,1279,439.820417898033,657,0.640867990789142,519,600,1
"2020-06-02",2,2,975,1950,660,1290,445.477272147525,660,0.640266157864261,519,600,0

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 968 1966 1936 667 657 1299 1279 446.891485709898 439.820417898033 667 657 0.640802774623272 0.640867990789142 519 600 1
3 2020-06-02 2 2 983 975 1966 1950 667 660 1299 1290 446.891485709898 445.477272147525 667 660 0.640802774623272 0.640266157864261 519 600 0

View File

@ -1,2 +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,2,885,1770,439,1331,630.7392488184,439,0.560434787927257,163,257,1
"2020-06-01",2,2,870,1740,420,1320,636.396103067893,420,0.552951978816239,163,257,1

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 2 885 870 1770 1740 439 420 1331 1320 630.7392488184 636.396103067893 439 420 0.560434787927257 0.552951978816239 163 257 1

View File

@ -1,2 +1 @@
"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
2020-06-01 1 1 874 874 1

View File

@ -1,3 +1,3 @@
"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,6,13,1167,1
"2020-06-02",2,2,589,1167,0
"2020-06-01",3,3,13,1167,1
"2020-06-02",1,1,589,589,0

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 6 3 13 1167 1
3 2020-06-02 2 1 2 1 589 1167 589 0

View File

@ -1,3 +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
"2020-06-02",1,1,1167,1167,0

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
2020-06-02 1 1 1167 1167 0

View File

@ -1,2 +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,3,13,257,1
"2020-06-01",1,1,13,13,1

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 3 1 13 257 13 1

View File

@ -1,2 +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
"2020-06-01",3,3,816.333333333333,2449,0,1279,709.062996731132,1279,0.692360538889388,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 3 2 3 1237.5 816.333333333333 2475 2449 1186 0 1289 1279 72.8319984622144 709.062996731132 1289 1279 0.692482998176928 0.692360538889388 869 1051 1

View File

@ -1,3 +1,3 @@
"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,8,1168,9344,759,1543,250.842010607702,970,2.05922274128194,172,1277,1
"2020-06-02",5,5,1179.8,5899,759,1543,310.478179587552,1116,1.58127936063292,418,1277,0
"2020-06-01",11,11,837.909090909091,9217,0,1530,577.720772440364,0,2.0585997872903,57,1277,1
"2020-06-02",6,6,973.333333333333,5840,0,1530,551.313582878807,1100,1.58092421564451,418,1277,0

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 11 8 11 1168 837.909090909091 9344 9217 759 0 1543 1530 250.842010607702 577.720772440364 970 0 2.05922274128194 2.0585997872903 172 57 1277 1
3 2020-06-02 5 6 5 6 1179.8 973.333333333333 5899 5840 759 0 1543 1530 310.478179587552 551.313582878807 1116 1100 1.58127936063292 1.58092421564451 418 1277 0

View File

@ -1,3 +1,3 @@
"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
"2020-06-02",2,2,1482,2964,1421,1543,86.2670273047588,1421,0.692468534923961,1156,1277,0
"2020-06-01",2,2,1465,2930,1400,1530,91.9238815542512,1400,0.692333219466401,1156,1277,1
"2020-06-02",3,3,980,2940,0,1530,850.823130856232,1410,0.692484030888463,1156,1277,0

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 1465 2964 2930 1421 1400 1543 1530 86.2670273047588 91.9238815542512 1421 1400 0.692468534923961 0.692333219466401 1156 1277 1
3 2020-06-02 2 3 2 3 1482 980 2964 2940 1421 0 1543 1530 86.2670273047588 850.823130856232 1421 1410 0.692468534923961 0.692484030888463 1156 1277 0

View File

@ -1,3 +1,3 @@
"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
"2020-06-02",3,3,978.333333333333,2935,759,1116,192.000868053593,1116,1.08558305836162,418,687,0
"2020-06-01",3,3,959.333333333333,2878,742,1096,190.287501779106,1096,1.08529592058152,418,687,1
"2020-06-02",3,3,966.666666666667,2900,750,1100,189.296944860009,1100,1.08563855912214,418,687,0

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 959.333333333333 2935 2878 759 742 1116 1096 192.000868053593 190.287501779106 1116 1096 1.08558305836162 1.08529592058152 418 687 1
3 2020-06-02 3 3 978.333333333333 966.666666666667 2935 2900 759 750 1116 1100 192.000868053593 189.296944860009 1116 1100 1.08558305836162 1.08563855912214 418 687 0

View File

@ -1,2 +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
"2020-06-01",3,3,320,960,0,960,554.256258422041,0,0,57,257,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 3 1 3 970 320 970 960 970 0 970 960 NA 554.256258422041 970 0 0 172 57 172 257 1