<commit_before>#!/bin/bash -e

venvdir=~/.virtualenvs/$(basename $(cd $(dirname $0) && pwd -P))

if [ ! -d "${venvdir}" ]; then
    virtualenv --no-site-packages "$venvdir"
fi

source "$venvdir/bin/activate"

pip install -r requirements.txt

python start.py $1 $2<commit_msg>Use a different virtualenv for each backdrop app<commit_after>#!/bin/bash -e

venvdir=~/.virtualenvs/$(basename $(cd $(dirname $0) && pwd -P))-$1-$2

if [ ! -d "${venvdir}" ]; then
    virtualenv --no-site-packages "$venvdir"
fi

source "$venvdir/bin/activate"

pip install -r requirements.txt

python start.py $1 $2
{'fraction_non_alphanumeric': 0.18612521150592218, 'fraction_numerical': 0.01353637901861252, 'mean_word_length': 3.933333333333333, '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': '1399589', 'n_tokens_mistral': 230, 'n_tokens_neox': 222, 'n_words': 58}