<commit_before><?php
defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
abstract class BatchHelper {
	public static function send_batch_creation_email($email, $password) {
		$ci =& get_instance();
		$ci->load->library ( 'email' );
	
		$config = array (
				'protocol' => 'sendmail',
				'mailtype' => 'html',
				'charset' => 'utf-8',
				'wordwrap' => TRUE
		);
	
		$ci->email->initialize ( $config );
	
		$ci->email->from ( '<EMAIL>', 'CompSoc Committee' );
		$ci->email->to ( $email );
		$ci->email->subject ( 'Verify Your CompSoc Account' );
		$ci->email->message ( '<p>Hi there!</p>
	
		<p>We got your details and we\'ve made a CompSoc account for you, ready for you to start getting involved!</p>
	
		<p><em>IMPORTANT:</em> We generated a password for you, but you SHOULD CHANGE IT ASAP. There isn\'t really a better way of sending it to you unfortunately.</p>
	
		<p>Your password is ' . '<PASSWORD>' . ' and you can now log in with this e-mail address at <a href="https://ulcompsoc.org.uk">the CompSoc site</a> and change it!</p>
		<p>Cheers,</p>
		<p>The CompSoc Committee</p>' );
	
		$retval = $ci->email->send ();
	
		if (! $retval) {
			log_message ( 'error', "Couldn't send confirmation e-mail to " . $email );
		}
	<commit_msg>Add password to batch email...<commit_after><?php
defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
abstract class BatchHelper {
	public static function send_batch_creation_email($email, $password) {
		$ci =& get_instance();
		$ci->load->library ( 'email' );
	
		$config = array (
				'protocol' => 'sendmail',
				'mailtype' => 'html',
				'charset' => 'utf-8',
				'wordwrap' => TRUE
		);
	
		$ci->email->initialize ( $config );
	
		$ci->email->from ( '<EMAIL>', 'CompSoc Committee' );
		$ci->email->to ( $email );
		$ci->email->subject ( 'Verify Your CompSoc Account' );
		$ci->email->message ( '<p>Hi there!</p>
	
		<p>We got your details and we\'ve made a CompSoc account for you, ready for you to start getting involved!</p>
	
		<p><em>IMPORTANT:</em> We generated a password for you, but you SHOULD CHANGE IT ASAP. There isn\'t really a better way of sending it to you unfortunately.</p>
	
		<p>Your password is "' . $password . '" and you can now log in with this e-mail address at <a href="https://ulcompsoc.org.uk">the CompSoc site</a> and change it!</p>
		<p>Cheers,</p>
		<p>The CompSoc Committee</p>' );
	
		$retval = $ci->email->send ();
	
		if (! $retval) {
			log_message ( 'error', "Couldn't send confirmation e-mail to " . $email );
		}
	
{'fraction_non_alphanumeric': 0.17350157728706625, 'fraction_numerical': 0.0007886435331230284, 'mean_word_length': 3.530357142857143, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 74, 'https://': 2, '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': '4542743', 'n_tokens_mistral': 946, 'n_tokens_neox': 850, 'n_words': 264}