<commit_before>#!/usr/bin/env python
# coding: utf-8

from __future__ import unicode_literals
import os
import sys
import django


if __name__ == '__main__':
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
    if django.VERSION[:2] >= (1, 7):
        django.setup()
    from django.test.runner import DiscoverRunner
    test_runner = DiscoverRunner()
    failures = test_runner.run_tests(['cachalot.tests'])
    if failures:
        sys.exit(failures)
<commit_msg>Increases test verbosity to find which one(s) are failing.<commit_after>#!/usr/bin/env python
# coding: utf-8

from __future__ import unicode_literals
import os
import sys
import django


if __name__ == '__main__':
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
    if django.VERSION[:2] >= (1, 7):
        django.setup()
    from django.test.runner import DiscoverRunner
    test_runner = DiscoverRunner(verbosity=2)
    failures = test_runner.run_tests(['cachalot.tests'])
    if failures:
        sys.exit(failures)

{'fraction_non_alphanumeric': 0.1141732283464567, 'fraction_numerical': 0.008858267716535433, 'mean_word_length': 4.034653465346534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1814608', 'n_tokens_mistral': 336, 'n_tokens_neox': 326, 'n_words': 78}