<commit_before>"""
Defualt settings for zebra
"""
import datetime
import os


try:
    STRIPE_PUBLISHABLE = os.environ['STRIPE_PUBLISHABLE']
except KeyError:
    STRIPE_PUBLISHABLE = ''

try:
    STRIPE_SECRET = os.environ['STRIPE_SECRET']
except KeyError:
    STRIPE_SECRET = ''

ZEBRA_ENABLE_APP = False
ZEBRA_TODAY = datetime.date.today()
ZEBRA_CARD_YEARS = range(ZEBRA_TODAY.year, ZEBRA_TODAY.year+10)
ZEBRA_CARD_YEARS_CHOICES = [(i,i) for i in ZEBRA_CARD_YEARS]

ZEBRA_MAXIMUM_STRIPE_CUSTOMER_LIST_SIZE = 100

ZEBRA_AUDIT_RESULTS = {
    'active': (True, 'active'),
    'no_subscription': (False, 'no_subscription'),
    'past_due': (True, 'past_due'),
    'suspended': (False, 'suspended'),
    'trialing': (True, 'trialing'),
    'unpaid': (False, 'cancelled')
}<commit_msg>updated audit result defaults. added active / inactive status tuples<commit_after>"""
Defualt settings for zebra
"""
import datetime
import os


try:
    STRIPE_PUBLISHABLE = os.environ['STRIPE_PUBLISHABLE']
except KeyError:
    STRIPE_PUBLISHABLE = ''

try:
    STRIPE_SECRET = os.environ['STRIPE_SECRET']
except KeyError:
    STRIPE_SECRET = ''

ZEBRA_ENABLE_APP = False

ZEBRA_TODAY = datetime.date.today()
ZEBRA_CARD_YEARS = range(ZEBRA_TODAY.year, ZEBRA_TODAY.year+12)
ZEBRA_CARD_YEARS_CHOICES = [(i,i) for i in ZEBRA_CARD_YEARS]

ZEBRA_MAXIMUM_STRIPE_CUSTOMER_LIST_SIZE = 100

ZEBRA_AUDIT_RESULTS = {
    'active': 'active',
    'no_subscription': 'no_subscription',
    'past_due': 'past_due',
    'suspended': 'suspended',
    'trialing': 'trialing',
    'unpaid': 'unpaid',
    'cancelled': 'cancelled'
}

ZEBRA_ACTIVE_STATUSES = ('active', 'past_due', 'trialing')
ZEBRA_INACTIVE_STATUSES = ('cancelled', 'suspended', 'unpaid', 'no_subscription')
{'fraction_non_alphanumeric': 0.13191244239631336, 'fraction_numerical': 0.00576036866359447, 'mean_word_length': 5.50561797752809, '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': '2450125', 'n_tokens_mistral': 748, 'n_tokens_neox': 685, 'n_words': 123}