<commit_before># Generated with RailsBricks
# Initial seed file to use with Devise User Model

# Temporary admin account
u = User.new(
  username: "admin",
  email: "<EMAIL>",
  password: "<PASSWORD>",
  password_confirmation: "<PASSWORD>",
  admin: true
)
u.skip_confirmation!
u.save!

# The 'dogweather' user
u = User.new(
  username: 'dogweather',
  email:    '<EMAIL>',
  password: '<PASSWORD>',
  password_confirmation: '<PASSWORD>',
  )
u.skip_confirmation!
u.save!





# Prompt for test data
# STDOUT.puts<commit_msg>updated seeds.rb<commit_after># Generated with RailsBricks
# Initial seed file to use with Devise User Model

# Temporary admin account
u = User.new(
  username: "admin",
  email: "<EMAIL>",
  password: "<PASSWORD>",
  password_confirmation: "<PASSWORD>",
  admin: true
)
u.skip_confirmation!
u.save!

# The 'robb' user
robb = User.new(
  username: 'robb',
  email:    '<EMAIL>',
  password: '<PASSWORD>',
  password_confirmation: '<PASSWORD>',
  )
robb.skip_confirmation!
robb.save!

# The matchers
[
  {code: 'be_status',                min_args: 0, max_args: 0},
  {code: 'have_a_valid_cert',        min_args: 0, max_args: 0},
  {code: 'enforce_https_everywhere', min_args: 0, max_args: 0},
  {code: 'redirect_permanently_to',  min_args: 1, max_args: 1},
  {code: 'redirect_temporarily_to',  min_args: 1, max_args: 1}
].each do |m|
  matcher = Matcher.new
  matcher.code     = m[:code]
  matcher.min_args = m[:min_args]
  matcher.max_args = m[:max_args]
  matcher.save!
end


# Robb's data
Project.create!(name: 'Quisitive', user: robb)


# Prompt for test data
# STDOUT.puts
{'fraction_non_alphanumeric': 0.14472863381160325, 'fraction_numerical': 0.006238303181534623, 'mean_word_length': 4.241830065359477, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2697440', 'n_tokens_mistral': 616, 'n_tokens_neox': 599, 'n_words': 151}