<commit_before>dpt-tests
=========

Tests for the Caktus django-project-template. To run::

    apt-get install python-dev libpq-dev
    mkvirtualenv dpt-tests
    pip install -r requirements.txt
    ./run-tests.py<commit_msg>add env vars to README<commit_after>dpt-tests
=========

Tests for the Caktus django-project-template. To run, first add these variables
to your shell environment:

    export GITHUB_USER="CHANGE-ME"  # should be a dedicated test user
    export GITHUB_PASSWORD="<PASSWORD>"
    export AWS_ACCESS_KEY_ID="CHANGE-ME"
    export AWS_SECRET_ACCESS_KEY="CHANGE-ME"

Next, install build dependencies and run the tests:

    apt-get install python-dev libpq-dev
    mkvirtualenv dpt-tests
    pip install -r requirements.txt
    ./run-tests.py
{'fraction_non_alphanumeric': 0.09960681520314547, 'fraction_numerical': 0.0, 'mean_word_length': 3.775, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4566343', 'n_tokens_mistral': 242, 'n_tokens_neox': 237, 'n_words': 71}