<commit_before>import os

from fabric.api import env, run, cd
from fabric.decorators import hosts

DEFAULTS = {
    'home': '/home/wsgi/srv/',
    'repo_name': 'nmis',
    }

DEPLOYMENTS = {
    'alpha': {
        'project': 'ei_surveyor_alpha',
        'branch': 'feature/xls2xform',
    },
    # 'prod': {
    #     'project': 'xls2xform_production',
    #     'branch': 'master',
    # }
}


def run_in_virtualenv(command):
    d = {
        'activate': os.path.join(
            env.project_directory, 'project_env', 'bin', 'activate'),
        'command': command,<commit_msg>Modified fabfile to reflect changes in repo structure.<commit_after>import os

from fabric.api import env, run, cd
from fabric.decorators import hosts

DEFAULTS = {
    'home': '/home/wsgi/srv/',
    'repo_name': 'deploy',
    }

DEPLOYMENTS = {
    'alpha': {
        'project': 'ei_surveyor_alpha',
        'branch': 'master',
    },
    # 'prod': {
    #     'project': 'xls2xform_production',
    #     'branch': 'master',
    # }
}


def run_in_virtualenv(command):
    d = {
        'activate': os.path.join(
            env.project_directory, 'project_env', 'bin', 'activate'),
        'command': command,
{'fraction_non_alphanumeric': 0.1610738255033557, 'fraction_numerical': 0.0025167785234899327, 'mean_word_length': 2.6151515151515152, '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': '2421919', 'n_tokens_mistral': 417, 'n_tokens_neox': 409, 'n_words': 84}