code: def test_test_core_comparison(
      run_in_simple_project_with_model: Callable[..., RunResult]
  ):
      files = list_files("models")
      copyfile(files[0], "models/copy-model.tar.gz")
  
      run_in_simple_project_with_model(
          "test",
          "core",
          "-m",
          files[0],
          "models/copy-model.tar.gz",
          "--stories",
          "data/stories.yml",
      )
  
      assert os.path.exists(
          os.path.join(DEFAULT_RESULTS_PATH, RESULTS_FILE)
      )
  
imports: import os
  import shutil
  from pathlib import Path
  from shutil import copyfile
  from pytest import Testdir, Pytester, ExitCode
  from _pytest.pytester import RunResult
  from rasa.core.constants import CONFUSION_MATRIX_STORIES_FILE, STORIES_WITH_WARNINGS_FILE
  from rasa.constants import RESULTS_FILE
  from rasa.shared.constants import DEFAULT_RESULTS_PATH
  from rasa.shared.utils.io import list_files, write_yaml, write_text_file
  from typing import Callable
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 13 for calling a global function with example usage: test_test_core_comparison(run_in_simple_project_with_model) without return types