<commit_before>class Question < ActiveRecord::Base
  has_many :comments
  belongs_to :topic
end<commit_msg>add presence validation to question comment<commit_after>class Question < ActiveRecord::Base
  has_many :comments
  belongs_to :topic

  validates :content, presence: true
  validates :topic, presence: true
end

#six and 140 character limit
{'fraction_non_alphanumeric': 0.06628242074927954, 'fraction_numerical': 0.008645533141210375, 'mean_word_length': 6.1020408163265305, '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': '4785659', 'n_tokens_mistral': 100, 'n_tokens_neox': 97, 'n_words': 33}