<commit_before># MIT License
# Copyright (c) 2017 MassChallenge, Inc.

from __future__ import unicode_literals

from django.db.models import CharField

from accelerator_abstract.models.accelerator_model import AcceleratorModel


class BaseStartupRole(AcceleratorModel):
    # Known Startup Roles
    FINALIST = "Finalist"
    ENTRANT = "Entrant"
    FAST_TRACK = "Fast Track"
    AIR = "Alum In Residence"
    MC_STAFF = "MC Staff"

    FINALIST_STARTUP_ROLES = [FINALIST,
                              AIR,
                              MC_STAFF]

    name = CharField(max_length=255)

    class Meta(AcceleratorModel.Meta):
        db_table = '{}_startuprole'.format(AcceleratorModel.Meta.app_label)
        abstract = True<commit_msg>add changes to Startup Role from ae8d48f2<commit_after># MIT License
# Copyright (c) 2017 MassChallenge, Inc.

from __future__ import unicode_literals

from django.db.models import CharField
from django.utils.encoding import python_2_unicode_compatible

from accelerator_abstract.models.accelerator_model import AcceleratorModel


@python_2_unicode_compatible
class BaseStartupRole(AcceleratorModel):
    # Known Startup Roles
    FINALIST = "Finalist"
    ENTRANT = "Entrant"
    FAST_TRACK = "Fast Track"
    AIR = "Alum In Residence"
    MC_STAFF = "MC Staff"
    WINNER = "Winner"
    GOLD_WINNER = "Gold Winner"
    SILVER_WINNER = "Silver Winner"
    PLATINUM_WINNER = "Platinum Winner"
    DIAMOND_WINNER = "Diamond Winner"
    IN_KIND_WINNER = "In-Kind Winner"
    SIDECAR_WINNER = "Sidecar Winner"

    FINALIST_STARTUP_ROLES = [FINALIST,
                              AIR,
                              MC_STAFF]

    WINNER_STARTUP_ROLES = [WINNER,
                            GOLD_WINNER,
                            SILVER_WINNER,
                            PLATINUM_WINNER,
                            DIAMOND_WINNER,
                            IN_KIND_WINNER,
                            SILVER_WINNER]

    name = CharField(max_length=255)

    class Meta(AcceleratorModel.Meta):
        db_table = '{}_startuprole'.format(AcceleratorModel.Meta.app_label)
        abstract = True

    def __str__(self):
        return self.name
{'fraction_non_alphanumeric': 0.06871278057718735, 'fraction_numerical': 0.009161704076958314, 'mean_word_length': 2.36, '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': '4035516', 'n_tokens_mistral': 731, 'n_tokens_neox': 685, 'n_words': 144}