<commit_before>class Decision < ActiveRecord::Base
  has_many :participations
  has_many :participants, through: :participations, source: :user
  has_many :proposals, through: :participations
  # has_one  :winning_proposal, through: :participations, source: :proposal
end<commit_msg>validates_presence_of :context to Decision model<commit_after>class Decision < ActiveRecord::Base
  has_many :participations
  has_many :participants, through: :participations, source: :user
  has_many :proposals, through: :participations
  # has_one  :winning_proposal, through: :participations, source: :proposal

  validates_presence_of :context
end
{'fraction_non_alphanumeric': 0.08503937007874016, 'fraction_numerical': 0.0, 'mean_word_length': 7.594594594594595, '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': '2093319', 'n_tokens_mistral': 203, 'n_tokens_neox': 188, 'n_words': 49}