<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)
User.create!(name:  "Admin User",
             email: "<EMAIL>",
             password:              "<PASSWORD>",
             password_confirmation: "<PASSWORD>",
             admin: true)

99.times do |n|
  name  = Faker::Name.name
  email = Faker::Internet.safe_email(name.split(" ")[0])
  password = "password"
  User.create(name:  name,
               email: email,
               password:              password,
               password_confirmation: password)
end<commit_msg>micropost seeds<commit_after># 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)
User.create!(name:  "Admin User",
             email: "<EMAIL>",
             password:              "<PASSWORD>",
             password_confirmation: "<PASSWORD>",
             admin: true)

99.times do |n|
  name  = Faker::Name.name
  email = Faker::Internet.safe_email(name.split(" ")[0])
  password = "password"
  User.create(name:  name,
               email: email,
               password:              password,
               password_confirmation: password)
end

users = User.order(:created_at).take(6)
50.times do
  content = Faker::Lorem.sentence(5)
  users.each { |user| user.microposts.create!(content: content) }
end
{'fraction_non_alphanumeric': 0.12581344902386118, 'fraction_numerical': 0.005422993492407809, 'mean_word_length': 2.6534653465346536, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3979219', 'n_tokens_mistral': 544, 'n_tokens_neox': 537, 'n_words': 163}