<commit_before>local function gen_trigger_menu(event)
	local res = {
		{
			name = "add",
			hidden = true,
			description = "Add a new trigger event",
			kind = "value",
			validator = function(val)
				if #val == 0 or not string.find(val, "=") then
					return;
				end
			end,
			handler = function(val)
				local wnd = active_display().selected;<commit_msg>triggers - add missing label field<commit_after>local function gen_trigger_menu(event)
	local res = {
		{
			name = "add",
			hidden = true,
			label = "Add",
			description = "Add a new trigger event",
			kind = "value",
			validator = function(val)
				if #val == 0 or not string.find(val, "=") then
					return;
				end
			end,
			handler = function(val)
				local wnd = active_display().selected;
{'fraction_non_alphanumeric': 0.12483574244415244, 'fraction_numerical': 0.002628120893561104, 'mean_word_length': 3.0317460317460316, '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': '4310477', 'n_tokens_mistral': 306, 'n_tokens_neox': 246, 'n_words': 73}