<commit_before>class AssistantRegisteredToGivenCourse < ActiveRecord::Base
  belongs_to :given_course
  belongs_to :assistant
  has_many :assistant_registered_to_given_course_has_lab_has_groups
  has_many :lab_has_groups, through: :assistant_registered_to_given_course_has_lab_has_groups
  validates_presence_of :given_course, :assistant
end
<commit_msg>Add lab group relation to artgc [#157]<commit_after>class AssistantRegisteredToGivenCourse < ActiveRecord::Base
  belongs_to :given_course
  belongs_to :assistant
  has_many :assistant_registered_to_given_course_has_lab_has_groups
  has_many :lab_has_groups, through: :assistant_registered_to_given_course_has_lab_has_groups
  has_many :lab_groups, through: :lab_has_groups
  validates_presence_of :given_course, :assistant
end

{'fraction_non_alphanumeric': 0.049872122762148335, 'fraction_numerical': 0.0038363171355498722, 'mean_word_length': 10.347826086956522, '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': '248674', 'n_tokens_mistral': 274, 'n_tokens_neox': 258, 'n_words': 44}