<commit_before>from celery.decorators import task


@task
def render_participants(instance):
    from components.people.models import Idol, Membership

    # Do we have existing participants? Clear them out so we can
    # calculate them again.
    instance.participating_groups.clear()
    GroupsThrough = instance.participating_groups.through
    GroupsThrough.objects.all().delete()

    instance.participating_idols.clear()
    IdolsThrough = instance.participating_idols.through
    IdolsThrough.objects.all().delete()
<commit_msg>Hm, nevermind.<commit_after>from celery.decorators import task


@task
def render_participants(instance):
    from components.people.models import Idol, Membership

    # Do we have existing participants? Clear them out so we can
    # calculate them again.
    instance.participating_groups.clear()
    instance.participating_idols.clear()

{'fraction_non_alphanumeric': 0.07753705815279362, 'fraction_numerical': 0.0, 'mean_word_length': 4.4875, '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': '7126077', 'n_tokens_mistral': 253, 'n_tokens_neox': 231, 'n_words': 63}