code: def create_trial(point, names=None, types=None, results=None):
      if names is None:
          names = string.ascii_lowercase[: len(point)]
  
      if types is None:
          types = ["real"] * len(point)
  
      return Trial(
          params=[
              {"name": name, "value": value, "type": param_type}
              for (name, value, param_type) in zip(names, point, types)
          ],
          results=[
              {"name": name, "type": name, "value": value}
              for name, value in results.items()
          ],
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: create_trial(point, names, types, results) and returns: Trial