<commit_before># This is used in our travis environment as a hack to kill the build early
# if we detect a bad condition on their VMs that we know will break the tests.
# Namely, when the cache value from vmstat is very low.
import subprocess
import sys

if __name__ == '__main__':
    out = subprocess.check_output('vmstat')
    line = [l for l in out.split('\n') if l][-1]
    cache = int(line.split()[5])

    if cache < 100:
        print 'BAD VMSTAT CACHE VALUE: ' + cache
        sys.exit(1)
<commit_msg>Can't concatenate str and int :)<commit_after># This is used in our travis environment as a hack to kill the build early
# if we detect a bad condition on their VMs that we know will break the tests.
# Namely, when the cache value from vmstat is very low.
import subprocess
import sys

if __name__ == '__main__':
    out = subprocess.check_output('vmstat')
    line = [l for l in out.split('\n') if l][-1]
    cache = int(line.split()[5])

    if cache < 100:
        print '!!! ABORTING, LOW CACHE DETECTED: %d !!!' % cache
        sys.exit(1)

{'fraction_non_alphanumeric': 0.1033175355450237, 'fraction_numerical': 0.011374407582938388, 'mean_word_length': 3.1904761904761907, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6391554', 'n_tokens_mistral': 344, 'n_tokens_neox': 332, 'n_words': 148}