code: def bad_exp_child_config(bad_exp_parent_config):
      """Generate a new experiment configuration"""
      config = copy.deepcopy(bad_exp_parent_config)
      config["_id"] = "test2"
      config["refers"] = {"parent_id": "test"}
      config["version"] = 2
  
      return config
  
imports: import copy
  import getpass
  import os
  import pytest
  import yaml
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.algo.space import Categorical, Integer, Real, Space
  from orion.core.evc import conflicts
  from orion.core.io.convert import JSONConverter, YAMLConverter
  from orion.core.io.space_builder import DimensionBuilder
  from orion.core.utils import format_trials
  from orion.core.worker.trial import Trial
  from orion.testing import MockDatetime
label_desc: Use image node_id 40 for calling a global function with example usage: bad_exp_child_config(bad_exp_parent_config) and returns: config