code: def assert_same_leaderboard(lb1, lb2, size=0):
      print(lb1)
      assert len(lb1) == size
      print(lb2)
      assert len(lb2) == size
      assert all(m in lb2 for m in lb1)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_reruns.py
imports: import os
  import sys
  import h2o
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
label_desc: Use image node_id 3 for calling a global function with example usage: assert_same_leaderboard(lb1, lb2, size) without return types