code: def base_trial():
      x = {"name": "/x", "value": [1, 2], "type": "real"}
      y = {"name": "/y", "value": [1, 2], "type": "integer"}
      objective = {
          "name": "objective",
          "value": 10,
          "type": "objective",
      }
  
      return Trial(
          experiment=1,
          status="completed",
          params=[x, y],
          results=[objective],
          exp_working_dir="/some/path",
      )
  
imports: import copy
  import datetime
  import os
  import warnings
  import bson
  import numpy
  import pytest
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 1 for calling a global function with example usage: base_trial() and returns: Trial