<commit_before>function invalidProfile(data) {
	if(!data.name) return true;
        else if(data.name.length === 0) return true;
        else return false;
}<commit_msg>update controllerUtils for profile<commit_after>function invalidProfile(data) {
	if(!data.name) return true;
        else if(data.name.length === 0) return true;
	else if(!data.ofp_version) return true;
	else if(data.ofp_version === 10 || data.ofp_version === 11 || data.ofp_version === 12 || data.ofp_version === 13 || data.ofp_version === 14) return true;
        else return false;
}
{'fraction_non_alphanumeric': 0.14054054054054055, 'fraction_numerical': 0.021621621621621623, 'mean_word_length': 4.148148148148148, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5926296', 'n_tokens_mistral': 185, 'n_tokens_neox': 171, 'n_words': 46}