<commit_before>import os
import sys
import time

try:
    import pygtk
    pygtk.require('2.0')
except:
    pass

import gtk

def refresh_gui(delay=0):
    while gtk.events_pending():
        gtk.main_iteration_do(block=False)
    time.sleep(delay)

dir = os.path.dirname(__file__)
if not dir in sys.path:
    sys.path.insert(0, os.path.join(dir))

from kiwi.environ import environ
environ.add_resource('glade', dir)
<commit_msg>test pyflakes break<commit_after>import os
import sys

try:
    import pygtk
    pygtk.require('2.0')
except:
    pass

import gtk

def refresh_gui(delay=0):
    while gtk.events_pending():
        gtk.main_iteration_do(block=False)
    time.sleep(delay)

dir = os.path.dirname(__file__)
if not dir in sys.path:
    sys.path.insert(0, os.path.join(dir))

from kiwi.environ import environ
environ.add_resource('glade', dir)

{'fraction_non_alphanumeric': 0.11502347417840375, 'fraction_numerical': 0.009389671361502348, 'mean_word_length': 3.874285714285714, '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': '2704684', 'n_tokens_mistral': 312, 'n_tokens_neox': 311, 'n_words': 70}