code: def run_task_tests(task_list: List[str]):
      """
      Find the package root and run the tests for the given tasks
      """
      import pytest
  
      package_root = find_test_root(start_path=pathlib.Path(__file__))
      task_string = " or ".join(task_list)
      args = [
          f"{package_root}/tests/test_version_stable.py",
          f"--rootdir={package_root}",
          "-k",
          f"{task_string}",
      ]
      sys.path.append(str(package_root))
      pytest_return_val = pytest.main(args)
      if pytest_return_val:
          raise ValueError(
              f"Not all tests for the specified tasks ({task_list}) ran successfully! Error code: {pytest_return_val}"
          )
  
imports: import os
  import pathlib
  import re
  import collections
  import functools
  import inspect
  import sys
  from typing import List, Union
  import torch
  from omegaconf import OmegaConf
  import sacrebleu
  from rouge_score import rouge_scorer, scoring
label_desc: Use image node_id 12 for calling a global function with example usage: run_task_tests(task_list) without return types