code: def profet_input_dir(tmp_path_factory):
      """Returns the `input_dir` to use for the Profet algorithm."""
      if REAL_PROFET_DATA_DIR.exists():
          return REAL_PROFET_DATA_DIR
      return tmp_path_factory.mktemp("profet_data")
  
file_path: orion/tests/unittests/benchmark/task/profet/conftest.py
imports: from logging import getLogger
  from pathlib import Path
  import numpy
  import pytest
  from _pytest.fixtures import SubRequest
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.tmpdir import TempPathFactory
  from orion.benchmark.task.profet.profet_task import MetaModelConfig
label_desc: Use image node_id 3 for calling a global function with example usage: profet_input_dir(tmp_path_factory) and returns: tmp_path_factory, REAL_PROFET_DATA_DIR