<commit_before>Factory.define :portal_learner, :class => Portal::Learner do |f|
end

Factory.define :full_portal_learner, :parent => :portal_learner do |f|
  f.uuid "test"
  f.association :student, :factory => :full_portal_student
  f.association :offering, :factory => :portal_offering
end
<commit_msg>correct learner structure, so stricter checking works<commit_after>Factory.define :portal_learner, :class => Portal::Learner do |f|
end

Factory.define :full_portal_learner, :parent => :portal_learner do |f|
  f.uuid "test"
  f.association :student, :factory => :full_portal_student
  f.association :offering, :factory => :portal_offering
  f.after_create { |learner| learner.offering.clazz.students << learner.student }
end

{'fraction_non_alphanumeric': 0.12362637362637363, 'fraction_numerical': 0.0, 'mean_word_length': 6.217821782178218, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6117219', 'n_tokens_mistral': 246, 'n_tokens_neox': 252, 'n_words': 58}