<commit_before>#
# mindRush.py
#
# Copyright (C)2011 <NAME> and <NAME>
#
# Redistribution is permitted under the BSD license.  See LICENSE for details.
#

from engine.ui import UI
from engine.manager import Manager
from engine.window import Window

from biofeedback import Biofeedback
from screens import MenuScreen

resolution = (640,480)
#resolution = (1440,900)

altInput = Biofeedback('/dev/tty.usbmodem621')
altInput = None

window = Window(resolution,
        windowTitle="Mind Rush", altInput=altInput)

manager = Manager()
window.registerManager(manager)

userInterface = UI(manager)
#screens must be initialized after the manager and the ui
mainScreen = MenuScreen(resolution, userInterface)
userInterface.addActiveScreens(mainScreen)

window.run()
window.cleanup()<commit_msg>Working Arduino<commit_after>#
# mindRush.py
#
# Copyright (C)2011 <NAME> and <NAME>
#
# Redistribution is permitted under the BSD license.  See LICENSE for details.
#

from engine.ui import UI
from engine.manager import Manager
from engine.window import Window

from biofeedback import Biofeedback
from screens import MenuScreen

resolution = (640,480)
#resolution = (1440,900)

altInput = Biofeedback('/dev/tty.usbmodem621')

window = Window(resolution,
        windowTitle="Mind Rush", altInput=altInput)

manager = Manager()
window.registerManager(manager)

userInterface = UI(manager)
#screens must be initialized after the manager and the ui
mainScreen = MenuScreen(resolution, userInterface)
userInterface.addActiveScreens(mainScreen)

window.run()
window.cleanup()
{'fraction_non_alphanumeric': 0.09178433889602054, 'fraction_numerical': 0.025673940949935817, 'mean_word_length': 5.807860262008734, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6556577', 'n_tokens_mistral': 492, 'n_tokens_neox': 445, 'n_words': 142}