code: def config(exp_config):
      """Return a configuration."""
      config = exp_config[0][0]
      config["metadata"]["user_args"] = ["--x~uniform(-50, 50)"]
      config["metadata"][
          "VCS"
      ] = resolve_config.infer_versioning_metadata(
          config["metadata"]["user_script"]
      )
      config["name"] = "exp"
      config["working_dir"] = "/tmp/orion"
      backward.populate_space(config)
      config["space"] = config["metadata"]["priors"]
      return config
  
imports: import logging
  import os
  import shutil
  import signal
  import subprocess
  import tempfile
  import pytest
  import orion.core.io.experiment_builder
  import orion.core.io.resolve_config
  import orion.core.utils.backward
  import orion.core.worker.consumer
  from orion.client.runner import prepare_trial_working_dir
  from orion.core.utils import sigterm_as_interrupt
  from orion.core.utils.exceptions import BranchingEvent, MissingResultFile
  from orion.core.utils.format_trials import tuple_to_trial
label_desc: Use image node_id 1 for calling a global function with example usage: config(exp_config) and returns: config