<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!({ first_name: "Gai",
               last_name: "V",
               email: "<EMAIL>",
               password: "<PASSWORD>",
               password_confirmation: "<PASSWORD>",
               admin: true,
               activated: true,
               activated_at: Time.zone.now,
               activation_email_sent_at: 1.hour.ago })

99.times do |n|
  first_name = Faker::Name.first_name
  last_name = Faker::Name.last_name
  email = "<EMAIL>"
  password = "<PASSWORD>"
  User.create!({ first_name: first_name,
                 last_name: last_name,<commit_msg>seed email w/ environment variable<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!({ first_name: "Gai",
               last_name: "V",
               email: ENV["GAI_EMAIL"],
               password: "<PASSWORD>",  # will change in production
               password_confirmation: "<PASSWORD>",
               admin: true,
               activated: true,
               activated_at: Time.zone.now,
               activation_email_sent_at: 1.hour.ago })

99.times do |n|
  first_name = Faker::Name.first_name
  last_name = Faker::Name.last_name
  email = "<EMAIL>"
  password = "<PASSWORD>"
  User.create!({ first_name: first_name,
                 last_name: last_name,
{'fraction_non_alphanumeric': 0.12039439543331604, 'fraction_numerical': 0.0031136481577581734, 'mean_word_length': 2.5970149253731343, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '7002382', 'n_tokens_mistral': 575, 'n_tokens_neox': 568, 'n_words': 169}