<commit_before>#!/bin/env python
#
# cat_StartdLog.py
#
# Print out the StartdLog for a glidein output file
#
# Usage: cat_StartdLog.py logname
#

import sys,os,os.path,time
sys.path.append("lib")
import gWftArgsHelper,gWftLogParser

USAGE="Usage: cat_StartdLog.py <logname>"

def main():
    try:
        print gWftLogParser.get_StartdLog(sys.argv[1])
    except ValueError, e:
        sys.stderr.write("%s\n\n%s\n"%(e,USAGE))
        sys.exit(1)


if __name__ == '__main__':
    main()
 <commit_msg>Cleanup<commit_after>#!/bin/env python
#
# cat_StartdLog.py
#
# Print out the StartdLog for a glidein output file
#
# Usage: cat_StartdLog.py logname
#

import sys
sys.path.append("lib")
import gWftLogParser

USAGE="Usage: cat_StartdLog.py <logname>"

def main():
    try:
        print gWftLogParser.get_StartdLog(sys.argv[1])
    except:
        sys.stderr.write(USAGE)
        sys.exit(1)


if __name__ == '__main__':
    main()
 
{'fraction_non_alphanumeric': 0.13597430406852248, 'fraction_numerical': 0.004282655246252677, 'mean_word_length': 3.6517412935323383, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6319704', 'n_tokens_mistral': 373, 'n_tokens_neox': 366, 'n_words': 72}