code: def test_compute_statistics_on_empty_set():
      result = compute_statistics([])
      assert result["count"] == 0
      assert all(
          np.isnan(value)
          for key, value in result.items()
          if key != "count"
      )
      # we see the same keys as in those cases where we can evaluate something
      dummy_result_non_empty = compute_statistics([1, 2])
      assert set(dummy_result_non_empty.keys()) == set(result.keys())
  
file_path: rasa/tests/core/evaluation/test_marker_stats.py
imports: import csv
  from pathlib import Path
  from typing import Dict, List, Text, Tuple
  import itertools
  import pytest
  import numpy
  from rasa.core.evaluation.marker_stats import EventMetaData, MarkerStatistics, compute_statistics
label_desc: Use image node_id 1 for calling a global function with example usage: test_compute_statistics_on_empty_set() without return types