<commit_before>#!/usr/bin/env python

#
# Curriculum Module Status Script
# - Run while the job is running
# - Run -outside- of the allocation
# - onramp_run_params.ini file is available in current working directory
#
import sys
import re

#
# Display any special message you want the user to see, or leave blank if nothing.
# Please restrict status messages to 1 line of text.
#

# Read in the output file
lines = [line.rstrip('\n') for line in open('onramp/output.txt')]
<commit_msg>Update the status.py to look for the output.txt in the new location<commit_after>#!/usr/bin/env python

#
# Curriculum Module Status Script
# - Run while the job is running
# - Run -outside- of the allocation
# - onramp_run_params.ini file is available in current working directory
#
import sys
import re

#
# Display any special message you want the user to see, or leave blank if nothing.
# Please restrict status messages to 1 line of text.
#

# Read in the output file
lines = [line.rstrip('\n') for line in open('output.txt')]

{'fraction_non_alphanumeric': 0.0855457227138643, 'fraction_numerical': 0.0019665683382497543, 'mean_word_length': 3.917874396135266, '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': '2999988', 'n_tokens_mistral': 302, 'n_tokens_neox': 299, 'n_words': 139}