code: def test_als_pyspark_smoke(notebooks, output_notebook, kernel_name):
      notebook_path = notebooks["als_pyspark"]
      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.0052, rel=TOL, abs=ABS_TOL
      )
      assert results["ndcg"] == pytest.approx(
          0.0463, rel=TOL, abs=ABS_TOL
      )
      assert results["precision"] == pytest.approx(
          0.0487, rel=TOL, abs=ABS_TOL
      )
      assert results["recall"] == pytest.approx(
          0.0177, rel=TOL, abs=ABS_TOL
      )
      assert results["rmse"] == pytest.approx(
          0.9636, rel=TOL, abs=ABS_TOL
      )
      assert results["mae"] == pytest.approx(
          0.7508, rel=TOL, abs=ABS_TOL
      )
      assert results["exp_var"] == pytest.approx(
          0.2672, rel=TOL, abs=ABS_TOL
      )
      assert results["rsquared"] == pytest.approx(
          0.2611, rel=TOL, abs=ABS_TOL
      )
  
imports: import sys
  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_als_pyspark_smoke(notebooks, output_notebook, kernel_name) without return types