<commit_before>import factory

from django.contrib.auth import get_user_model


BB_USER_MODEL = get_user_model()


class BlueBottleUserFactory(factory.DjangoModelFactory):
    FACTORY_FOR = BB_USER_MODEL

    email = factory.Sequence(lambda n: '<EMAIL>(n))
    username = factory.Sequence(lambda n: 'Johndoe{0}'.format(n))
    password = factory.PostGenerationMethodCall('set_password', '<PASSWORD>')
    is_active = True
<commit_msg>`accounts_factories` reviewed.<commit_after>import factory

from django.contrib.auth import get_user_model


BB_USER_MODEL = get_user_model()


class BlueBottleUserFactory(factory.DjangoModelFactory):
    FACTORY_FOR = BB_USER_MODEL

    username = factory.Sequence(lambda n: 'user_{0}'.format(n))
    email = factory.Sequence(lambda o: <EMAIL>(o))
    password = factory.PostGenerationMethodCall('set_password', '<PASSWORD>')
    is_active = True

{'fraction_non_alphanumeric': 0.10884353741496598, 'fraction_numerical': 0.0022675736961451248, 'mean_word_length': 5.740458015267175, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7047422', 'n_tokens_mistral': 289, 'n_tokens_neox': 281, 'n_words': 51}