Added testing for light (frequency) and updated testing for light (periodic)

pull/103/head
abhineethreddyk 2020-10-12 00:32:46 -04:00
parent 3996e0ab17
commit be140221cf
10 changed files with 21 additions and 11 deletions

View File

@ -0,0 +1 @@
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids__minlux","light_rapids__stdlux","light_rapids__count","light_rapids__avglux","light_rapids__medianlux","light_rapids__maxlux"
1 local_segment local_segment_label local_segment_start_datetime local_segment_end_datetime light_rapids__minlux light_rapids__stdlux light_rapids__count light_rapids__avglux light_rapids__medianlux light_rapids__maxlux

View File

@ -0,0 +1 @@
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids__medianlux","light_rapids__minlux","light_rapids__avglux","light_rapids__maxlux","light_rapids__count","light_rapids__stdlux"
1 local_segment local_segment_label local_segment_start_datetime local_segment_end_datetime light_rapids__medianlux light_rapids__minlux light_rapids__avglux light_rapids__maxlux light_rapids__count light_rapids__stdlux

View File

@ -0,0 +1,7 @@
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids_count","light_rapids_maxlux","light_rapids_minlux","light_rapids_avglux","light_rapids_medianlux","light_rapids_stdlux"
"thirtyminutes0000#2020-09-27 00:00:00,2020-09-27 00:29:59","thirtyminutes0000","2020-09-27 00:00:00","2020-09-27 00:29:59",2,15258,1469,8363.5,8363.5,9750.2954057813
"thirtyminutes0002#2020-09-27 01:00:00,2020-09-27 01:29:59","thirtyminutes0002","2020-09-27 01:00:00","2020-09-27 01:29:59",2,0,0,0,0,0
"thirtyminutes0039#2020-09-27 19:30:00,2020-09-27 19:59:59","thirtyminutes0039","2020-09-27 19:30:00","2020-09-27 19:59:59",1,472.52,472.52,472.52,472.52,NA
"thirtyminutes0040#2020-09-26 20:00:00,2020-09-26 20:29:59","thirtyminutes0040","2020-09-26 20:00:00","2020-09-26 20:29:59",4,114615,37252,84955.25,93977,33392.3886474648
"thirtyminutes0041#2020-09-26 20:30:00,2020-09-26 20:59:59","thirtyminutes0041","2020-09-26 20:30:00","2020-09-26 20:59:59",2,90625,24414,57519.5,57519.5,46818.2470891425
"thirtyminutes0047#2020-09-26 23:30:00,2020-09-26 23:59:59","thirtyminutes0047","2020-09-26 23:30:00","2020-09-26 23:59:59",1,10351,10351,10351,10351,NA
1 local_segment local_segment_label local_segment_start_datetime local_segment_end_datetime light_rapids_count light_rapids_maxlux light_rapids_minlux light_rapids_avglux light_rapids_medianlux light_rapids_stdlux
2 thirtyminutes0000#2020-09-27 00:00:00,2020-09-27 00:29:59 thirtyminutes0000 2020-09-27 00:00:00 2020-09-27 00:29:59 2 15258 1469 8363.5 8363.5 9750.2954057813
3 thirtyminutes0002#2020-09-27 01:00:00,2020-09-27 01:29:59 thirtyminutes0002 2020-09-27 01:00:00 2020-09-27 01:29:59 2 0 0 0 0 0
4 thirtyminutes0039#2020-09-27 19:30:00,2020-09-27 19:59:59 thirtyminutes0039 2020-09-27 19:30:00 2020-09-27 19:59:59 1 472.52 472.52 472.52 472.52 NA
5 thirtyminutes0040#2020-09-26 20:00:00,2020-09-26 20:29:59 thirtyminutes0040 2020-09-26 20:00:00 2020-09-26 20:29:59 4 114615 37252 84955.25 93977 33392.3886474648
6 thirtyminutes0041#2020-09-26 20:30:00,2020-09-26 20:59:59 thirtyminutes0041 2020-09-26 20:30:00 2020-09-26 20:59:59 2 90625 24414 57519.5 57519.5 46818.2470891425
7 thirtyminutes0047#2020-09-26 23:30:00,2020-09-26 23:59:59 thirtyminutes0047 2020-09-26 23:30:00 2020-09-26 23:59:59 1 10351 10351 10351 10351 NA

View File

@ -0,0 +1 @@
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids_minlux","light_rapids_stdlux","light_rapids_count","light_rapids_avglux","light_rapids_medianlux","light_rapids_maxlux"
1 local_segment local_segment_label local_segment_start_datetime local_segment_end_datetime light_rapids_minlux light_rapids_stdlux light_rapids_count light_rapids_avglux light_rapids_medianlux light_rapids_maxlux

View File

@ -1,6 +1,6 @@
"local_segment","local_segment_label","local_start_date","local_start_time","local_end_date","local_end_time","light_rapids__count","light_rapids__maxlux","light_rapids__minlux","light_rapids__avglux","light_rapids__medianlux","light_rapids__stdlux"
"afternoon#2020-07-04#12:00:00#2020-07-04#17:59:59","afternoon","2020-07-04","12:00:00","2020-07-04","17:59:59",4,97656,10351,55761.5,57519.5,44778.6855136831
"daily#2020-07-04#00:00:00#2020-07-04#23:59:59","daily","2020-07-04","00:00:00","2020-07-04","23:59:59",12,114615,0.065,40207.8950833333,19836,44686.694225665
"evening#2020-07-04#18:00:00#2020-07-04#23:59:59","evening","2020-07-04","18:00:00","2020-07-04","23:59:59",3,15258,84.156,5603.71866666667,1469,8389.47610244199
"morning#2020-07-04#06:00:00#2020-07-04#11:59:59","morning","2020-07-04","06:00:00","2020-07-04","11:59:59",4,114615,472.52,60659.38,63775,51510.5823438666
"night#2020-07-04#00:00:00#2020-07-04#05:59:59","night","2020-07-04","00:00:00","2020-07-04","05:59:59",1,0.065,0.065,0.065,0.065,NA
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids_count","light_rapids_maxlux","light_rapids_minlux","light_rapids_avglux","light_rapids_medianlux","light_rapids_stdlux"
"afternoon#2020-07-04 12:00:00,2020-07-04 17:59:59","afternoon","2020-07-04 12:00:00","2020-07-04 17:59:59",4,97656,10351,55761.5,57519.5,44778.6855136831
"daily#2020-07-04 00:00:00,2020-07-04 23:59:59","daily","2020-07-04 00:00:00","2020-07-04 23:59:59",12,114615,0.065,40207.8950833333,19836,44686.694225665
"evening#2020-07-04 18:00:00,2020-07-04 23:59:59","evening","2020-07-04 18:00:00","2020-07-04 23:59:59",3,15258,84.156,5603.71866666667,1469,8389.47610244199
"morning#2020-07-04 06:00:00,2020-07-04 11:59:59","morning","2020-07-04 06:00:00","2020-07-04 11:59:59",4,114615,472.52,60659.38,63775,51510.5823438666
"night#2020-07-04 00:00:00,2020-07-04 05:59:59","night","2020-07-04 00:00:00","2020-07-04 05:59:59",1,0.065,0.065,0.065,0.065,NA

1 local_segment local_segment_label local_start_date local_segment_start_datetime local_start_time local_segment_end_datetime local_end_date light_rapids_count local_end_time light_rapids_maxlux light_rapids__count light_rapids_minlux light_rapids__maxlux light_rapids_avglux light_rapids__minlux light_rapids_medianlux light_rapids__avglux light_rapids_stdlux light_rapids__medianlux light_rapids__stdlux
2 afternoon#2020-07-04#12:00:00#2020-07-04#17:59:59 afternoon#2020-07-04 12:00:00,2020-07-04 17:59:59 afternoon 2020-07-04 2020-07-04 12:00:00 12:00:00 2020-07-04 17:59:59 2020-07-04 4 17:59:59 97656 4 10351 97656 55761.5 10351 57519.5 55761.5 44778.6855136831 57519.5 44778.6855136831
3 daily#2020-07-04#00:00:00#2020-07-04#23:59:59 daily#2020-07-04 00:00:00,2020-07-04 23:59:59 daily 2020-07-04 2020-07-04 00:00:00 00:00:00 2020-07-04 23:59:59 2020-07-04 12 23:59:59 114615 12 0.065 114615 40207.8950833333 0.065 19836 40207.8950833333 44686.694225665 19836 44686.694225665
4 evening#2020-07-04#18:00:00#2020-07-04#23:59:59 evening#2020-07-04 18:00:00,2020-07-04 23:59:59 evening 2020-07-04 2020-07-04 18:00:00 18:00:00 2020-07-04 23:59:59 2020-07-04 3 23:59:59 15258 3 84.156 15258 5603.71866666667 84.156 1469 5603.71866666667 8389.47610244199 1469 8389.47610244199
5 morning#2020-07-04#06:00:00#2020-07-04#11:59:59 morning#2020-07-04 06:00:00,2020-07-04 11:59:59 morning 2020-07-04 2020-07-04 06:00:00 06:00:00 2020-07-04 11:59:59 2020-07-04 4 11:59:59 114615 4 472.52 114615 60659.38 472.52 63775 60659.38 51510.5823438666 63775 51510.5823438666
6 night#2020-07-04#00:00:00#2020-07-04#05:59:59 night#2020-07-04 00:00:00,2020-07-04 05:59:59 night 2020-07-04 2020-07-04 00:00:00 00:00:00 2020-07-04 05:59:59 2020-07-04 1 05:59:59 0.065 1 0.065 0.065 0.065 0.065 0.065 0.065 NA 0.065 NA

View File

@ -1 +1 @@
"local_segment","local_segment_label","local_start_date","local_start_time","local_end_date","local_end_time","light_rapids__maxlux","light_rapids__stdlux","light_rapids__count","light_rapids__avglux","light_rapids__medianlux","light_rapids__minlux"
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids_count","light_rapids_maxlux","light_rapids_minlux","light_rapids_avglux","light_rapids_medianlux","light_rapids_stdlux"
1 local_segment local_segment_label local_start_date local_segment_start_datetime local_start_time local_segment_end_datetime local_end_date light_rapids_count local_end_time light_rapids_maxlux light_rapids__maxlux light_rapids_minlux light_rapids__stdlux light_rapids_avglux light_rapids__count light_rapids_medianlux light_rapids__avglux light_rapids_stdlux light_rapids__medianlux light_rapids__minlux

View File

@ -1 +1 @@
"local_segment","local_segment_label","local_start_date","local_start_time","local_end_date","local_end_time","light_rapids__avglux","light_rapids__maxlux","light_rapids__stdlux","light_rapids__medianlux","light_rapids__count","light_rapids__minlux"
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids__minlux","light_rapids__avglux","light_rapids__count","light_rapids__medianlux","light_rapids__maxlux","light_rapids__stdlux"

1 local_segment local_segment_label local_start_date local_segment_start_datetime local_start_time local_segment_end_datetime local_end_date light_rapids__minlux local_end_time light_rapids__avglux light_rapids__count light_rapids__medianlux light_rapids__maxlux light_rapids__stdlux

View File

@ -1 +1 @@
"local_segment","local_segment_label","local_start_date","local_start_time","local_end_date","local_end_time","light_rapids__medianlux","light_rapids__minlux","light_rapids__stdlux","light_rapids__count","light_rapids__avglux","light_rapids__maxlux"
"local_segment","local_segment_label","local_segment_start_datetime","local_segment_end_datetime","light_rapids__count","light_rapids__avglux","light_rapids__maxlux","light_rapids__minlux","light_rapids__stdlux","light_rapids__medianlux"

1 local_segment local_segment_label local_start_date local_segment_start_datetime local_start_time local_segment_end_datetime local_end_date light_rapids__count local_end_time light_rapids__avglux light_rapids__maxlux light_rapids__minlux light_rapids__stdlux light_rapids__medianlux

View File

@ -50,7 +50,7 @@ LIGHT:
DB_TABLE: light
PROVIDERS:
RAPIDS:
COMPUTE: False
COMPUTE: True
FEATURES: ["count", "maxlux", "minlux", "avglux", "medianlux", "stdlux"]
SRC_FOLDER: "rapids" # inside src/features/light
SRC_LANGUAGE: "python"

View File

@ -51,7 +51,7 @@ LIGHT:
DB_TABLE: light
PROVIDERS:
RAPIDS:
COMPUTE: False
COMPUTE: True
FEATURES: ["count", "maxlux", "minlux", "avglux", "medianlux", "stdlux"]
SRC_FOLDER: "rapids" # inside src/features/light
SRC_LANGUAGE: "python"