<commit_before>#!/usr/bin/python3

import datetime
import sys

infile = sys.argv[1]

play_start = task_start = play = task = None
plays = {}
tasks = {}
old_start = None
old_start['PLAY '] = None
old_start['TASK '] = None

with open(infile) as f:
    line = f.readline()
    while line:
        if 'PLAY ' in line:<commit_msg>updates<commit_after>#!/usr/bin/python3

import datetime
import sys

infile = sys.argv[1]

play_start = task_start = play = task = None
plays = {}
tasks = {}
old_start = None

with open(infile) as f:
    line = f.readline()
    while line:
        if 'PLAY ' in line:
{'fraction_non_alphanumeric': 0.13175675675675674, 'fraction_numerical': 0.006756756756756757, 'mean_word_length': 3.3284671532846715, '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': '122442', 'n_tokens_mistral': 221, 'n_tokens_neox': 216, 'n_words': 59}