code: def test_sar_single_node_smoke(
      notebooks, output_notebook, kernel_name
  ):
      notebook_path = notebooks["sar_single_node"]
      execute_notebook(
          notebook_path,
          output_notebook,
          kernel_name=kernel_name,
          parameters=dict(TOP_K=10, MOVIELENS_DATA_SIZE="100k"),
      )
      results = read_notebook(output_notebook)
  
      assert results["map"] == pytest.approx(
          0.110591, rel=TOL, abs=ABS_TOL
      )
      assert results["ndcg"] == pytest.approx(
          0.382461, rel=TOL, abs=ABS_TOL
      )
      assert results["precision"] == pytest.approx(
          0.330753, rel=TOL, abs=ABS_TOL
      )
      assert results["recall"] == pytest.approx(
          0.176385, 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 1 for calling a global function with example usage: test_sar_single_node_smoke(notebooks, output_notebook, kernel_name) without return types