code: def test_get_elites_various_depths(self):
      lineages = build_population(
          [
              [2, 8, 9, 9, 8],
              [9, 3, 8, 9, 7],
              [8, 8, 8, 4, 6],
              [7, 8, 9, 8, 5],
              [7, 6, 8, 7, 5],
              [6, 5, 7, 7, 4],
              [5, 5, 6, 7, 5],
              [4, 4, 5, 8, 5],
              [4, 4, 9, 8, 5],
              [4, 4, 8, 8, 5],
              [4, 4, 7, 8, 5],
              [4, 4, 6, 8, 5],
              [4, 4, 8, 8, 5],
              [4, 4, 9, 8, 5],
          ]
      )
  
      elites = sorted(lineages.get_elites(), key=lambda trial: trial.id)
      assert len(elites) == 5
      assert elites[0].id == "lineage-0-0"
      assert elites[0].objective.value == 2
  
      assert elites[1].id == "lineage-1-1"
      assert elites[1].objective.value == 3
  
      assert elites[2].id == "lineage-2-7"
      assert elites[2].objective.value == 5
  
      assert elites[3].id == "lineage-3-2"
      assert elites[3].objective.value == 4
  
      assert elites[4].id == "lineage-4-5"
      assert elites[4].objective.value == 4
  
imports: import os
  import random
  import pytest
  from base import ObjectiveStub, TrialStub, build_full_tree, build_population, compare_generations
  from orion.algo.pbt.pbt import LineageNode, Lineages
label_desc: Use image node_id 15 for calling the TestLineages obj's underlying member method code with example usage: obj.test_get_elites_various_depths() without return types