code: def create_iteration(self, num_suggestions):
          
          from db.models.experiment_groups import ExperimentGroupIteration
  
          iteration_config = self.experiment_group.iteration_config
  
          if iteration_config is None:
              iteration = 0
              old_experiment_ids = None
              old_experiments_configs = None
              old_experiments_metrics = None
          else:
              iteration = iteration_config.iteration + 1
              old_experiment_ids = iteration_config.combined_experiment_ids
              old_experiments_configs = iteration_config.combined_experiments_configs
              old_experiments_metrics = iteration_config.combined_experiments_metrics
  
          # Create a new iteration config
          iteration_config = BOIterationConfig(
              iteration=iteration,
              num_suggestions=num_suggestions,
              old_experiment_ids=old_experiment_ids,
              old_experiments_configs=old_experiments_configs,
              old_experiments_metrics=old_experiments_metrics,
              experiment_ids=[],
              experiments_configs=[],
          )
          return ExperimentGroupIteration.objects.create(
              experiment_group=self.experiment_group,
              data=iteration_config.to_dict())
docs: Create an iteration for the experiment group.