code: def _apply_default_runs(args):
      if not args.run:
          if args.dir or args.working:
              args.run = "1"
          else:
              args.run, args.other_run = ("2", "1")
      elif not args.other_run:
          if args.dir or args.working:
              args.run, args.other_run = (args.run, None)
          else:
              cli.error(
                  "diff requires two runs\n"
                  "Try specifying a second RUN or 'guild diff --help' "
                  "for more information."
              )
      else:
          assert args.other_run, args
          if args.dir:
              cli.error("cannot specify second RUN and --dir")
          if args.working:
              cli.error("cannot specify second RUN and --working")
  
imports: import logging
  import os
  import re
  import subprocess
  from guild import cli
  from guild import click_util
  from guild import cmd_impl_support
  from guild import config
  from guild import run_util
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 4 for calling a global function with example usage: _apply_default_runs(args) without return types