<commit_before>module Commentable
  include DataMapper::Resource

  is :remixable,
    :suffix => "comment"

  property :id,         Serial
  property :comment,    String
  property :created_at, DateTime

  validates_present :comment, :context => [ :publish ]

end<commit_msg>[dm-more] Changes names of deprecated validations<commit_after>module Commentable
  include DataMapper::Resource

  is :remixable,
    :suffix => "comment"

  property :id,         Serial
  property :comment,    String
  property :created_at, DateTime

  validates_presence_of :comment, :context => [ :publish ]

end
{'fraction_non_alphanumeric': 0.0929054054054054, 'fraction_numerical': 0.0, 'mean_word_length': 3.9831932773109244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7625911', 'n_tokens_mistral': 179, 'n_tokens_neox': 168, 'n_words': 48}