

@Override(Experiment.Experiment)
@caller_check(ServerType.Laboratory)
@logged('info')
def do_start_experiment(self, client_initial_data, server_initial_data, *args, **kwargs):
    deserialized_client_request = json.loads(client_initial_data)
    exercise = deserialized_client_request.get('exercise', 'bcd')
    args.current_labels = self.exercises.get(exercise, ['Exercise', exercise, 'not found'])
    self._clear()
    initial_configuration = {
        
    }
    webcam = self._cfg_manager.get_value('webcam', None)
    if (webcam is not None):
        initial_configuration['webcam'] = webcam
    initial_configuration['labels'] = self.current_labels
    return json.dumps({
        'initial_configuration': json.dumps(initial_configuration),
        'batch': False,
    })

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/binary/server.py BinaryExperiment.do_start_experiment/VarMisuse@62/102 `self`->`args`