<commit_before>class InterventionType < ActiveRecord::Base
  has_many :interventions

  def self.seed_somerville_intervention_types
    InterventionType.create([
      { name: "After-School Tutoring (ATP)" },
      { name: "Attendance Officer" },
      { name: "Attendance Contract" },
      { name: "Behavior Contract" },
      { name: "Behavior Plan" },
      { name: "Boys & Girls Club" },
      { name: "Classroom Academic Intervention" },
      { name: "Classroom Behavior Intervention" },
      { name: "Community Schools" },
      { name: "Counseling: In-House" },
      { name: "Counseling: Outside/Physician Referral" },
      { name: "ER Referral (Mental Health)" },
      { name: "Math Tutor" },
      { name: "Mobile Crisis Referral" },
      { name: "MTSS Referral" },
      { name: "OT/PT Consult" },
      { name: "Parent Communication" },
      { name: "Parent Conference/Meeting" },
      { name: "Parent Communication" },
      { name: "Peer Mediation" },
      { name: "Reading Specialist" },
      { name: "Reading Tutor" },
      { name: "SST Referral" },
      { name: "Weekly Call/Email Home" },
      { name: "X Block Tutor" },
      { name: "51a Filing" },
      { name: "Other" }
    ])
  end

  def self.atp
    find_by_name("After-School Tutoring (ATP)")
  end

end<commit_msg>correct interventions list (drop duplicate)<commit_after>class InterventionType < ActiveRecord::Base
  has_many :interventions

  def self.seed_somerville_intervention_types
    InterventionType.create([
      { name: "After-School Tutoring (ATP)" },
      { name: "Attendance Officer" },
      { name: "Attendance Contract" },
      { name: "Behavior Contract" },
      { name: "Behavior Plan" },
      { name: "Boys & Girls Club" },
      { name: "Classroom Academic Intervention" },
      { name: "Classroom Behavior Intervention" },
      { name: "Community Schools" },
      { name: "Counseling: In-House" },
      { name: "Counseling: Outside/Physician Referral" },
      { name: "ER Referral (Mental Health)" },
      { name: "Math Tutor" },
      { name: "Mobile Crisis Referral" },
      { name: "MTSS Referral" },
      { name: "OT/PT Consult" },
      { name: "Parent Communication" },
      { name: "Parent Conference/Meeting" },
      { name: "Peer Mediation" },
      { name: "Reading Specialist" },
      { name: "Reading Tutor" },
      { name: "SST Referral" },
      { name: "Weekly Call/Email Home" },
      { name: "X Block Tutor" },
      { name: "51a Filing" },
      { name: "Other" }
    ])
  end

  def self.atp
    find_by_name("After-School Tutoring (ATP)")
  end

end
{'fraction_non_alphanumeric': 0.14846153846153845, 'fraction_numerical': 0.0015384615384615385, 'mean_word_length': 2.6530898876404496, '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': '7635694', 'n_tokens_mistral': 853, 'n_tokens_neox': 815, 'n_words': 212}