code: def _cwd_title_label(cwd):
      parts = cwd.split(os.path.sep)
      if len(parts) < 2:
          return cwd
      return os.path.join(*parts[-2:])
  
imports: import logging
  import os
  import re
  import guild
  from guild import batch_util
  from guild import click_util
  from guild import config
  from guild import index
  from guild import run
  from guild import run_util
  from guild import util
  from guild import var
  from .None import compare_impl
  from .None import runs_impl
label_desc: Use image node_id 12 for calling the ViewDataImpl obj's underlying member method code with example usage: obj._cwd_title_label(cwd) and returns: os, cwd