code: def select(
      runs=None, min=None, max=None, cwd=".", guild_home=None, **kw
  ):
      from guild import click_util
      from guild.commands import runs_impl
  
      runs = runs or []
      args = click_util.Args(runs=runs, min=min, max=max)
      _apply_runs_filters(kw, args)
      _apply_remote(kw, args)
      _assert_empty_kw(kw, "select()")
      with Env(cwd, guild_home):
          try:
              return runs_impl.select_run(args)
          except SystemExit as e:
              raise ValueError(e) from e
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 24 for calling a global function with example usage: select(runs, min, max, cwd, guild_home) and returns: runs_impl