<commit_before>from Tkinter import *

default_padx = 5
default_pady = 15

default_ipadx = 15
default_ipady = 30

class Config(Frame):
    def helloWorld(self):
        print "Hello, world!"

    def createWidgets(self):
        projectFrame = LabelFrame(self.master, text="Defina os detalhes do projeto")
        projectFrame.grid(row=0, column=0, sticky="w", padx=default_padx, pady=default_pady, ipadx=default_ipadx, ipady=default_ipady)

        directoryLabel = Label(projectFrame, text="Qual o diretório do projeto?")
        directoryLabel.grid(row=0, column=0, sticky="w")

        directory = Entry(projectFrame)
        directory.grid(row=0, column=1, sticky="e")

        buttonsFrame = LabelFrame(self.master, text="O que fazer?")
        buttonsFrame.grid(row=1, columnspan=7, sticky="ns", ipadx=default_ipadx, ipady=default_ipady)

        sair = Button(buttonsFrame, text="Sair", command=self.quit)
        sair.grid(row=0, column=0, sticky="w")

        hello = Button(buttonsFrame, text="Hello", command=self.helloWorld)
        hello.grid(row=0, column=1, sticky="w")
<commit_msg>algumas tentativas doidas<commit_after>from Tkinter import *

default_padx = 5
default_pady = 15

default_ipadx = 15
default_ipady = 30

class Config(Frame):
    def helloWorld(self):
        print "Hello, world!"

    def createWidgets(self):
        projectFrame = LabelFrame(self.master, text="Defina os detalhes do projeto")
        projectFrame.grid(row=0, column=0, sticky="w", ipadx=default_ipadx, ipady=default_ipady)

        directoryLabel = Label(projectFrame, text="Qual o diretório do projeto?")
        directoryLabel.grid(row=0, column=0, sticky="w")

        directory = Entry(projectFrame)
        directory.grid(row=0, column=1, sticky="e")

        buttonsFrame = LabelFrame(self.master, text="O que fazer?")
        buttonsFrame.grid(row=0, column=1, columnspan=7, sticky="e", ipadx=default_ipadx, ipady=default_ipady)

        sair = Button(buttonsFrame, text="Sair", command=self.quit)
        sair.grid(row=0, column=0, sticky="w")

        hello = Button(buttonsFrame, text="Hello", command=self.helloWorld)
        hello.grid(row=0, column=1, sticky="w")

{'fraction_non_alphanumeric': 0.12861736334405144, 'fraction_numerical': 0.017914561322921452, 'mean_word_length': 4.041666666666667, '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': '1586527', 'n_tokens_mistral': 764, 'n_tokens_neox': 716, 'n_words': 147}