<commit_before>from var import *
from ui_elements import *
from gi.repository import Gtk
from torctl import *

# ORGANIZATION OF THESE LISTS:
# 1. Main list for all the elements
# 2. A sublist for each element, with the first being a label, and the second
#    being the element itself

# List for main listbox
lb_main_elements = [
	["", init_menubutton("btnMainMenu", objs["menuMain"])],
	["Enable Tor", init_switch("swEnable", enableTor)],
]

# List for settings listbox
lb_settings_elements = [
	["SOCKS Port", init_spinbutton("spinSocks", default_socks_port, 1024, 65535, 1)],
	["Control Port", init_spinbutton("spinCtl", default_control_port, 1024, 65535, 1)],
]<commit_msg>Add field (not working yet) for Tor exit node selection<commit_after>from var import *
from ui_elements import *
from gi.repository import Gtk
from torctl import *

# ORGANIZATION OF THESE LISTS:
# 1. Main list for all the elements
# 2. A sublist for each element, with the first being a label, and the second
#    being the element itself

# List for main listbox
lb_main_elements = [
	["", init_menubutton("btnMainMenu", objs["menuMain"])],
	["Enable Tor", init_switch("swEnable", enableTor)],
]

# List for settings listbox
lb_settings_elements = [
	["SOCKS Port", init_spinbutton("spinSocks", default_socks_port, 1024, 65535, 1)],
	["Control Port", init_spinbutton("spinCtl", default_control_port, 1024, 65535, 1)],
	["Exit Nodes", init_textfield("txtExit")],
]
{'fraction_non_alphanumeric': 0.11634349030470914, 'fraction_numerical': 0.030470914127423823, 'mean_word_length': 5.689814814814815, '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': '5751291', 'n_tokens_mistral': 509, 'n_tokens_neox': 456, 'n_words': 158}