code: def test_markers_cli_results_save_correctly(
      marker_sqlite_tracker: Tuple[SQLTrackerStore, Text],
      tmp_path: Path,
  ):
      _, db_path = marker_sqlite_tracker
  
      endpoints_path = write_endpoint_config_to_yaml(
          tmp_path,
          {
              "tracker_store": {
                  "type": "sql",
                  "db": db_path.replace("\\", "\\\\"),
              }
          },
      )
  
      markers_path = write_markers_config_to_yaml(
          tmp_path,
          {
              "marker1": {"slot_was_set": "2"},
              "marker2": {"slot_was_set": "7"},
          },
      )
  
      results_path = tmp_path / "results.csv"
      stats_file_prefix = tmp_path / "statistics"
  
      rasa.cli.evaluate._run_markers(
          seed=None,
          count=10,
          endpoint_config=endpoints_path,
          strategy="first_n",
          domain_path=None,
          config=markers_path,
          output_filename=results_path,
          stats_file_prefix=stats_file_prefix,
      )
  
      for expected_output in [
          results_path,
          tmp_path / ("statistics" + STATS_SESSION_SUFFIX),
          tmp_path / ("statistics" + STATS_OVERALL_SUFFIX),
      ]:
          with expected_output.open(mode="r") as results:
              result_reader = csv.DictReader(results)
              # Loop over entire file to ensure nothing in the file causes any errors
              for _ in result_reader:
                  continue
  
imports: from pathlib import Path
  from typing import Callable, Text, Tuple, Dict, Any
  import csv
  import pytest
  from _pytest.pytester import RunResult
  import rasa.cli.evaluate
  from rasa.shared.core.events import ActionExecuted, SlotSet, UserUttered
  from rasa.shared.core.trackers import DialogueStateTracker
  from rasa.shared.core.constants import ACTION_SESSION_START_NAME
  from rasa.shared.core.domain import Domain
  from rasa.core.tracker_store import SQLTrackerStore
  from rasa.cli.evaluate import STATS_SESSION_SUFFIX, STATS_OVERALL_SUFFIX
  from tests.conftest import write_endpoint_config_to_yaml
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 7 for calling a global function with example usage: test_markers_cli_results_save_correctly(marker_sqlite_tracker, tmp_path) without return types