code: def test_lightgbm_quickstart_smoke(
      notebooks, output_notebook, kernel_name
  ):
      notebook_path = notebooks["lightgbm_quickstart"]
      execute_notebook(
          notebook_path,
          output_notebook,
          kernel_name=kernel_name,
          parameters=dict(
              MAX_LEAF=64,
              MIN_DATA=20,
              NUM_OF_TREES=100,
              TREE_LEARNING_RATE=0.15,
              EARLY_STOPPING_ROUNDS=20,
              METRIC="auc",
          ),
      )
      results = read_notebook(output_notebook)
  
      assert results["auc_basic"] == pytest.approx(
          0.7674, rel=TOL, abs=ABS_TOL
      )
      assert results["logloss_basic"] == pytest.approx(
          0.4669, rel=TOL, abs=ABS_TOL
      )
      assert results["auc_opt"] == pytest.approx(
          0.7757, rel=TOL, abs=ABS_TOL
      )
      assert results["logloss_opt"] == pytest.approx(
          0.4607, rel=TOL, abs=ABS_TOL
      )
  
file_path: recommenders/tests/smoke/examples/test_notebooks_python.py
imports: import pytest
  from recommenders.utils.notebook_utils import execute_notebook, read_notebook
label_desc: Use image node_id 5 for calling a global function with example usage: test_lightgbm_quickstart_smoke(notebooks, output_notebook, kernel_name) without return types