<commit_before>from . import _templates
from .parameters import LOCAL_PROJECT_ROOT
from StringIO import StringIO
from config import config
from contextlib import contextmanager
from fabric.api import *
from fabric.contrib.project import rsync_project
import fabtools
import os
import random
import string
import sys

def deploy_to_vagrant():
    with lcd(os.path.dirname(__file__)):
        local("vagrant up")
        with settings(user="vagrant", host_string="127.0.0.1", port=2222, key_filename="~/.vagrant.d/insecure_private_key"):
            deploy_to_server()
def vagrant(cmd):
    with lcd(os.path.dirname(__file__)):
        local("vagrant {0}".format(cmd))<commit_msg>fix deployment to vagrant<commit_after>from . import _templates
from .parameters import LOCAL_PROJECT_ROOT
from StringIO import StringIO
from config import config
from contextlib import contextmanager
from fabric.api import *
from fabric.contrib.project import rsync_project
import fabtools
import os
import random
import string
import sys

def deploy_to_vagrant():
    with lcd(os.path.dirname(__file__)):
        local("vagrant up")
        with settings(user="vagrant", host="127.0.0.1", host_string="vagrant@127.0.0.1:2222", port=2222, key_filename="~/.vagrant.d/insecure_private_key"):
            deploy_to_server()
def vagrant(cmd):
    with lcd(os.path.dirname(__file__)):
        local("vagrant {0}".format(cmd))
{'fraction_non_alphanumeric': 0.10364546104360257, 'fraction_numerical': 0.0228734810578985, 'mean_word_length': 4.785123966942149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '4763684', 'n_tokens_mistral': 446, 'n_tokens_neox': 432, 'n_words': 111}