<commit_before>from fabric.api import local

def deploy():
        # reset hard env
        local('git reset --hard', capture=False)
        # update with git
        local('git pull origin master', capture=False)
        # reset application
        # re-set setting properly
        local('cp -f settings.py.alwaysdata settings.py', capture=False)
        # re-syncdb


def deploy_preprod():
        # reset hard env
        local('git reset --hard', capture=False)
        # update with git
        local('git pull origin master', capture=False)
        # reset application
        # re-set setting properly
        local('cp -f settings.py.pre-prod settings.py', capture=False)
        # re-syncdb<commit_msg>staged fabric file for deploy<commit_after>from fabric.api import local

def deploy():
        # reset hard env
        local('git reset --hard', capture=False)
        # update with git
        local('git pull origin master', capture=False)
        # reset application
        # re-set setting properly
        local('cp -f settings.py.alwaysdata settings.py', capture=False)
        # re-syncdb


def deploy_preprod():
        # reset hard env
        local('git reset --hard', capture=False)
        # update with git
        local('git pull origin master', capture=False)
        # reset application
        # re-set setting properly
        local('cp -f settings.py.pre-prod settings.py', capture=False)
        # re-syncdb

def deploy_prod():
        # reset hard env
        local('git reset --hard', capture=False)
        # update with git
        local('git pull origin master', capture=False)
        # reset application
        # re-set setting properly
        local('cp -f settings.py.prod settings.py', capture=False)
        # re-syncdb
{'fraction_non_alphanumeric': 0.10204081632653061, 'fraction_numerical': 0.0, 'mean_word_length': 2.226691042047532, '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': '4059593', 'n_tokens_mistral': 465, 'n_tokens_neox': 467, 'n_words': 151}