code: def match_case(source_word: str, target_word: str) -> str:
      """Return a version of the target_word where the case matches the source_word."""
      # Check for all lower case source_word
      if all(letter.islower() for letter in source_word):
          return target_word.lower()
      # Check for all caps source_word
      if all(letter.isupper() for letter in source_word):
          return target_word.upper()
      # Check for capital source_word
      if source_word and source_word[0].isupper():
          return target_word.capitalize()
      return target_word
  
imports: import json
  import os
  import shlex
  import subprocess
  import uuid
  import zstandard
  from typing import Any, Callable, Dict, List, Optional, TypeVar
  from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor
  from tqdm import tqdm
  import pyhocon
  from dataclasses import asdict, is_dataclass
  from helm.common.hierarchical_logger import hlog, htrack, htrack_block
label_desc: Use image node_id 17 for calling a global function with example usage: match_case(source_word, target_word) and returns: target_word, target_word, target_word, target_word