code: def init_all(test_descriptions):
      for tIndex, tests in enumerate(test_descriptions):
          task_folder = TEST_CONFIG_FILES_NAME[tIndex].split(".")[0]
          package_name = [task_folder + ".", ""]
          package_name = custom_sort(task_folder, package_name)
          package_name.append(".")
          if type(tests) is not list:
              tests = [tests]
          for test_description in tests:
              options = get_options(
                  test_description["grids"],
                  test_description["grids_expression"],
              )
              data_func = get_function_obj_with_dirs(
                  package_name,
                  "data_generation",
                  test_description["data_func"]["name"],
              )
              scenario_directory = (
                  os.path.dirname(os.path.realpath(__file__))
                  + f"/{task_folder}"
              )
              data = datagen_driver(
                  scenario_directory,
                  data_func,
                  **test_description["data_func"]["params"],
              )
              script_directory = os.path.dirname(
                  os.path.realpath(__file__)
              )
              for assert_func in test_description["assert_functions"]:
                  assert_job = get_function_obj_with_dirs(
                      package_name, "assert_job", assert_func["name"]
                  )
                  core_test(
                      os.path.join(script_directory, data),
                      options,
                      test_description["output"],
                      assert_job,
                      assert_func["params"],
                  )
  
file_path: vowpal_wabbit/python/tests/e2e_v2/test_core.py
imports: from vw_executor.vw import Vw
  from vw_executor.vw_opts import Grid
  import pytest
  import os
  import logging
  from test_helper import json_to_dict_list, evaluate_expression, copy_file, custom_sort, get_function_obj_with_dirs, datagen_driver
  from conftest import STORE_OUTPUT
label_desc: Use image node_id 5 for calling a global function with example usage: init_all(test_descriptions) without return types