code: def test_folder_function_doc() -> None:
      # DOC_INSTANTIATE_0
      import sys
      from pathlib import Path
      import nevergrad as ng
      from nevergrad.parametrization import FolderFunction
  
      # nevergrad/parametrization/examples contains a script
      example_folder = (
          Path(ng.__file__).parent / "parametrization" / "examples"
      )
      python = sys.executable
      command = [
          python,
          "examples/script.py",
      ]  # command to run from right outside the provided folder
      # create a function from the folder
      func = FolderFunction(example_folder, command, clean_copy=True)
  
      # print the number of variables of the function:
      print(func.placeholders)
      # prints: [Placeholder('value1', 'this is a comment'), Placeholder('value2', None), Placeholder('string', None)]
      # and run it (the script prints 12 at the end)
      assert func(value1=2, value2=3, string="blublu") == 12.0
  
file_path: nevergrad/nevergrad/parametrization/test_instantiate.py
imports: import sys
  import tempfile
  import typing
  from pathlib import Path
  import numpy
  from nevergrad.common import testing
  from .None import instantiate
  from .instantiate import LINETOKEN
  from .instantiate import Placeholder
label_desc: Use image node_id 11 for calling a global function with example usage: test_folder_function_doc() without return types