<commit_before><?php
class Group extends CI_Controller {

	public function __construct()
	{
		parent::__construct();

		$this->load->model('group_model'); 
		

	}

	public function index()
	{

	    $this->load->view('template/header');
		$this->load->view('group/home');
		$this->load->view('template/footer');
	}

	public function info()
	{

		    $this->load->view('template/header');
	    	$this->load->view('group/info');
	    	$this->load->view('template/footer');
	}

	public function create_group()
	{
			$this->form_validation->set_rules('name', 'Groep naam', 'required');

			if ($this->form_validation->run() === FALSE)
	    	{
	    		$this->load->view('template/header');
	    		$this->load->view('group/create_group');
	    		$this->load->view('template/footer');
	    	}
	    	else
	    	{
	    		$this->load->view('template/header');
	    		$this->group_model->set_groups();
	    		$this->load->view('group/add_users');
	    		$this->load->view('template/footer');
			}
		}

		public function add_users_group()
		{
			$this->form_validation->set_rules('username', 'Username', 'required');

			if ($this->form_validation->run() === FALSE)
	    	{
	    		$this->load->view('template/header');
	    		$this->load->view('group/add_users');
	    		$this->load->view('template/footer');
	    	}
	    	else
	    	{
	    		$this->load->view('template/header');
	    		$this->group_model->set_users_group();
	    		$this->load->view('group/create_group');
	    		$this->load->view('template/footer');<commit_msg>new branch<commit_after><?php
class Group extends CI_Controller {

	public function __construct()
	{
		parent::__construct();

		$this->load->model('group_model'); 
		

	}

	public function index()
	{

	    $this->load->view('template/header');
		$this->load->view('group/home');
		$this->load->view('template/footer');
	}

	public function info()
	{

		    $this->load->view('template/header');
	    	$this->load->view('group/info');
	    	$this->load->view('template/footer');
	}

	public function create_group()
	{
			$this->form_validation->set_rules('name', 'Groep naam', 'required');

			if ($this->form_validation->run() === FALSE)
	    	{
	    		$this->load->view('template/header');
	    		$this->load->view('group/create_group');
	    		$this->load->view('template/footer');
	    	}
	    	else
	    	{
	    		$this->load->view('template/header');
	    		$this->group_model->set_groups();
	    		$this->load->view('group/add_users');
	    		$this->load->view('template/footer');
			}
		}

		public function add_users_group()
		{
			$this->form_validation->set_rules('username', 'Username', 'required');

			if ($this->form_validation->run() === FALSE)
	    	{
	    		$this->load->view('template/header');
	    		$this->load->view('group/add_users');
	    		$this->load->view('template/footer');
	    	}
	    	else
	    	{
	    		$this->load->view('template/header');
	    		$this->group_model->set_users_group();
	    		$this->load->view('group/create_group');
	    		$this->load->view('template/footer');

	    		
{'fraction_non_alphanumeric': 0.20855263157894738, 'fraction_numerical': 0.0, 'mean_word_length': 3.0818791946308726, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 103, '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': '7199859', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1032, 'n_words': 114}