<commit_before>from django.db import models


class GroupManager(models.Manager):

    def filter_wrestlers(self, l):
        return self.filter(wrestlers=Wrestler.objects.filter(id__in=[w.id for w in l]))


class WrestlingEntity(models.Model):

    name = models.CharField(max_length=128)

    def __unicode__(self):
        return self.name


class Group(models.Model):

    objects = GroupManager()

    wrestlers = models.ManyToManyField("Wrestler")
    name = models.CharField(max_length=128)

    def __unicode__(self):
        return self.name if self.name else "Unnamed Group"


class WrestlingTeam(WrestlingEntity, Group):

    pass


class Wrestler(WrestlingEntity):

    pass
<commit_msg>Group names should print differently.<commit_after>from django.db import models


class GroupManager(models.Manager):

    def filter_wrestlers(self, l):
        return self.filter(wrestlers=Wrestler.objects.filter(id__in=[w.id for w in l]))


class WrestlingEntity(models.Model):

    name = models.CharField(max_length=128)

    def __unicode__(self):
        return self.name


class Group(models.Model):

    objects = GroupManager()

    wrestlers = models.ManyToManyField("Wrestler")
    name = models.CharField(max_length=128)

    def __unicode__(self):
        return self.name if self.name else ", ".join([w.name for w in self.wrestlers])


class WrestlingTeam(WrestlingEntity, Group):

    pass


class Wrestler(WrestlingEntity):

    pass

{'fraction_non_alphanumeric': 0.10137931034482758, 'fraction_numerical': 0.008275862068965517, 'mean_word_length': 3.8528428093645486, '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': '616298', 'n_tokens_mistral': 476, 'n_tokens_neox': 435, 'n_words': 101}