code: def __init__(self, directory, **kwargs):
      super().__init__(**kwargs)
      self.score_trial_called = False
      self._set_project_dir(directory=directory, project_name="name")
  
imports: import datetime
  import threading
  import time
  import numpy
  import pytest
  import keras_tuner
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.tuners import gridsearch
label_desc: Use image node_id 1 to create a new OracleStub object from inherited base classes: oracle_module with example: obj = OracleStub(directory)