code: def _compatibility_script_path(file_name: str) -> str:
      return os.path.join(
          os.path.dirname(__file__),
          "backwards_compatibility_scripts",
          file_name,
      )
  
file_path: ray/dashboard/modules/job/tests/test_backwards_compatibility.py
imports: import logging
  import pytest
  import sys
  import os
  import subprocess
  import uuid
  from contextlib import contextmanager
  from ray.job_submission import JobSubmissionClient, JobStatus
  from ray._private.test_utils import wait_for_condition
label_desc: Use image node_id 2 for calling a global function with example usage: _compatibility_script_path(file_name) and returns: os