<commit_before>#Attempts to import everything in the proper sequence
# garbage collecting between and reporting remaining memory
from agnostic import report_import

#TODO CH explore the ordering of these imports, and interleave with garbage collection, as per memory test

# time boot routine with
# from utime import ticks_ms; ms = ticks_ms(); import loader; loader.loadAll(); print("Loading took:" + str(ticks_ms() - ms))

storyUid = "corbridge"

def loadDisplay():
    report_import("machine")
    report_import("faces.font_5x7")
    report_import("st7920")

def loadOther():
    report_import("mfrc522")
    report_import("milecastles")
    report_import("boilerplate")
    report_import("engines")
    report_import("vault")
    report_import("engines.console")

def loadStory(name):
    report_import("stories." + name)

def loadAll():
    loadDisplay()
    loadOther()
    loadStory(storyUid)<commit_msg>Updated loader for new typeface and host-oriented launch<commit_after>#Attempts to import everything in the proper sequence
# garbage collecting between and reporting remaining memory
from agnostic import report_import

#TODO CH explore the ordering of these imports, and interleave with garbage collection, as per memory test

# time boot routine with
# from utime import ticks_ms; ms = ticks_ms(); import loader; loader.loadAll(); print("Loading took:" + str(ticks_ms() - ms))

storyUid = "corbridge"

def loadDisplay():
    report_import("machine")
    report_import("st7920")
    report_import("faces.font_5x7")

def loadOther():
    #report_import("faces.font_timB14")
    report_import("mfrc522")
    report_import("milecastles")
    report_import("boilerplate")
    report_import("engines")
    report_import("host")
    report_import("vault")

def loadStory(name):
    report_import("stories." + name)

def loadAll():
    loadDisplay()
    loadOther()
    loadStory(storyUid)
{'fraction_non_alphanumeric': 0.10454065469904963, 'fraction_numerical': 0.010559662090813094, 'mean_word_length': 5.112903225806452, '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': '2922023', 'n_tokens_mistral': 576, 'n_tokens_neox': 553, 'n_words': 161}