<commit_before>Fabricator(:provider) do
  transient confirmed: true

  username  { Forgery(:name).first_name }
  password  { <PASSWORD>') }

  firstname { Forgery(:name).first_name }
  lastname  { Forgery(:name).last_name }

  street { "#{ Forgery(:address).street_name } #{ Forgery(:address).street_number }" }
  zip    { Random.rand(9999).to_s.rjust(4, '0') }
  city   { Forgery(:address).city }

  contact_preference  { 'mobile' }
  contact_availability { 'all day' }

  active { true }

  after_create do |user, transients|
    user.confirm! if transients[:confirmed]
  end
end<commit_msg>Ensure provider username is always unique.<commit_after>Fabricator(:provider) do
  transient confirmed: true

  username  { sequence(:username) { |i| "user#{ i }" }}
  password  { <PASSWORD>, 'a') }

  firstname { Forgery(:name).first_name }
  lastname  { Forgery(:name).last_name }

  street { "#{ Forgery(:address).street_name } #{ Forgery(:address).street_number }" }
  zip    { Random.rand(9999).to_s.rjust(4, '0') }
  city   { Forgery(:address).city }

  contact_preference  { 'mobile' }
  contact_availability { 'all day' }

  active { true }

  after_create do |user, transients|
    user.confirm! if transients[:confirmed]
  end
end
{'fraction_non_alphanumeric': 0.1467964314679643, 'fraction_numerical': 0.009732360097323601, 'mean_word_length': 4.099173553719008, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5311205', 'n_tokens_mistral': 437, 'n_tokens_neox': 410, 'n_words': 82}