<commit_before><commit_msg>Test data<commit_after>from datetime import datetime
from scripto import db
from scripto import Script

if __name__ == '__main__':
    db.create_all()
    db.session.add(Script("first_script.sh", True, "old-server", datetime.min))
    db.session.add(Script("db_backup.sh", False, "mysql-server", datetime.today()))
    db.session.add(Script("db_backup.sh", True, "pg-server", datetime.now()))
    db.session.add(Script("last_script.sh", True, "future-server", datetime.max))
    db.session.commit()
{'fraction_non_alphanumeric': 0.16380952380952382, 'fraction_numerical': 0.0, 'mean_word_length': 5.337349397590361, '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': '4347542', 'n_tokens_mistral': 170, 'n_tokens_neox': 168, 'n_words': 34}