<commit_before>#include <wlr/util/log.h>
#include "log.h"
#include "sway/input/input-manager.h"
#include "sway/input/seat.h"
#include "sway/view.h"
#include "sway/commands.h"

struct cmd_results *cmd_kill(int argc, char **argv) {
	if (!sway_assert(config->handler_context.current_container,
				"cmd_kill called without container context")) {
		return cmd_results_new(CMD_INVALID, NULL,
				"cmd_kill called without container context "<commit_msg>dont allow kill command in config<commit_after>#include <wlr/util/log.h>
#include "log.h"
#include "sway/input/input-manager.h"
#include "sway/input/seat.h"
#include "sway/view.h"
#include "sway/commands.h"

struct cmd_results *cmd_kill(int argc, char **argv) {
	if (config->reading) {
		return cmd_results_new(CMD_FAILURE, "kill",
			"Command 'kill' cannot be used in the config file");
	}
	if (!sway_assert(config->handler_context.current_container,
				"cmd_kill called without container context")) {
		return cmd_results_new(CMD_INVALID, NULL,
				"cmd_kill called without container context "
{'fraction_non_alphanumeric': 0.13135186960690318, 'fraction_numerical': 0.0, 'mean_word_length': 5.6075949367088604, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '4079730', 'n_tokens_mistral': 377, 'n_tokens_neox': 357, 'n_words': 86}