code: def build_root_experiment(space=None, trials=None):
      """Build a root experiment and generate trials."""
      if space is None:
          space = {
              "x": "uniform(0, 100)",
              "y": "uniform(0, 100)",
              "z": "uniform(0, 100)",
          }
      if trials is None:
          trials = [{"x": i, "y": i * 2, "z": i**2} for i in range(4)]
  
      root = build_experiment(
          name="root", max_trials=len(trials), space=space
      )
  
      generate_trials(root, trials)
  
file_path: orion/src/orion/testing/evc.py
imports: import contextlib
  import copy
  from orion.client import build_experiment, get_experiment
  from orion.core.io.space_builder import DimensionBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: build_root_experiment(space, trials) without return types