<commit_before>class Article < ActiveRecord::Base
  validates_presence_of :title, length: { minimum: 5 }

  validates_presence_of :text, length: { minimum: 140 }
end<commit_msg>revise length validation so that it works by specifying parameter/field and then length minimum<commit_after>class Article < ActiveRecord::Base
  validates_presence_of :title
  validates :title, length: { minimum: 5 }
  validates_presence_of :text
  validates :text, length: { minimum: 140 }
end
{'fraction_non_alphanumeric': 0.0826271186440678, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 5.955882352941177, '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': '3670415', 'n_tokens_mistral': 149, 'n_tokens_neox': 138, 'n_words': 44}