code: def test_combine_heuristics_reorder_list():
      # we are just testing if given calculated uncertainty measures for chunks of data
      # the `reorder_indices` would make correct decision. Here index 0 has the
      # highest uncertainty chosen but both methods (uncertainties1 and uncertainties2)
      bald_firstchunk = np.array([0.98])
      bald_secondchunk = np.array([0.87, 0.68])
  
      variance_firstchunk = np.array([0.76])
      variance_secondchunk = np.array([0.63, 0.48])
      streaming_prediction = [
          [bald_firstchunk, variance_firstchunk],
          [bald_secondchunk, variance_secondchunk],
      ]
  
      heuristics = CombineHeuristics(
          [BALD(), Variance()], weights=[0.5, 0.5], reduction="mean"
      )
      ranks = heuristics.reorder_indices(streaming_prediction)
      assert np.all(
          ranks == [0, 1, 2]
      ), "Combine Heuristics is not right {}".format(ranks)
  
imports: import warnings
  import numpy
  import pytest
  from hypothesis import given
  from torch_hypothesis import class_logits
  from baal.active import get_heuristic
  from baal.active.heuristics import Random, BALD, Margin, Entropy, Certainty, Variance, BatchBALD, AbstractHeuristic, requireprobs, Precomputed, CombineHeuristics
  from tests.test_utils import make_fake_dist, make_3d_fake_dist, make_5d_fake_dist
label_desc: Use image node_id 16 for calling a global function with example usage: test_combine_heuristics_reorder_list() without return types