code: def _determine_v1_goals(self, address_mapper, options):
      
      v1_goals, ambiguous_goals, _ = options.goals_by_version
      requested_goals = v1_goals + ambiguous_goals
  
      spec_parser = CmdLineSpecParser(self._root_dir)
  
      for goal in requested_goals:
        if address_mapper.is_valid_single_address(spec_parser.parse_spec(goal)):
          logger.warning("Command-line argument '{0}' is ambiguous and was assumed to be "
                         "a goal. If this is incorrect, disambiguate it with ./{0}.".format(goal))
  
      return [Goal.by_name(goal) for goal in requested_goals]
docs: Check and populate the requested goals for a given run.