<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).

registrar1 = Registrar.where(
  name: 'Registrar First AS',
  reg_no: '10300220',
  street: 'Pärnu mnt 2',
  city: 'Tallinn',
  state: 'Harju maakond',
  zip: '11415',
  email: '<EMAIL>',
  country_code: 'EE',
  code: 'REG1'
).first_or_create!

@api_user1 = ApiUser.where(
  username: 'registrar1',
).first_or_create!(
  password: 'password',
  identity_code: '51001091072',
  active: true,
  registrar: registrar1
).first


registrar2 = Registrar.where(
  name: 'Registrar Second AS',
  reg_no: '10529229',
  street: 'Vabaduse pst 32',
  city: 'Tallinn',
  state: 'Harju maakond',
  zip: '11315',
  email: '<EMAIL>',
  country_code: 'EE',
  code: 'REG2'
).first_or_create!<commit_msg>Update seeds file<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).

registrar1 = Registrar.where(
  name: 'Registrar First AS',
  reg_no: '10300220',
  street: 'Pärnu mnt 2',
  city: 'Tallinn',
  state: 'Harju maakond',
  zip: '11415',
  email: '<EMAIL>',
  country_code: 'EE',
  code: 'REG1'
).first_or_create!

@api_user1 = ApiUser.where(
  username: 'registrar1',
).first_or_create!(
  password: 'password',
  identity_code: '51001091072',
  active: true,
  registrar: registrar1
)


registrar2 = Registrar.where(
  name: '<NAME>',
  reg_no: '10529229',
  street: 'Vabaduse pst 32',
  city: 'Tallinn',
  state: 'Harju maakond',
  zip: '11315',
  email: '<EMAIL>',
  country_code: 'EE',
  code: 'REG2'
).first_or_create!
{'fraction_non_alphanumeric': 0.1369480156512018, 'fraction_numerical': 0.05254332029066518, 'mean_word_length': 4.49079754601227, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3039294', 'n_tokens_mistral': 724, 'n_tokens_neox': 680, 'n_words': 200}