code: def assert_scoring_history(
      model, metric_name1, metric_name2, delta=1e-5, msg=None
  ):
      scoring_history = model.scoring_history()
      sh1 = scoring_history[metric_name1]
      sh2 = scoring_history[metric_name2]
      isnull1 = sh1.isnull()
      isnull2 = sh2.isnull()
      assert (
          isnull1 == isnull2
      ).all(), "{} scoring 1: {} scoring 2: {}".format(
          msg, isnull1, isnull2
      )
      drop1 = sh1.dropna().round(10)
      drop2 = sh2.dropna().round(10)
      assert (drop1 == drop2).all(
          skipna=True
      ), "{} scoring 1: {} scoring 2: {}".format(msg, drop1, drop2)
  
imports: import h2o
  from .None import locate
label_desc: Use image node_id 3 for calling a global function with example usage: assert_scoring_history(model, metric_name1, metric_name2, delta, msg) without return types