<commit_before><div class="actions <?php echo $debugMode;?> sideMenu">
	<ul class="nav nav-list">
		<?php
			switch ($menuList) {
				case 'event':
					echo '<div id="hiddenSideMenuData" class="hidden" data-event-id="' . isset($event['Event']['id']) ? h($event['Event']['id']) : 0 . '"></div>';
					if (in_array($menuItem, array('addAttribute', 'addObject', 'addAttachment', 'addIOC', 'addThreatConnect', 'populateFromTemplate'))) {
						// we can safely assume that mayModify is true if coming from these actions, as they require it in the controller and the user has already passed that check
						$mayModify = true;
						if ($isAclPublish) $mayPublish = true;
					}
					if (($menuItem === 'template_populate_results')) {
						echo $this->element('/side_menu_link', array(
							'element_id' => 'template_populate_results',
							'url' => '/templates/index',
							'text' => 'Populate From Template'
						));
					}
					if ($menuItem === 'freetextResults') {
						echo $this->element('/side_menu_link', array(
							'element_id' => 'freetextResults',
							'url' => '#',
							'text' => 'Freetext Import Result'<commit_msg>fix: fixed a typo in the side menu rework<commit_after><div class="actions <?php echo $debugMode;?> sideMenu">
	<ul class="nav nav-list">
		<?php
			switch ($menuList) {
				case 'event':
					$dataEventId = isset($event['Event']['id']) ? h($event['Event']['id']) : 0;
					echo '<div id="hiddenSideMenuData" class="hidden" data-event-id="' . $dataEventId . '"></div>';
					if (in_array($menuItem, array('addAttribute', 'addObject', 'addAttachment', 'addIOC', 'addThreatConnect', 'populateFromTemplate'))) {
						// we can safely assume that mayModify is true if coming from these actions, as they require it in the controller and the user has already passed that check
						$mayModify = true;
						if ($isAclPublish) $mayPublish = true;
					}
					if (($menuItem === 'template_populate_results')) {
						echo $this->element('/side_menu_link', array(
							'element_id' => 'template_populate_results',
							'url' => '/templates/index',
							'text' => 'Populate From Template'
						));
					}
					if ($menuItem === 'freetextResults') {
						echo $this->element('/side_menu_link', array(
							'element_id' => 'freetextResults',
							'url' => '#',
							'text' => 'Freetext Import Result'
{'fraction_non_alphanumeric': 0.17263427109974425, 'fraction_numerical': 0.0008525149190110827, 'mean_word_length': 3.611001964636542, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 29, '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': '2862446', 'n_tokens_mistral': 922, 'n_tokens_neox': 723, 'n_words': 193}