<commit_before>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#

"""oClubs enums."""

from enum import Enum


class UserType(Enum):
    """Enum regarding the type of a user."""
    STUDENT = 1
    TEACHER = 2
    ADMIN = 3 #legacy
    CLUB_ADMIN = 4
    CLASSROOM_ADMIN = 5
    DIRECTOR = 6


    @property
    def format_name(self):
        """Formats the value of the enum for display."""
        return ['', 'Student', 'Teacher', 'Admin'][self.value]


class ClubType(Enum):
    """Enum regarding the type of a club."""
    ACADEMICS = 1
    SPORTS = 2
    ARTS = 3
    SERVICES = 4
    ENTERTAINMENT = 5
    OTHERS = 6
    SCHOOL_TEAMS = 7

    @property
    def format_name(self):
        """Formats the value of the enum for display."""
        return ['', 'Academics', 'Sports', 'Arts', 'Services',
                'Entertainment', 'Others', 'School Teams'][self.value]


class ActivityTime(Enum):
    """Enum regarding the time of an activity."""
    UNKNOWN = 0
    NOON = 1
    AFTERSCHOOL = 2
    HONGMEI = 3
    OTHERS = 4

    @property
    def format_name(self):<commit_msg>Included new user enums for function format_name<commit_after>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#

"""oClubs enums."""

from enum import Enum


class UserType(Enum):
    """Enum regarding the type of a user."""
    STUDENT = 1
    TEACHER = 2
    ADMIN = 3 #legacy
    CLUB_ADMIN = 4
    CLASSROOM_ADMIN = 5
    DIRECTOR = 6


    @property
    def format_name(self):
        """Formats the value of the enum for display."""
        return ['', 'Student', 'Teacher', 'Admin',
                'Club Administrator','Classroom Reservation Administrator',
                'Director'][self.value]


class ClubType(Enum):
    """Enum regarding the type of a club."""
    ACADEMICS = 1
    SPORTS = 2
    ARTS = 3
    SERVICES = 4
    ENTERTAINMENT = 5
    OTHERS = 6
    SCHOOL_TEAMS = 7

    @property
    def format_name(self):
        """Formats the value of the enum for display."""
        return ['', 'Academics', 'Sports', 'Arts', 'Services',
                'Entertainment', 'Others', 'School Teams'][self.value]


class ActivityTime(Enum):
    """Enum regarding the time of an activity."""
    UNKNOWN = 0
    NOON = 1
    AFTERSCHOOL = 2
    HONGMEI = 3
    OTHERS = 4

    @property
    def format_name(self):
{'fraction_non_alphanumeric': 0.12840466926070038, 'fraction_numerical': 0.016428880242109815, 'mean_word_length': 2.3929618768328447, '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': '2305916', 'n_tokens_mistral': 834, 'n_tokens_neox': 741, 'n_words': 234}