<commit_before>"""createTodoFile.py: Creates an todo file with title name as current date"""

import time
import os.path


def createfile():
    # My-File--2009-12-31--23-59-59.txt
    date = time.strftime("%d-%m-%Y")
    filename = "GOALS--" + date + ".todo"
    if not os.path.exists(filename):
        with open(filename, "a") as myfile:
            myfile.write("[RESULTS - {}]".format(date))
        print("INFO: " + filename + " created!")
    else:
        print("ERROR: " + filename + " already exist! Exiting..")


def main():
    createfile()
<commit_msg>Insert TODO<commit_after>"""createTodoFile.py: Creates an todo file with title name as current date"""

import time
import os.path


def createfile():
    # My-File--2009-12-31--23-59-59.txt
    date = time.strftime("%d-%m-%Y")
    filename = "GOALS--" + date + ".todo"
    if not os.path.exists(filename):
        with open(filename, "a") as myfile:
            myfile.write("[RESULTS - {}]".format(date))
        print("INFO: " + filename + " created!")
    else:
        print("ERROR: " + filename + " already exist! Exiting..")

# TODO: To move files into archive if more than a week
def archiveFiles():
    pass


def main():
    createfile()

{'fraction_non_alphanumeric': 0.16735366859027206, 'fraction_numerical': 0.023083264633140973, 'mean_word_length': 2.770186335403727, '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': '3694621', 'n_tokens_mistral': 415, 'n_tokens_neox': 388, 'n_words': 107}