<commit_before>from ..models import Name
from datetime import datetime
from dateutil.relativedelta import relativedelta


class NameStatisticsMonth(object):
    """A simple datatype to represent Name statistics for a
    single month.
    """

    def __init__(self, **kwargs):
        self.total = kwargs.get('total', 0)
        self.total_to_date = kwargs.get('total_to_date', 0)
        self.month = kwargs.get('month', None)

    def __repr__(self):
        return '<{name} {0}, {1}>'.format(
            str(self.month), self.total, name=self.__class__.__name__)


class NameStatisticsType(object):<commit_msg>Remove the __repr__ method because it is not necessary.<commit_after>from ..models import Name
from datetime import datetime
from dateutil.relativedelta import relativedelta


class NameStatisticsMonth(object):
    """A simple datatype to represent Name statistics for a
    single month.
    """

    def __init__(self, **kwargs):
        self.total = kwargs.get('total', 0)
        self.total_to_date = kwargs.get('total_to_date', 0)
        self.month = kwargs.get('month', None)


class NameStatisticsType(object):
{'fraction_non_alphanumeric': 0.11032656663724624, 'fraction_numerical': 0.00529567519858782, 'mean_word_length': 3.6666666666666665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3780078', 'n_tokens_mistral': 333, 'n_tokens_neox': 327, 'n_words': 94}