code: def assert_smallest_z_value_numerical(
      num_predictors, min_z_value, model_coeffs, model_z_values
  ):
      for name in num_predictors:
          pred_ind = model_coeffs.index(name)
          val = model_z_values[pred_ind]
          if not (math.isnan(val)):
              assert abs(val) >= min_z_value, (
                  "predictor with wrong z value is removed: predictor z-value: {0} has "
                  "smaller magnitude than minimum z_values: {1}".format(
                      abs(val), min_z_value
                  )
              )
  
file_path: h2o-3/h2o-py/tests/testdir_algos/modelselection/pyunit_PUBDEV_8675_modelselection_fail.py
imports: import sys
  import math
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.model_selection import H2OModelSelectionEstimator
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
label_desc: Use image node_id 4 for calling a global function with example usage: assert_smallest_z_value_numerical(num_predictors, min_z_value, model_coeffs, model_z_values) without return types