<commit_before><?php defined('BASEPATH') or exit('No direct script access allowed');

class Module_survey extends Module {

	public $version = '1.0.0';

	public function info()
	{
		return array(
			'name' => array(
				'en' => 'survey'
			),
			'description' => array(
				'en' => 'This module is built for IOE only.'
			),
			'frontend' => TRUE,
			'backend' => TRUE,
			'menu' => 'content', // You can also place modules in their top level menu. For example try: 'menu' => 'survey',
			'sections' => array(
				'items' => array(
					'name' 	=> 'survey:items', // These are translated from your language file
					'uri' 	=> 'admin/survey',
						'shortcuts' => array(
							'create' => array(
								'name' 	=> 'survey:create',
								'uri' 	=> 'admin/survey/create',
								'class' => 'add'
								)
							)
						)
				)
		);
	}

	public function install()
	{
		$this->dbforge->drop_table('survey');
		$this->db->delete('settings', array('module' => 'survey'));
<commit_msg>delete plugin from survey module<commit_after><?php defined('BASEPATH') or exit('No direct script access allowed');

class Module_survey extends Module {

	public $version = '1.0.0';

	public function info()
	{
		return array(
			'name' => array(
				'en' => 'Survey'
			),
			'description' => array(
				'en' => 'This module is built for IOE only.'
			),
			'frontend' => TRUE,
			'backend' => TRUE,
			'menu' => 'content', // You can also place modules in their top level menu. For example try: 'menu' => 'survey',
			'sections' => array(
				'items' => array(
					'name' 	=> 'survey:items', // These are translated from your language file
					'uri' 	=> 'admin/survey',
						'shortcuts' => array(
							'create' => array(
								'name' 	=> 'survey:create',
								'uri' 	=> 'admin/survey/create',
								'class' => 'add'
								)
							)
						)
				)
		);
	}

	public function install()
	{
		$this->dbforge->drop_table('survey');
		$this->db->delete('settings', array('module' => 'survey'));

{'fraction_non_alphanumeric': 0.1820010055304173, 'fraction_numerical': 0.0030165912518853697, 'mean_word_length': 2.7335834896810507, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 47, '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': '6044012', 'n_tokens_mistral': 853, 'n_tokens_neox': 668, 'n_words': 178}