<commit_before><?

function api_getAlerts_start_date($start_date) {
    	$args = array (
    		'start_date' => $start_date,
        'end_date'   => $end_date
    	);
	$alert = new ALERT();    
	$data = $alert->fetch_between($confirmed=1, $deleted=0, $args['start_date'], $args['end_date']);
  api_output($data);
}<commit_msg>Bugfix<commit_after><?

function api_getAlerts_start_date($start_date) {
  $args = array ('start_date' => $start_date, 'end_date' => get_http_var('end_date'));
  $alert = new ALERT();    
  $data = $alert->fetch_between($confirmed=1, $deleted=0, $args['start_date'], $args['end_date']);
  api_output($data);
}
{'fraction_non_alphanumeric': 0.19400630914826497, 'fraction_numerical': 0.006309148264984227, 'mean_word_length': 5.287128712871287, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3286096', 'n_tokens_mistral': 240, 'n_tokens_neox': 240, 'n_words': 36}