<commit_before>module PubkeyAudit
  class Host
    class KeyMap
      attr_accessor :key_map, :users, :anonymous_keys

      def initialize(keys, users_hash)
        @key_map = {}
        @users = []
        @anonymous_keys = []
        if keys
          keys.each do |key|
            key.gsub!(/ \S+$/, '')
            user = users_hash[key]
            @key_map[key] = user
            if user
              @users << user<commit_msg>leave comment in unknown pubkeys output<commit_after>module PubkeyAudit
  class Host
    class KeyMap
      attr_accessor :key_map, :users, :anonymous_keys

      def initialize(keys, users_hash)
        @key_map = {}
        @users = []
        @anonymous_keys = []
        if keys
          keys.each do |key|
            user = users_hash[key.gsub(/ \S+$/, '')]
            @key_map[key] = user
            if user
              @users << user
{'fraction_non_alphanumeric': 0.10758776896942242, 'fraction_numerical': 0.0, 'mean_word_length': 1.6869300911854104, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4638282', 'n_tokens_mistral': 271, 'n_tokens_neox': 266, 'n_words': 65}