code: def pretty_file_name(f):
      try:
          return pretty_file_name_cache[f]
      except KeyError:
          pass
  
      parts = f.split(os.path.sep)
      if "hypothesis" in parts:
          parts = parts[-parts[::-1].index("hypothesis") :]
      result = os.path.sep.join(parts)
      pretty_file_name_cache[f] = result
      return result
  
imports: from __future__ import absolute_import, division, print_function
  import json
  import os
  import sys
  from contextlib import contextmanager
  from hypothesis.internal.reflection import proxies
label_desc: Use image node_id 1 for calling a global function with example usage: pretty_file_name(f) and returns: result, pretty_file_name_cache