<commit_before><?php

class Billing extends CI_Controller
	{
		  private function head()
			    {
			    	 $this->load->model(array(
			            'home/option',
			            'home/option_header',
			            'home/useroption'
			        ));
			        $this->load->view('templates/header');
			        $this->load->view('templates/header_title2');
			    }
			    function view_bill($legacyid){
			    		$this->head();
			    		$this->load->model('cashier/assesment');
			    		$data['legacyid'] = $legacyid;
			    		$this->load->view('audit/view_assesment', $data);
			    		$this->load->model('dean/student');
			    		$this->student->getCalculation(14);
			    }
			    function view_studentbilling($type, $legacyid){
			    	$this->head();
			    	$this->load->model('cashier/assesment');
			    	$data['legacyid'] = $legacyid;
			    	$data['type'] = $type;
			    	$this->load->view('audit/view_studentbilling', $data);
			    }
			    function search(){
			    	redirect('/billing/view_bill/'.$this->input->post('search'));
			    }
			    function posting(){

			    }
					function payments(){
						
					}
	}<commit_msg>Edited controller<commit_after><?php

class Billing extends CI_Controller
	{
		  private function head()
			    {
			    	 $this->load->model(array(
			            'home/option',
			            'home/option_header',
			            'home/useroption'
			        ));
			        $this->load->view('templates/header');
			        $this->load->view('templates/header_title2');
			    }
			    function view_bill($legacyid){
			    		$this->head();
			    		$this->load->model('cashier/assesment');
			    		$data['legacyid'] = $legacyid;
			    		$this->load->view('audit/view_assesment', $data);
			    		$this->load->model('dean/student');
			    		$this->student->getCalculation(14);
			    }
			    function view_studentbilling($type, $legacyid){
			    	$this->head();
			    	$this->load->model('cashier/assesment');
			    	$data['legacyid'] = $legacyid;
			    	$data['type'] = $type;
			    	$this->load->view('audit/view_studentbilling', $data);
			    }
			    function search(){
			    	redirect('/billing/view_bill/'.$this->input->post('search'));
			    }
			    function posting(){

			    }
					function payments_posting(){

					}
	}
{'fraction_non_alphanumeric': 0.17425569176882663, 'fraction_numerical': 0.002626970227670753, 'mean_word_length': 2.071236559139785, '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': '2745578', 'n_tokens_mistral': 934, 'n_tokens_neox': 713, 'n_words': 85}