code: def mojo_model_test_coxph():
      for x in [
          ["age"],
          ["age", "transplant"],
          ["age", "surgery", "transplant"],
          ["age", "surgery", "transplant", "year"],
      ]:
          for ties in ["efron", "breslow"]:
              for use_all_factor_levels in [True, False, None]:
                  test(x, ties, [], use_all_factor_levels)
      for x in [
          ["age", "transplant"],
          ["age", "surgery", "transplant"],
          ["age", "surgery", "transplant", "year"],
      ]:
          for ties in ["efron", "breslow"]:
              for use_all_factor_levels in [True, False, None]:
                  test(x, ties, [], use_all_factor_levels)
      for x in [
          ["age", "surgery", "transplant"],
          ["age", "surgery", "transplant", "year"],
      ]:
          for ties in ["efron", "breslow"]:
              for use_all_factor_levels in [True, False, None]:
                  test(x, ties, [], use_all_factor_levels)
  
file_path: h2o-3/h2o-py/tests/testdir_generic_model/pyunit_generic_model_mojo_cox_ph.py
imports: import tempfile
  import os
  import sys
  import h2o
  from h2o.estimators import H2OCoxProportionalHazardsEstimator
  from h2o.model.metrics.coxph import H2ORegressionCoxPHModelMetrics
  from tests import pyunit_utils
  from tests.testdir_generic_model import compare_params
label_desc: Use image node_id 2 for calling a global function with example usage: mojo_model_test_coxph() without return types