<commit_before># This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
#   Mayor.create(name: 'Emanuel', city: cities.first)<commit_msg>Add seed data<commit_after># Organizations
csc = Organization.create!(name: 'Pitt CSC')

# Users
joel = User.create!(email: '<EMAIL>', password: '<PASSWORD>')

# Accesses
csc.accesses.create!(user: joel)

# Members
nina = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15559647454')
josh = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15550788295')
will = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15558189705')
annie = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15552102930')
lydia = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15555275228')
jared = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15557570576')
harvey = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15555596301')
carolyn = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15553411297')
rashad = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15556254118')
sima = Member.create!(name: '<NAME>', email: '<EMAIL>', phone: '+15554871077')

# Events
meeting = csc.events.create!(name: 'Meeting', date: 1.week.ago)
workshop = csc.events.create!(name: 'Workshop', date: 2.weeks.from_now)

# Attendances
meeting.attendances.create!(member: nina)
meeting.attendances.create!(member: harvey)
meeting.attendances.create!(member: carolyn)
meeting.attendances.create!(member: will)
{'fraction_non_alphanumeric': 0.19918462434478743, 'fraction_numerical': 0.06523005241700641, 'mean_word_length': 6.601769911504425, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5120236', 'n_tokens_mistral': 663, 'n_tokens_neox': 602, 'n_words': 153}