You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: uniqueness.rb
    path of file: ./repos/sequencescape/app/sample_manifest_excel/sample_manifest_excel/tags/validator
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module SampleManifestExcel
  module Tags
    module Validator
      ##
      # Un
    
        def check_tag_groups_and_indexes(tag_groups, tag_indexes, tag2_groups, tag2_indexes)
          i7s = []
          i5s = []
          tag_groups.each_with_index do |grp, index|
            i7s << TagGroup.find_by(name: grp)&.tags&.find_by(map_id: tag_indexes[index])&.oligo
          end
          tag2_groups.each_with_index do |grp, index|
            i5s << TagGroup.find_by(name: grp)&.tags&.find_by(map_id: tag2_indexes[index])&.oligo
          end
          find_tags_clash(i7s.zip(i5s))
        end