<commit_before><?php

function file_checks($file, $error=true){
	if(!file_exists($file)){
		if($error) die("Error: File ($file) does not exists.");
	}
	return 1;
}

function method_checks($controller, $method, $error=true){
	if(!method_exists($controller,$method)){
		if($error) die("Error: Method ($controller:$method) does not exists.");
	}
	return 1;
}<commit_msg>fix bug of error msg<commit_after><?php

function file_checks($file, $error=true){
	if(!file_exists($file)){
		if($error) die("Error: File ($file) does not exists.");
	}
	return 1;
}

function method_checks($controller, $method, $error=true){
	if(!method_exists($controller,$method)){
		if($error) die("Error: Method ($method) does not exists.");
	}
	return 1;
}
{'fraction_non_alphanumeric': 0.19204389574759945, 'fraction_numerical': 0.0054869684499314125, 'mean_word_length': 6.684210526315789, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '754944', 'n_tokens_mistral': 256, 'n_tokens_neox': 243, 'n_words': 60}