<commit_before>def config(vars):
    # IF YOU ARE MAKING A CUSTOM SKIN, PLEASE INCLUDE WHAT VERSION OF ALP IT
    # WAS MADE FOR.
    # ie: this custom skin was made for ALP 0.97.2d

    # colors (can also accept standard html name colors such as pink or green)
    colors = {}
    colors['background'] = '#444444'
    colors['primary'] = '#00ff00'
    colors['secondary'] = '#009900'
    colors['border'] = '#666666'

    # currently only used on bargraph borders
    colors['border_alternate'] = '#222222'

    colors['cell_title'] = '#3b3b3b'
    colors['cell_background'] = '#444444'
    colors['cell_alternate'] = '#3f3f3f'
    colors['text'] = '#ffffff'
    colors['blended_text'] = '#808080'
    colors['graphs'] = colors['primary']
    colors['alert'] = colors['primary']

    colors['image_text'] = 'white'  # ONLY white or black

    # images
    images = {}
    images['background'] = ''
    images['title'] = 'title.gif'
    images['arrow_on'] = 'phpwcms_arrow_off.gif'
    images['arrow_off'] = 'phpwcms_arrow.gif'
    images['dotted_line'] = 'dotted_line.gif'
    images['empty_bargraph_background'] = 'emptybargraphbg.gif'
    images['go'] = 'white_go.gif'

    # widths of right and left columns
    container = {}
    container['leftmodule'] = 210
    container['rightmodule'] = 200
    container['indexmodule'] = 250

    # padding (spacing inbetween modules and columns)
    container['horizontalpadding'] = 8
    container['verticalpadding'] = 4

    # module padding (spacing inside the module between content and border)
    container['horizontalmodulepadding'] = 1
    container['verticalmodulepadding'] = 3

    # border size: these are used only if mod****.gif images do not exist in
    # the current skin directory
    container['border_width'] = 1
    container['border_height'] = 1

    # seating chart colors
    seat = {}
    seat['background'] = colors['background']  # '#555555'
    seat['border'] = '#FFFFFF'
    seat['tablecolor'] = colors['secondary']
    seat['tableborder'] = colors['primary']
    seat['voidcolor'] = colors['cell_title']  # colors['cell_background']
    seat['gridcolor'] = '#CCCCCC'
    seat['currentcolor'] = colors['primary']
    seat['occupied'] = '#007700'
    seat['reserved'] = '#FF9900'

    # display title menu items on the left, right, or center.
    container['title_menu'] = 'left'

    # display index.php modules on left or right of body.
    container['index_modules'] = 'left'

    # these are the modules displayed.  if you delete a module from below, it
    # will not show up on ALP. this also controls the order of the modules.

    # array(location, type)
    # location options: 'left', 'right', or 'main'
    # type options: 'left', 'right', or 'main'
    modulelist = {}
    modulelist['mod_controlpanel'] = ['left', 'main']
    modulelist['mod_register'] = ['left', 'main']
    modulelist['mod_admincontrolpanel'] = ['left', 'main']
    modulelist['mod_guides'] = ['left', 'main']
    if vars['ALP_TOURNAMENT_MODE']:
        modulelist['mod_news'] = ['left', 'main']
    modulelist['mod_schedule'] = ['left', 'main']
    modulelist['mod_tournaments'] = ['left', 'main']
    modulelist['mod_polls'] = ['left', 'main']

    return {
        'modulelist': modulelist,
        'skin': {
            'images': images,
            'container': container,
            'colors': colors
        }
    }<commit_msg>Use an OrderedDict<commit_after>from collections import OrderedDict


def config(vars):
    # IF YOU ARE MAKING A CUSTOM SKIN, PLEASE INCLUDE WHAT VERSION OF ALP IT
    # WAS MADE FOR.
    # ie: this custom skin was made for ALP 0.97.2d

    # colors (can also accept standard html name colors such as pink or green)
    colors = {}
    colors['background'] = '#444444'
    colors['primary'] = '#00ff00'
    colors['secondary'] = '#009900'
    colors['border'] = '#666666'

    # currently only used on bargraph borders
    colors['border_alternate'] = '#222222'

    colors['cell_title'] = '#3b3b3b'
    colors['cell_background'] = '#444444'
    colors['cell_alternate'] = '#3f3f3f'
    colors['text'] = '#ffffff'
    colors['blended_text'] = '#808080'
    colors['graphs'] = colors['primary']
    colors['alert'] = colors['primary']

    colors['image_text'] = 'white'  # ONLY white or black

    # images
    images = {}
    images['background'] = ''
    images['title'] = 'title.gif'
    images['arrow_on'] = 'phpwcms_arrow_off.gif'
    images['arrow_off'] = 'phpwcms_arrow.gif'
    images['dotted_line'] = 'dotted_line.gif'
    images['empty_bargraph_background'] = 'emptybargraphbg.gif'
    images['go'] = 'white_go.gif'

    # widths of right and left columns
    container = {}
    container['leftmodule'] = 210
    container['rightmodule'] = 200
    container['indexmodule'] = 250

    # padding (spacing inbetween modules and columns)
    container['horizontalpadding'] = 8
    container['verticalpadding'] = 4

    # module padding (spacing inside the module between content and border)
    container['horizontalmodulepadding'] = 1
    container['verticalmodulepadding'] = 3

    # border size: these are used only if mod****.gif images do not exist in
    # the current skin directory
    container['border_width'] = 1
    container['border_height'] = 1

    # seating chart colors
    seat = {}
    seat['background'] = colors['background']  # '#555555'
    seat['border'] = '#FFFFFF'
    seat['tablecolor'] = colors['secondary']
    seat['tableborder'] = colors['primary']
    seat['voidcolor'] = colors['cell_title']  # colors['cell_background']
    seat['gridcolor'] = '#CCCCCC'
    seat['currentcolor'] = colors['primary']
    seat['occupied'] = '#007700'
    seat['reserved'] = '#FF9900'

    # display title menu items on the left, right, or center.
    container['title_menu'] = 'left'

    # display index.php modules on left or right of body.
    container['index_modules'] = 'left'

    # these are the modules displayed.  if you delete a module from below, it
    # will not show up on ALP. this also controls the order of the modules.

    # array(location, type)
    # location options: 'left', 'right', or 'main'
    # type options: 'left', 'right', or 'main'
    modulelist = OrderedDict()
    modulelist['mod_controlpanel'] = ['left', 'main']
    modulelist['mod_register'] = ['left', 'main']
    modulelist['mod_admincontrolpanel'] = ['left', 'main']
    modulelist['mod_guides'] = ['left', 'main']
    if vars['ALP_TOURNAMENT_MODE']:
        modulelist['mod_news'] = ['left', 'main']
    modulelist['mod_schedule'] = ['left', 'main']
    modulelist['mod_tournaments'] = ['left', 'main']
    modulelist['mod_polls'] = ['left', 'main']

    return {
        'modulelist': modulelist,
        'skin': {
            'images': images,
            'container': container,
            'colors': colors
        }
    }
{'fraction_non_alphanumeric': 0.15114235500878734, 'fraction_numerical': 0.023725834797891036, 'mean_word_length': 3.4721676489849376, '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': '5095751', 'n_tokens_mistral': 2203, 'n_tokens_neox': 2046, 'n_words': 559}