code: def test_get_elites_max_depth(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(0), key=lambda trial: trial.id
      )
      assert [trial.objective.value for trial in elites] == [
          2,
          8,
          9,
          9,
          8,
      ]
  
      elites = sorted(
          lineages.get_elites(2), key=lambda trial: trial.id
      )
      assert [trial.objective.value for trial in elites] == [
          2,
          3,
          8,
          4,
          6,
      ]
  
      elites = sorted(
          lineages.get_elites(5), key=lambda trial: trial.id
      )
      assert [trial.objective.value for trial in elites] == [
          2,
          3,
          7,
          4,
          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 16 for calling the TestLineages obj's underlying member method code with example usage: obj.test_get_elites_max_depth() without return types