code: def runs_for_ctx(ctx):
      from guild import config
      from . import runs_impl
  
      args = _runs_args_for_ctx(ctx)
      with config.SetGuildHome(ctx.parent.params.get("guild_home")):
          try:
              return runs_impl.runs_for_args(args, ctx=ctx)
          except SystemExit:
              # Raised when cannot find runs for args.
              return []
  
imports: import logging
  import click
  from guild import click_util
  from .None import ac_support
label_desc: Use image node_id 3 for calling a global function with example usage: runs_for_ctx(ctx) and returns: runs_impl, list