class_docstr: Minimal HpBandSter Job mock.
  
  This mimics enough of the HpBandSter Job interface to report results.
class_docstr_tok: ["Minimal","HpBandSter","Job","mock",".","This","mimics","enough","of","the","HpBandSter","Job","interface","to","report","results","."]
code: def __init__(self, run, trial):
      self.id = run[0]  # pylint: disable=invalid-name
      self.kwargs = dict(config=reverse(run[1]), budget=run[2])
      self.timestamps = {}
      self.result = {}
      if trial.objective is not None:
          self.result["loss"] = trial.objective.value
      self.exception = None
  
imports: import copy
  import numpy
  from orion.algo.base import BaseAlgorithm
  from orion.algo.base.parallel_strategy import strategy_factory
  from orion.algo.space import Fidelity
  from orion.core.utils.format_trials import dict_to_trial
  from orion.core.utils.module_import import ImportOptional
label_desc: Use image node_id 1 to create a new FakeJob object  with example: obj = FakeJob(run, trial)