<commit_before>module AegisExtension
	module Permissions
		def self.included(base)
			base.extend ClassMethods  
		end

		module ClassMethods
			#	See the 'normalized' permissions created
			def permission_names
				@permission_blocks.keys
			end

			def exists?(permission)
				self.permission_names.include?(
					Aegis::Normalization.normalize_permission(permission).to_sym
				)
			end
		end

	end
end<commit_msg>converted permission to string before testing existance<commit_after>module AegisExtension
	module Permissions
		def self.included(base)
			base.extend ClassMethods  
		end

		module ClassMethods
			#	See the 'normalized' permissions created
			def permission_names
				@permission_blocks.keys
			end

			def exists?(permission)
				self.permission_names.include?(
					Aegis::Normalization.normalize_permission(permission.to_s).to_sym
				)
			end
		end

	end
end
{'fraction_non_alphanumeric': 0.060158910329171394, 'fraction_numerical': 0.0, 'mean_word_length': 3.9, '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': '4804089', 'n_tokens_mistral': 323, 'n_tokens_neox': 260, 'n_words': 61}