code: def main(unused_argv):
      env = Env()
  
      def rand_fl_coord():
          return (point.Point.unit_rand() * 64).floor()
  
      def rand_world_coord():
          return (point.Point.unit_rand() * 20).floor() + 20
  
      def random_probe_loc(obs):
          return random.choice(
              _xy_locs(
                  env.fl_obs(obs).feature_screen.unit_type
                  == units.Protoss.Probe
              )
          )
  
      def random_probe_tag(obs):
          return random.choice(
              get_units(obs, unit_type=units.Protoss.Probe).keys()
          )
  
      for i, obs in env.check_apm("no-op"):
          pass
  
      for i, obs in env.check_apm("fl stop, single probe"):
          if i == 0:
              env.fl_action(
                  obs, "select_point", "select", random_probe_loc(obs)
              )
          env.fl_action(obs, "Stop_quick", "now")
  
      for i, obs in env.check_apm(
          "fl smart, single probe, random location"
      ):
          if i == 0:
              env.fl_action(
                  obs, "select_point", "select", random_probe_loc(obs)
              )
          env.fl_action(obs, "Smart_screen", "now", rand_fl_coord())
  
      for i, obs in env.check_apm(
          "fl move, single probe, random location"
      ):
          if i == 0:
              env.fl_action(
                  obs, "select_point", "select", random_probe_loc(obs)
              )
          env.fl_action(obs, "Move_screen", "now", rand_fl_coord())
  
      for i, obs in env.check_apm("fl stop, random probe"):
          env.fl_action(
              obs, "select_point", "select", random_probe_loc(obs)
          )
          env.fl_action(obs, "Stop_quick", "now")
  
      for i, obs in env.check_apm(
          "fl move, random probe, random location"
      ):
          env.fl_action(
              obs, "select_point", "select", random_probe_loc(obs)
          )
          env.fl_action(obs, "Move_screen", "now", rand_fl_coord())
  
      for i, obs in env.check_apm("raw stop, random probe"):
          env.raw_unit_command("Stop_quick", random_probe_tag(obs))
  
      for i, obs in env.check_apm(
          "raw move, random probe, random location"
      ):
          env.raw_unit_command(
              "Move_screen", random_probe_tag(obs), rand_world_coord()
          )
  
      probe = None
      for i, obs in env.check_apm(
          "raw move, single probe, random location"
      ):
          if not probe:
              probe = random_probe_tag(obs)
          env.raw_unit_command("Move_screen", probe, rand_world_coord())
  
imports: import random
  from absl import app
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.lib import actions
  from pysc2.lib import features
  from pysc2.lib import point
  from pysc2.lib import units
  from s2clientprotocol import common_pb2
  from s2clientprotocol import error_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: main(unused_argv) and returns: unknown, unknown, random, random