<commit_before>#!/bin/bash

echo "== PULLING DEV BRANC=="
git pull origin development

echo "== INSTALL PYTHON REQUIREMENTS =="
pip install -r requirements.txt

echo "== SYNCDB / MIGRATE =="
python manage.py syncdb --settings=polio.prod_settings
python manage.py migrate --settings=polio.prod_settings

echo "== BUILDING DATABASE =="
bash bin/build_db.sh

echo "== BUILDING DOCUMENTATION =="
make clean -C docs
make html -C docs

echo "== RUNNING TESTS =="
bash bin/test_suite.py<commit_msg>fix testing command in deploy.sh<commit_after>#!/bin/bash

echo "== PULLING DEV BRANC=="
git pull origin development

echo "== INSTALL PYTHON REQUIREMENTS =="
pip install -r requirements.txt

echo "== SYNCDB / MIGRATE =="
python manage.py syncdb --settings=polio.prod_settings
python manage.py migrate --settings=polio.prod_settings

echo "== BUILDING DATABASE =="
bash bin/build_db.sh

echo "== BUILDING DOCUMENTATION =="
make clean -C docs
make html -C docs

echo "== RUNNING TESTS =="
python manage.py test datapoints.tests.test_cache --settings=polio.settings_test
{'fraction_non_alphanumeric': 0.12275731822474033, 'fraction_numerical': 0.0, 'mean_word_length': 4.7923497267759565, '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': '1591715', 'n_tokens_mistral': 390, 'n_tokens_neox': 366, 'n_words': 104}