<commit_before>import sys
import urlparse

from MoinMoin.web.serving import make_application

sys.path.insert(0, "/etc/moin")


class ScriptFixerMiddleware(object):

    def __init__(self, application):
        self.application = application<commit_msg>see if this works to quiet moin down...<commit_after>import os
import sys
import urlparse

from MoinMoin.web.serving import make_application

sys.path.insert(0, "/etc/moin")
os.environ['PYTHONIOENCODING'] = 'utf-8'


class ScriptFixerMiddleware(object):

    def __init__(self, application):
        self.application = application
{'fraction_non_alphanumeric': 0.09948542024013722, 'fraction_numerical': 0.005145797598627788, 'mean_word_length': 4.84, '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': '6176753', 'n_tokens_mistral': 183, 'n_tokens_neox': 177, 'n_words': 44}