<commit_before><commit_msg>start of a manual test<commit_after>#!/usr/bin/env python

'''

##BOILERPLATE_COPYRIGHT
##BOILERPLATE_COPYRIGHT_END

'''

from tests.testMain import testMain

entries =
[
    (
        'The Amazing Bambini',
        "So, my daughter is pretty amazing. She's got all sorts of mad skillz.\n\n" + \
        "She says 'eww yucky' when I fart. She can climb just about anything. She can " + \
        "run really fast and hide really well (usually when I am trying to change her " + \
        "diaper.)\n\n" + \
        "<!--break-->\n\n" + \
        "She loves Yo Gabba Gabba, for some silly reason- likely all that communism... " + \
        "babies <i>love</i> communism, just ask Billy O'!"
    ),
    (
        'Rabbit Rabbit Rabbit',
        "Rabbit rabbit rabbit, rabbit rabbit rabbit rabbit? Rabbit, rabbit rabbit. " + \
        "Rabbit! Rabbit, rabbit, rabbit!\n\n" + \
        "Rabbit rabbit rabbit rabbit..... rabbit... rabbit rabbit, rabbit? Rabbit- rabbit " + \
        "rabbit rabbit. Rabbit rabbit rabbit rabbit rabbit rabbit rabbit. Rabbit rabbit " + \
        "rabbit rabbit. <!--break--> Rabbit, rabbit? Rabbit, rabbit!\n\n" + \
        "Rabbit rabbit rabbit rabbit rabbit rabbit cheesecake artichoke!"
    )
]

from noink.userDB import UserDB
from noink.entryDB import EntryDB

class SimpleEntries:

    def __init__(self):
        self.testMain = testMain()

        self.userDB = UserDB()
        self.entryDB = EntryDB()

        u = userDB.add("criswell", "<NAME>")


    def __del__(self):
        del(self.testMain)


{'fraction_non_alphanumeric': 0.12404092071611253, 'fraction_numerical': 0.0, 'mean_word_length': 2.402173913043478, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '4219976', 'n_tokens_mistral': 537, 'n_tokens_neox': 469, 'n_words': 158}