Ejemplo n.º 1
0
 def init(self, meta, **params):
     self.acc_accuracy = 0
     self.acc_accuracy_group = 0
     self.acc_correct_attempts = 0
     self.acc_incorrect_attempts = 0
     self.acc_actions = 0
     self.durations = []
     self.clip_durations = []
     self.accuracy_groups = U.init_dict([0, 1, 2, 3])
     self.last_accuracy_title = U.init_dict([f'acc_{t}' for t in meta.title], -1)
     self.n_rows = 0
Ejemplo n.º 2
0
 def init(self, meta, **params):
     self.cnt_title_event_code = U.init_dict(meta.title_event_code)
     self.cnt_title = U.init_dict(meta.title)
     self.cnt_event_code = U.init_dict(meta.event_code)
     self.cnt_event_id = U.init_dict(meta.event_id)
     self.cnt_activities = U.init_dict(meta.type)
     self.cnt_worlds = U.init_dict(meta.world)
     self.cnt_types = U.init_dict(meta.type)
     self.cnt_title_worlds = U.init_dict(meta.title_world)
     self.cnt_title_types = U.init_dict(meta.title_type)
     self.cnt_world_types = U.init_dict(meta.world_type)
     self.last_activity = None
Ejemplo n.º 3
0
 def init(self, meta, **params):
     self.rounds = []
     self.max_round = 0
     self.coord_x = []
     self.coord_y = []
     self.cnt_media = U.init_dict(['unknown', 'animation', 'audio'])
     self.cnt_source = U.init_dict([
         '1.0', '2.0', '3.0', '4.0', '5.0', '6.0', 
         '7.0', '8.0', '9.0', '10.0', '11.0', '12.0',
         'resources', 'scale', 'left', 'middle', 'right', 
         'Lightest', 'Heavy', 'Heaviest', 'N/A'
     ])
     self.cnt_level = U.init_dict(range(6))
     self.cnt_size = U.init_dict(range(7))
     self.cnt_weight = U.init_dict(range(13))
Ejemplo n.º 4
0
 def init(self, meta, **params):
     self.pos_feedback = 0
     self.neg_feedback = 0
     self.other_feedback = 0
     self.cnt_char_feedback = U.init_dict(['dot', 'buddy', 'mom', 'cleo'])
Ejemplo n.º 5
0
 def init(self, meta, **params):
     self.cnt_title_event_code = U.init_dict(meta.title_event_code)
     self.cnt_title = U.init_dict(meta.title)
     self.cnt_event_code = U.init_dict(meta.event_code)
     self.cnt_event_id = U.init_dict(meta.event_id)
Ejemplo n.º 6
0
 def init(self, meta, **params):
     self.cnt_month = U.init_dict([7, 8, 9, 10])
     self.cnt_dayofweek = U.init_dict(range(7))
     self.cnt_dayofmonth = U.init_dict(range(1, 32))
     self.cnt_hour = U.init_dict(range(24))
     self.cnt_minute = U.init_dict(range(60))