code: def test_get_test_stats_with_whole_tests(self) -> None:
      self.maxDiff = None
      tests = ["test1", "test2", "test3", "test4", "test5"]
      heuristic1 = TestPrioritizations(
          tests_being_ranked=tests,
          high_relevance=["test3", "test4"],
      )
      heuristic2 = TestPrioritizations(
          tests_being_ranked=tests,
          probable_relevance=["test5"],
      )
  
      aggregator = AggregatedHeuristics(unranked_tests=tests)
      aggregator.add_heuristic_results(HEURISTICS[0], heuristic1)
      aggregator.add_heuristic_results(HEURISTICS[1], heuristic2)
  
      expected_test3_stats = {
          "test_name": "test3",
          "test_filters": "",
          "without_heuristics": {
              "relevance_group": "UNRANKED",
              "order_within_relevance_group": 2,
              "num_tests_in_relevance_group": 5,
              "order_overall": 2,
              "heuristic_name": "baseline",
          },
          "heuristics": [
              {
                  "relevance_group": "HIGH",
                  "order_within_relevance_group": 0,
                  "num_tests_in_relevance_group": 2,
                  "order_overall": 0,
                  "heuristic_name": HEURISTICS[0].name,
                  "trial_mode": False,
              },
              {
                  "relevance_group": "UNRANKED",
                  "order_within_relevance_group": 2,
                  "num_tests_in_relevance_group": 4,
                  "order_overall": 3,
                  "heuristic_name": HEURISTICS[1].name,
                  "trial_mode": False,
              },
          ],
          "num_heuristics_prioritized_by": 1,
          "aggregated": {
              "relevance_group": "HIGH",
              "order_within_relevance_group": 0,
              "num_tests_in_relevance_group": 2,
              "order_overall": 0,
          },
          "aggregated_trial": {
              "relevance_group": "HIGH",
              "order_within_relevance_group": 0,
              "num_tests_in_relevance_group": 2,
              "order_overall": 0,
          },
          "highest_ranking_heuristic": HEURISTICS[0].name,
      }
  
      test3_stats = aggregator.get_test_stats(TestRun("test3"))
  
      self.assertDictEqual(test3_stats, expected_test3_stats)
  
imports: import io
  import json
  import pathlib
  import sys
  import unittest
  from typing import Any, Dict, Set
  from unittest import mock
label_desc: Use image node_id 4 for calling the TestAggregatedHeuristics obj's underlying member method code with example usage: obj.test_get_test_stats_with_whole_tests() without return types