<commit_before>#!/usr/bin/env bash
if [[ ! -d "./.venv" ]]; then
    echo "Creating new virtualenv..."
    python3.5 -m venv .venv
fi
# Source the virtualenv.
source .venv/bin/activate
PATH=.venv/bin/:/usr/bin:/usr/sbin:/bin:/sbin

# Git pull
BRANCH=`git rev-parse --abbrev-ref HEAD`
echo "Currently on branch $BRANCH".
echo "Pulling latest version..."
git pull || exit 1

echo "Updating requirements..."
pip install -U -r requirements.txt || exit 1
echo "Starting Jokusoramame."
python run.py config.yml

echo "Bot has terminated, killing RethinkDB safely."<commit_msg>Update start.sh script.<commit_after>#!/usr/bin/env bash

pipenv &> /dev/null || { echo "You must have 'pipenv' installed to boot this bot."; exit; }

# Git pull
BRANCH=`git rev-parse --abbrev-ref HEAD`
echo "Currently on branch $BRANCH".
echo "Pulling latest version..."
git pull || exit 1

echo "Updating requirements..."
pipenv --three install || exit 1;
echo "Starting Jokusoramame."
pipenv run python3.6 run.py config.yml
{'fraction_non_alphanumeric': 0.14558232931726908, 'fraction_numerical': 0.008032128514056224, 'mean_word_length': 3.7251184834123223, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3882049', 'n_tokens_mistral': 366, 'n_tokens_neox': 332, 'n_words': 114}