<commit_before>#!/usr/bin/env python
#
# URL=https://raw.githubusercontent.com/rmyers/ci_scripts/master/fail.py
# curl -s $URL | python

import subprocess
import os

WORKSPACE = os.environ['WORKSPACE']
CLEAN = 'cd {} && sudo chown -R jenkins:jenkins .'.format(WORKSPACE)

if __name__ == "__main__":
    subprocess.call(CLEAN, shell=True)<commit_msg>Add a reboot in the fail script<commit_after>#!/usr/bin/env python
#
# URL=https://raw.githubusercontent.com/rmyers/ci_scripts/master/fail.py
# curl -s $URL | python

import subprocess
import os

WORKSPACE = os.environ['WORKSPACE']
CLEAN = 'cd {} && sudo chown -R jenkins:jenkins .'.format(WORKSPACE)

if __name__ == "__main__":
    subprocess.call(CLEAN, shell=True)
    subprocess.call('sudo reboot')
{'fraction_non_alphanumeric': 0.15046604527296936, 'fraction_numerical': 0.0, 'mean_word_length': 4.7846153846153845, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7256733', 'n_tokens_mistral': 272, 'n_tokens_neox': 273, 'n_words': 57}