<commit_before>from .base import *  # noqa

ALLOWED_HOSTS = ['.koombook.lan.', 'localhost', '127.0.0.1']
TIME_ZONE = None
DOMAIN = 'koombook.lan'
CATALOG_CACHE_BASE_DIR = '/media/hdd/ideascube_cache/catalog'
BACKUP_FORMAT = 'gztar'
IDEASCUBE_BODY_ID = 'koombook'
STAFF_HOME_CARDS = [c for c in STAFF_HOME_CARDS
                    if c['url'] in ['user_list', 'server:power',
                                    'server:backup', 'server:wifi']]

HOME_CARDS = STAFF_HOME_CARDS + [
    {
        'id': 'blog',
    },
    {
        'id': 'mediacenter',
    },
    {
        'id': 'bsfcampus',
    },
    {
        'id': 'wikipedia.old',
    },
    {
        'id': 'khanacademy',
    },
    {
        'id': 'wikisource.old',
    },
    {
        'id': 'vikidia.old',
    },
    {
        'id': 'gutenberg.old',
    },
    {
        'id': 'cpassorcier.old',
    },
    {
        'id': 'ted.old',
    },
    {
        'id': 'software',
    },
    {
        'id': 'ubuntudoc.old',
    },
]
<commit_msg>Switch from old card to new card<commit_after>from .base import *  # noqa

ALLOWED_HOSTS = ['.koombook.lan.', 'localhost', '127.0.0.1']
TIME_ZONE = None
DOMAIN = 'koombook.lan'
CATALOG_CACHE_BASE_DIR = '/media/hdd/ideascube_cache/catalog'
BACKUP_FORMAT = 'gztar'
IDEASCUBE_BODY_ID = 'koombook'
STAFF_HOME_CARDS = [c for c in STAFF_HOME_CARDS
                    if c['url'] in ['user_list', 'server:power',
                                    'server:backup', 'server:wifi']]

HOME_CARDS = STAFF_HOME_CARDS + [
    {
        'id': 'blog',
    },
    {
        'id': 'mediacenter',
    },
    {
        'id': 'bsfcampus',
    },
    {
        'id': 'wikipedia',
        'languages': ['ln', 'en', 'wo', 'fr']
    },
    {
        'id': 'khanacademy',
    },
    {
        'id': 'wikisource',
        'languages': ['fr', 'en']
    },
    {
        'id': 'vikidia',
        'languages': ['fr']
    },
    {
        'id': 'gutenberg',
        'lang': 'fr',
    },
    {
        'id': 'cest-pas-sorcier',
    },
    {
        'id': 'ted',
        'sessions': [
            ('tedxgeneva2014.fr', 'Geneva 2014'),
            ('tedxlausanne2012.fr', 'Lausanne 2012'),
            ('tedxlausanne2013.fr', 'Lausanne 2013'),
            ('tedxlausanne2014.fr', 'Lausanne 2014'),
        ]
    },
    {
        'id': 'software',
    },
    {
        'id': 'ubuntudoc',
        'languages': ['fr']
    },
]

{'fraction_non_alphanumeric': 0.18760469011725292, 'fraction_numerical': 0.018425460636515914, 'mean_word_length': 1.7554786620530565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3352585', 'n_tokens_mistral': 969, 'n_tokens_neox': 912, 'n_words': 147}