class_docstr: Aggregates the results across all heuristics.
  
  It saves the individual results from each heuristic and exposes an aggregated view.
class_docstr_tok: ["Aggregates","the","results","across","all","heuristics",".","It","saves","the","individual","results","from","each","heuristic","and","exposes","an","aggregated","view","."]
docstr: Returns the aggregated priorities across all heuristics.
docstr_tok: ["Returns","the","aggregated","priorities","across","all","heuristics","."]
code: def get_aggregated_priorities(
      self, include_trial: bool = False
  ) -> TestPrioritizations:
      """
      Returns the aggregated priorities across all heuristics.
      """
      aggregated_priorities = TestPrioritizations(
          tests_being_ranked=self.unranked_tests
      )
  
      for (
          heuristic,
          heuristic_results,
      ) in self._heuristic_results.items():
          if heuristic.trial_mode and not include_trial:
              continue
  
          aggregated_priorities.integrate_priorities(heuristic_results)
  
      return aggregated_priorities
  
imports: import operator
  import sys
  from abc import abstractmethod
  from copy import copy
  from enum import Enum
  from functools import total_ordering
  from itertools import chain
  from typing import Any, Callable, Dict, FrozenSet, Iterable, Iterator, List, Optional, Tuple
  from tools.testing.test_run import TestRun, TestRuns
label_desc: Use image node_id 3 for calling the AggregatedHeuristics obj's underlying member method code with example usage: obj.get_aggregated_priorities(include_trial) and returns: aggregated_priorities