code: def receive_trial_result(self, parameter_id, parameters, value):
          '''
          Record an observation of the objective function
          parameter_id : int
          parameters : dict of parameters
          value: final metrics of the trial, including reward
          '''
          reward = extract_scalar_reward(value)
          if self.optimize_mode is OptimizeMode.Minimize:
              reward = -reward
  
          logger.debug('receive trial result is:\n')
          logger.debug(str(parameters))
          logger.debug(str(reward))
  
          indiv = Individual(graph_loads(parameters), result=reward)
          self.population.append(indiv)
          returf receive_trial_result(self, parameter_id, parameters, value):
          '''
          Record an observation of the objective function
          parameter_id : int
          parameters : dict of parameters
          value: final metrics of the trial, including reward
          '''
          reward = extract_scalar_reward(value)
          if self.optimize_mode is OptimizeMode.Minimize:
              reward = -reward
  
          logger.debug('receive trial result is:\n')
          logger.debug(str(parameters))
          logger.debug(str(reward))
  
          indiv = Individual(graph_loads(parameters), result=reward)
          self.population.append(indiv)
          return
docs: Record an observation of the objective function
          parameter_id : int
          parameters : dict of parameters
          value: final metrics of the trial, including reward