<commit_before>import npyscreen
import db
import beverages

class Matomat(npyscreen.NPSAppManaged):

    def insertBeverage(self):
        Beverage = db.connection.Beverage()
        Beverage["name"] = unicode("BIER")
        Beverage["price"] = 1.0
        Beverage.save()

    def onStart(self):
        self.beverage = db.connection.Beverage
        self.addForm("MAIN", beverages.BeverageListDisplay)

if __name__ == '__main__':
    matomat = Matomat()
    matomat.run()<commit_msg>main function entry point restored<commit_after>import npyscreen
import db
import beverages

class Matomat(npyscreen.NPSAppManaged):

    def insertBeverage(self):
        Beverage = db.connection.Beverage()
        Beverage["name"] = unicode("BIER")
        Beverage["price"] = 1.0
        Beverage.save()

    def onStart(self):
        self.beverage = db.connection.Beverage
        self.addForm("MAIN", beverages.BeverageListDisplay)

def main():
    matomat = Matomat()
    matomat.run()

if __name__ == '__main__':
    main()
{'fraction_non_alphanumeric': 0.11897738446411013, 'fraction_numerical': 0.003933136676499509, 'mean_word_length': 3.2594142259414225, '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': '6494725', 'n_tokens_mistral': 344, 'n_tokens_neox': 329, 'n_words': 64}