code: def build_evc_tree(levels):
      build_root_experiment(
          space=SPACE, trials=generate_trials_list(levels[0])
      )
      names = ["root", "parent", "experiment", "child", "grand-child"]
      for level, (parent, name) in zip(
          levels[1:], zip(names, names[1:])
      ):
          build_child_experiment(
              space=SPACE,
              name=name,
              parent=parent,
              trials=generate_trials_list(level),
          )
  
file_path: orion/tests/functional/core/worker/test_experiment_functional.py
imports: import logging
  from orion.client import build_experiment, get_experiment
  from orion.core.io.database import DuplicateKeyError
  from orion.core.worker.trial import Trial
  from orion.testing import mocked_datetime
  from orion.testing.evc import build_child_experiment, build_root_experiment, disable_duplication
label_desc: Use image node_id 2 for calling a global function with example usage: build_evc_tree(levels) without return types