<commit_before>from fabric.api import env, local, sudo, put
from fabric.utils import puts
from fabric.contrib.files import exists
from fabric.context_managers import quiet

env.user = 'vagrant'
env.host_string = '192.168.33.10'
env.key_filename = '.vagrant/machines/default/virtualbox/private_key'


APP_NAME = 'app'

REMOTE_DEPLOY_DIR = '/var/www/html/{}'.format(APP_NAME)
REMOTE_VENV = '{}/venv'.format(REMOTE_DEPLOY_DIR)
REMOTE_APP_DIR = '{}/{}'.format(REMOTE_DEPLOY_DIR, APP_NAME)

LOCAL_ARCHIVE = './dist/{}.tar.gz'.format(APP_NAME)<commit_msg>make fabric file use current working directory as APP_NAME<commit_after>import os

from fabric.api import env, local, sudo, put
from fabric.utils import puts
from fabric.contrib.files import exists
from fabric.context_managers import quiet

env.user = 'vagrant'
env.host_string = '192.168.33.10'
env.key_filename = '.vagrant/machines/default/virtualbox/private_key'


APP_NAME = os.path.basename(os.path.realpath(__file__))

REMOTE_DEPLOY_DIR = '/var/www/html/{}'.format(APP_NAME)
REMOTE_VENV = '{}/venv'.format(REMOTE_DEPLOY_DIR)
REMOTE_APP_DIR = '{}/{}'.format(REMOTE_DEPLOY_DIR, APP_NAME)

LOCAL_ARCHIVE = './dist/{}.tar.gz'.format(APP_NAME)
{'fraction_non_alphanumeric': 0.13914501257334452, 'fraction_numerical': 0.016764459346186086, 'mean_word_length': 5.862068965517241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '4771085', 'n_tokens_mistral': 482, 'n_tokens_neox': 433, 'n_words': 81}