code: def space():
      """Construct a simple space with every possible kind of Dimension."""
      space = Space()
      categories = {"asdfa": 0.1, 2: 0.2, 3: 0.3, 4: 0.4}
      dim = Categorical("yolo", categories, shape=2)
      space.register(dim)
      dim = Integer("yolo2", "uniform", -3, 6)
      space.register(dim)
      dim = Real("yolo3", "alpha", 0.9)
      space.register(dim)
      return space
  
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 13 for calling a global function with example usage: space() and returns: space