code: def test_run_name_vs_trial_component_name_edge_cases(
      sagemaker_session, input_names
  ):
      exp_name, run_name, run_display_name = input_names
      with cleanup_exp_resources(
          exp_names=[exp_name], sagemaker_session=sagemaker_session
      ):
          with Run(
              experiment_name=exp_name,
              sagemaker_session=sagemaker_session,
              run_name=run_name,
              run_display_name=run_display_name,
          ) as run1:
              assert not run1._experiment.tags
              assert not run1._trial.tags
  
              def verify_is_run():
                  is_run_tc = is_run_trial_component(
                      trial_component_name=run1._trial_component.trial_component_name,
                      sagemaker_session=sagemaker_session,
                  )
                  assert is_run_tc
  
              retry_with_backoff(verify_is_run, 4)
  
          with load_run(
              experiment_name=exp_name,
              run_name=run_name,
              sagemaker_session=sagemaker_session,
          ) as run2:
              assert run2.experiment_name == exp_name
              assert run2.run_name == run_name
              assert (
                  run2._trial_component.trial_component_name
                  == f"{exp_name}{DELIMITER}{run_name}"
              )
              assert run2._trial_component.display_name in (
                  run_display_name,
                  run2._trial_component.trial_component_name,
              )
  
imports: from __future__ import absolute_import
  import datetime
  import json
  import os
  import time
  import pytest
  from tests.conftest import CUSTOM_S3_OBJECT_KEY_PREFIX
  from tests.integ.sagemaker.experiments.conftest import TAGS
  from sagemaker.experiments._api_types import _TrialComponentStatusType
  from sagemaker.experiments._utils import is_run_trial_component
  from sagemaker.processing import FrameworkProcessor
  from sagemaker.pytorch import PyTorch
  from sagemaker.s3 import S3Uploader
  from sagemaker.xgboost import XGBoostModel
  from tests.integ import DATA_DIR
  from sagemaker.experiments._metrics import BATCH_SIZE
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.sklearn import SKLearn
  from sagemaker.utils import retry_with_backoff, unique_name_from_base
  from tests.integ.sagemaker.experiments.helpers import name, cleanup_exp_resources
  from sagemaker.experiments.run import RUN_NAME_BASE, DELIMITER
  from sagemaker.experiments import Run, load_run, list_runs
  from sagemaker.experiments._helper import _DEFAULT_ARTIFACT_PREFIX
label_desc: Use image node_id 4 for calling a global function with example usage: test_run_name_vs_trial_component_name_edge_cases(sagemaker_session, input_names) without return types