code: def ac_run(ctx, param, incomplete):
      if ctx.params.get("remote"):
          return []
      # ensure that other_run follows the same logic as run, without needing to make
      #    that logic know about other_run
      if param.name == "other_run":
          ctx.params["run"] = ctx.params["other_run"]
      runs = runs_for_ctx(ctx)
      return sorted(
          [run.id for run in runs if run.id.startswith(incomplete)]
      )
  
imports: import logging
  import click
  from guild import click_util
  from .None import ac_support
label_desc: Use image node_id 1 for calling a global function with example usage: ac_run(ctx, param, incomplete) and returns: sorted, list