<commit_before>module ComputedCustomFieldPlugin
  class Patcher
    def self.patch_for_computing_cfs
      classes = [
          Issue, Project, User, TimeEntry, Version, Document,
          Group, TimeEntryActivity, IssuePriority, DocumentCategory
      ]
      classes.each do |klass|
        unless klass.included_modules.include?(ComputedCustomFieldPlugin::KlassPatch)
          klass.send(:include, ComputedCustomFieldPlugin::KlassPatch)
        end
      end
    end
  end<commit_msg>fix: exclude Document class from patched classes<commit_after>module ComputedCustomFieldPlugin
  class Patcher
    def self.patch_for_computing_cfs
      classes = [
          Issue, Project, User, TimeEntry, Version,
          Group, TimeEntryActivity, IssuePriority, DocumentCategory
      ]
      classes.each do |klass|
        if klass.included_modules.exclude?(ComputedCustomFieldPlugin::KlassPatch)
          klass.send(:include, ComputedCustomFieldPlugin::KlassPatch)
        end
      end
    end
  end
{'fraction_non_alphanumeric': 0.06593406593406594, 'fraction_numerical': 0.0, 'mean_word_length': 3.175, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2303744', 'n_tokens_mistral': 270, 'n_tokens_neox': 272, 'n_words': 60}