<commit_before>from tkinter import *
from tkinter import ttk

class MainWindow(ttk.Frame):
    def __init__(self, master):
        self.master = master 
        self.frame = ttk.Frame(self.master)        
        self.entry = ttk.Entry(self.frame)
        self.enter = ttk.Button(self.frame, text="Find Urls")
        self.list = Listbox(self.frame)
        self.entry.grid(row=0, column=0)
        self.enter.grid(row=0,column=1)
        self.list.grid(row=1, columnspan=2)
        self.frame.pack()
        self.populate_list()

    def populate_list(self):
        for num in range(10):
            self.list.insert(END, num)

if __name__ == '__main__':
    root = Tk()
    app = MainWindow(root)
    root.mainloop()<commit_msg>added in scrollbar<commit_after>from tkinter import *
from tkinter import ttk

class MainWindow(ttk.Frame):
    def __init__(self, master):
        self.master = master 
        self.master.title(string="Supporting URL Finder")
        self.master.minsize(width=300, height=300)
        self.master.maxsize(width=300, height=600)

        self.frame = ttk.Frame(self.master)        
        self.entry = ttk.Entry(self.frame)
        self.enter = ttk.Button(self.frame, text="Find Urls")
        self.list = Listbox(self.frame, height=15)
        self.entry.grid(row=0, column=0, sticky=W, padx=5, pady=5)
        self.enter.grid(row=0, column=1, sticky=E, padx=5, pady=5)
        self.list.grid(row=1, columnspan=2, sticky=W+E+N+S, padx=5, pady=5)

        self.scrollbar = ttk.Scrollbar(self.frame)
        self.scrollbar.grid(column=2, row=1, sticky=N+S)
        self.list.config(yscrollcommand=self.scrollbar.set)
        self.scrollbar.config(command=self.list.yview)

        self.frame.pack()
        self.populate_list()

    def populate_list(self):
        for num in range(30):
            self.list.insert(END, num)

if __name__ == '__main__':
    root = Tk()
    app = MainWindow(root)
    root.mainloop()
{'fraction_non_alphanumeric': 0.1344279117496152, 'fraction_numerical': 0.019497178040020522, 'mean_word_length': 2.672316384180791, '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': '1278881', 'n_tokens_mistral': 702, 'n_tokens_neox': 675, 'n_words': 120}