<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>adicionados seeds para o ambiente de testes<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: 'Administrador', email: '<EMAIL>', password: '<PASSWORD>'

case Rails.env
when 'development'
    puts 'Nada a alimentar'
when 'test'
    user = User.create name: 'John', email: '<EMAIL>', password: '<PASSWORD>'
    puts "#{user.name} criado com sucesso"
    user = User.create name: 'Gib', email: '<EMAIL>', password: '<PASSWORD>'
    puts "#{user.name} criado com sucesso"
    user = User.create name: 'Joe', email: '<EMAIL>', password: '<PASSWORD>'
    puts "#{user.name} criado com sucesso"
    user = User.create name: 'Lucy', email: '<EMAIL>', password: '<PASSWORD>'
    puts "#{user.name} criado com sucesso"
    user = User.create name: 'Anna', email: '<EMAIL>', password: '<PASSWORD>'
    puts "#{user.name} criado com sucesso"
end
{'fraction_non_alphanumeric': 0.1466928618205632, 'fraction_numerical': 0.0, 'mean_word_length': 4.437722419928826, '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': '4456614', 'n_tokens_mistral': 485, 'n_tokens_neox': 488, 'n_words': 180}