<commit_before>class Tag < ApplicationRecord
  has_many :pin_tags

  TAGS = %w(natural historical artistic quirky beautiful cultural)

  validates :label, presence: true,
    inclusion: { in: %w(Beautiful, Cultural, Quirky, Artistic, Historical, Natural), message: "%{value} is not one of the tags" }

end<commit_msg>Update tag.rb<commit_after>class Tag < ApplicationRecord
  has_many :pin_tags

  TAGS = %w(Natural Historical Artistic Quirky Cultural Beautiful)

  validates :label, presence: true,
    inclusion: { in: %w(Natural Historical Artistic Quirky Cultural Beautiful), message: "%{value} is not one of the tags" }

end
{'fraction_non_alphanumeric': 0.09538950715421304, 'fraction_numerical': 0.0, 'mean_word_length': 5.237623762376238, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2923240', 'n_tokens_mistral': 196, 'n_tokens_neox': 185, 'n_words': 66}