code: def get_notebook_parameter_list():
      notebooks_list = [
          f.name
          for f in os.scandir(NOTEBOOKS_PATH)
          if f.name.endswith(".ipynb")
      ]
      # notebooks that should not be run
      advanced_notebooks = [
          "DiCE_with_advanced_options.ipynb",  # requires tensorflow 1.x
          "DiCE_getting_started_feasible.ipynb",  # needs changes after latest refactor
          "DiCE_with_private_data.ipynb",  # needs compatible version of sklearn to load model
          "Benchmarking_different_CF_explanation_methods.ipynb",
      ]
      # notebooks that don't need to run on python 3.10
      torch_notebooks_not_3_10 = ["DiCE_getting_started.ipynb"]
  
      # Creating the list of notebooks to run
      parameter_list = []
      for nb in notebooks_list:
          if nb in advanced_notebooks:
              param = pytest.param(
                  nb,
                  marks=[pytest.mark.skip, pytest.mark.advanced],
                  id=nb,
              )
          elif (
              sys.version_info >= (3, 10)
              and nb in torch_notebooks_not_3_10
          ):
              param = pytest.param(
                  nb,
                  marks=[pytest.mark.skip, pytest.mark.advanced],
                  id=nb,
              )
          else:
              param = pytest.param(nb, id=nb)
          parameter_list.append(param)
  
      return parameter_list
  
file_path: DiCE/tests/test_notebooks.py
imports: import os
  import subprocess
  import sys
  import tempfile
  import nbformat
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: get_notebook_parameter_list() and returns: parameter_list