<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).
tsp_user = User.create!(nickname: 'tspmember', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
tsp_user.profile.role_name = 'tsp'
tsp_user.profile.save!

user = User.create!(nickname: 'requester', email: '<EMAIL>',
                    password: '<PASSWORD>', password_confirmation: '<PASSWORD>')

administrative = User.create!(nickname: 'administrative', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
administrative.profile.role_name = 'administrative'
administrative.profile.save!

assistant = User.create!(nickname: 'assistant', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
assistant.profile.role_name = 'assistant'
assistant.profile.save!<commit_msg>Seeds for roles :material and :shipper<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).
tsp_user = User.create!(nickname: 'tspmember', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
tsp_user.profile.role_name = 'tsp'
tsp_user.profile.save!

user = User.create!(nickname: 'requester', email: '<EMAIL>',
                    password: '<PASSWORD>', password_confirmation: '<PASSWORD>')

administrative = User.create!(nickname: 'administrative', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
administrative.profile.role_name = 'administrative'
administrative.profile.save!

assistant = User.create!(nickname: 'assistant', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
assistant.profile.role_name = 'assistant'
assistant.profile.save!

material = User.create!(nickname: 'material', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
material.profile.role_name = 'material'
material.profile.save!

shipper = User.create!(nickname: 'shipper', email: '<EMAIL>',
                       password: '<PASSWORD>', password_confirmation: '<PASSWORD>')
shipper.profile.role_name = 'shipper'
shipper.profile.save!
{'fraction_non_alphanumeric': 0.1383147853736089, 'fraction_numerical': 0.0, 'mean_word_length': 4.179012345679013, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6662656', 'n_tokens_mistral': 707, 'n_tokens_neox': 716, 'n_words': 188}