code: def test_cornac_bpr_smoke(notebooks, output_notebook, kernel_name):
      notebook_path = notebooks["cornac_bpr_deep_dive"]
      execute_notebook(
          notebook_path,
          output_notebook,
          kernel_name=kernel_name,
          parameters=dict(MOVIELENS_DATA_SIZE="100k"),
      )
      results = read_notebook(output_notebook)
  
      assert results["map"] == pytest.approx(
          0.1091, rel=TOL, abs=ABS_TOL
      )
      assert results["ndcg"] == pytest.approx(
          0.4034, rel=TOL, abs=ABS_TOL
      )
      assert results["precision"] == pytest.approx(
          0.3550, rel=TOL, abs=ABS_TOL
      )
      assert results["recall"] == pytest.approx(
          0.1802, 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 6 for calling a global function with example usage: test_cornac_bpr_smoke(notebooks, output_notebook, kernel_name) without return types