<commit_before>"""
byceps.services.tourney.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2019 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from typing import NewType
from uuid import UUID

from attr import attrs


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@attrs(auto_attribs=True, frozen=True, slots=True)
class Match:
    id: MatchID<commit_msg>Change tourney match transfer model from `attrs` to `dataclass`<commit_after>"""
byceps.services.tourney.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2019 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from dataclasses import dataclass
from typing import NewType
from uuid import UUID


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@dataclass(frozen=True)
class Match:
    id: MatchID
{'fraction_non_alphanumeric': 0.16819317235636969, 'fraction_numerical': 0.013322231473771857, 'mean_word_length': 6.5125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1999864', 'n_tokens_mistral': 424, 'n_tokens_neox': 376, 'n_words': 97}