<commit_before>module KebabRemoteApi
	class Api::V1::UsersController < KebabRemoteApi::ApplicationController
  	respond_to :json

	  def index
  	  render status: 200, json: {
    	  'active_user' => User.with_block_status(:active).count,
      	'total_user'  => User.all.count,
   	    'total_user_by_role' => User.role.values.map { |role| { "role_name" => role.to_s,
                                                  "count" => User.with_role(role).count } }
    	}.to_json
  	end
end<commit_msg>#7 Handle syntax error<commit_after>module KebabRemoteApi
	class Api::V1::UsersController < KebabRemoteApi::ApplicationController
  	respond_to :json

	  def index
  	  render status: 200, json: {
    	  'active_user' => User.with_block_status(:active).count,
      	'total_user'  => User.all.count,
   	    'total_user_by_role' => User.role.values.map { |role| { "role_name" => role.to_s,
                                                  "count" => User.with_role(role).count } }
    	}.to_json
  	end
	end
end
{'fraction_non_alphanumeric': 0.12178217821782178, 'fraction_numerical': 0.00891089108910891, 'mean_word_length': 2.486206896551724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2558315', 'n_tokens_mistral': 342, 'n_tokens_neox': 333, 'n_words': 57}