<commit_before><?php

class Empmodel extends CI_Model
{

public function get_employee()
    {
        $query = $this->db->get('employee');
		return $query->result();


    }
public function add_employee($data)
    {
	alert($_POST);
		extract($_POST);
	   /********************************/
	   	 $data['emp_id']= $emp_id;
		 $data['name']=  $name;
	 	 $data['sex']= $sex;
		 $data['dob']=  $dob;
		 $data['mobile']= $mobile;
		 $data['tel']= $tel;
		 $data['address']=$address;
		 $data['contract_code']= $contract_code;
		 $data['salary']=  $salary;
		 $data['job']=  $job;
	/*********************************/
         $this->db->insert("employee", $data);

    }


}


?><commit_msg>fix add error<commit_after><?php

class Empmodel extends CI_Model
{

public function get_employee()
    {
        $query = $this->db->get('employee');
		return $query->result();


    }
public function add_employee($data)
    {
		extract($_POST);
	   /********************************/
	   	 $data['emp_id']= $emp_id;
		 $data['name']=  $name;
	 	 $data['sex']= $sex;
		 $data['dob']=  $dob;
		 $data['mobile']= $mobile;
		 $data['tel']= $tel;
		 $data['address']=$address;
		 $data['contract_code']= $contract_code;
		 $data['salary']=  $salary;
		 $data['job']=  $job;
	/*********************************/
         $this->db->insert("employee", $data);

    }


}


?>
{'fraction_non_alphanumeric': 0.2994100294985251, 'fraction_numerical': 0.0, 'mean_word_length': 3.631399317406143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '1339943', 'n_tokens_mistral': 531, 'n_tokens_neox': 460, 'n_words': 77}