code: def _clear_non_deterministic_fields(obs):
      for unit in obs.observation.raw_data.units:
          unit.ClearField("tag")
          for order in unit.orders:
              order.ClearField("target_unit_tag")
  
      for action in obs.actions:
          if action.HasField("action_raw"):
              if action.action_raw.HasField("unit_command"):
                  action.action_raw.unit_command.ClearField(
                      "target_unit_tag"
                  )
  
file_path: pysc2/pysc2/bin/compare_binaries.py
imports: import collections
  import sys
  from absl import app
  from absl import flags
  from pysc2 import run_configs
  from pysc2.lib import image_differencer
  from pysc2.lib import proto_diff
  from pysc2.lib import remote_controller
  from pysc2.lib import replay
  from pysc2.lib import stopwatch
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _clear_non_deterministic_fields(obs) without return types