<commit_before># spec/factories.rb

FactoryGirl.define do
  factory :garage do
    status    Garage::ACTIVE
    name      Faker::Name.name
    street    Faker::Address.street_name
    zip       Faker::Address.zip_code
    city      Faker::Address.city
    country   Faker::Address.country
    phone     Faker::PhoneNumber.phone_number
    tax_id    Faker::Code.isbn
    latitude  Faker::Address.latitude
    longitude Faker::Address.longitude

    factory :turin_garage, class: Garage do
      zip     '10141'
      city    'Torino'<commit_msg>Added unique email generation in Garage Factory.<commit_after># spec/factories.rb

FactoryGirl.define do
  factory :garage do
    status    Garage::ACTIVE
    name      Faker::Name.name
    street    Faker::Address.street_name
    zip       Faker::Address.zip_code
    city      Faker::Address.city
    country   Faker::Address.country
    phone     Faker::PhoneNumber.phone_number
    tax_id    Faker::Code.isbn
    latitude  Faker::Address.latitude
    longitude Faker::Address.longitude
    sequence(:email) {|n| Faker::Internet.safe_email(n) }

    factory :turin_garage, class: Garage do
      zip     '10141'
      city    'Torino'
{'fraction_non_alphanumeric': 0.0855207451312447, 'fraction_numerical': 0.00846740050804403, 'mean_word_length': 2.825242718446602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4519903', 'n_tokens_mistral': 387, 'n_tokens_neox': 373, 'n_words': 80}