<commit_before>class FakeDibelsResultGenerator

  def initialize(student)
    @dates = (2010..2015).to_a.shuffle
    @student = student
  end

  def dibels_assessment_id
    @assessment_id ||= Assessment.find_by_family('DIBELS').id
  end

  def next
    {
      assessment_id: dibels_assessment_id,
      date_taken: DateTime.new(@dates.pop, 5, 15),
      performance_level: ["Intensive", "Strategic", "Core", "Benchmark", "CORE", nil].sample,
      student_id: @student.id
    }
  end
end
<commit_msg>Update DIBELS demo data generator to remove nil, duplicate CORE and Benchmark, which isn't used<commit_after>class FakeDibelsResultGenerator

  def initialize(student)
    @dates = (2010..2015).to_a.shuffle
    @student = student
  end

  def dibels_assessment_id
    @assessment_id ||= Assessment.find_by_family('DIBELS').id
  end

  def next
    {
      assessment_id: dibels_assessment_id,
      date_taken: DateTime.new(@dates.pop, 5, 15),
      performance_level: ["Intensive", "Strategic", "Core"].sample,
      student_id: @student.id
    }
  end
end

{'fraction_non_alphanumeric': 0.11132075471698114, 'fraction_numerical': 0.020754716981132074, 'mean_word_length': 3.6946902654867255, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4323354', 'n_tokens_mistral': 391, 'n_tokens_neox': 358, 'n_words': 77}