code: def test_suite_execution():
      coco_dataset = coco_torch.load_dataset(object_type="VisionData")
      executions = defaultdict(int)
  
      class DummyCheck(SingleDatasetCheck):
          def initialize_run(self, context, dataset_kind: DatasetKind):
              executions["initialize_run"] += 1
  
          def update(self, context, batch, dataset_kind: DatasetKind):
              executions["update"] += 1
  
          def compute(
              self, context, dataset_kind: DatasetKind
          ) -> CheckResult:
              executions["compute"] += 1
              return CheckResult(0)
  
      class DummyTrainTestCheck(TrainTestCheck):
          def initialize_run(self, context):
              executions["initialize_run"] += 1
  
          def update(self, context, batch, dataset_kind: DatasetKind):
              executions["update"] += 1
  
          def compute(self, context) -> CheckResult:
              executions["compute"] += 1
              return CheckResult(1)
  
      suite = Suite("test", DummyCheck(), DummyTrainTestCheck())
      args = {
          "train_dataset": coco_dataset,
          "test_dataset": coco_dataset,
      }
      result = suite.run(**args)
      length = get_expected_results_length(suite, args)
      validate_suite_result(result, length)
  
      assert_that(result.results[0].value, is_(0))
      assert_that(result.results[2].value, is_(1))
      assert_that(
          executions,
          is_({"initialize_run": 3, "update": 8, "compute": 3}),
      )
  
file_path: deepchecks/tests/vision/base/test_suite.py
imports: from collections import defaultdict
  from hamcrest import assert_that, calling, contains_inanyorder, has_length, instance_of, is_, raises
  from deepchecks.core import CheckResult, DatasetKind
  from deepchecks.core.errors import DatasetValidationError, DeepchecksNotSupportedError, DeepchecksValueError
  from deepchecks.vision.base_checks import SingleDatasetCheck, TrainTestCheck
  from deepchecks.vision.datasets.classification import mnist_tensorflow
  from deepchecks.vision.datasets.detection import coco_torch
  from deepchecks.vision.suite import Suite
  from deepchecks.vision.suites.default_suites import full_suite
  from tests.common import get_expected_results_length, validate_suite_result
label_desc: Use image node_id 1 for calling a global function with example usage: test_suite_execution() and returns: CheckResult, CheckResult