<commit_before>servicesModule = angular.module("app.services")
servicesModule.factory "RpcService", ($http) ->
    request: (method, params, error_handler = null) ->
        reqparams = {method: method, params: params || []}
        http_params =
            stack: getStackTrace()
            error_handler: error_handler
            time: Date.now()
            method: "POST",
            cache: false,
            url: '/rpc'
            data:
                jsonrpc: "2.0"
                id: 1
        angular.extend(http_params.data, reqparams)
        #console.log "RpcService <#{http_params.data.method}>, stack: #{getStackTrace()}"
        $http(http_params).then (response) ->
            console.log("RpcService <#{http_params.data.method}> response:", response, "params:", params) ###unless method in [
                "wallet_open","wallet_lock","wallet_unlock","wallet_create","batch",
                "wallet_get_info","wallet_get_setting","wallet_account_balance",
                "wallet_set_setting","wallet_account_transaction_history ",
                "wallet_market_order_list","wallet_get_account","wallet_account_yield",
                "wallet_get_transaction_fee","wallet_list_accounts",
                "wallet_account_vote_summary",
                "get_info","get_config",
                "blockchain_list_assets","blockchain_get_asset",
                "blockchain_list_delegates","blockchain_get_account",
                "blockchain_get_security_state","blockchain_get_info",
                "blockchain_market_list_asks","wallet_account_transaction_history",
                "blockchain_market_list_covers","blockchain_market_list_bids",
                "blockchain_market_status","blockchain_market_order_history",
                "blockchain_get_feeds_for_asset","blockchain_market_get_asset_collateral",
                "blockchain_market_list_shorts","blockchain_market_price_history"
            ]###
            response.data or response
<commit_msg>[rpc] removed verbose log command<commit_after>servicesModule = angular.module("app.services")
servicesModule.factory "RpcService", ($http) ->
    request: (method, params, error_handler = null) ->
        reqparams = {method: method, params: params || []}
        http_params =
            stack: getStackTrace()
            error_handler: error_handler
            time: Date.now()
            method: "POST",
            cache: false,
            url: '/rpc'
            data:
                jsonrpc: "2.0"
                id: 1
        angular.extend(http_params.data, reqparams)
        #console.log "RpcService <#{http_params.data.method}>, stack: #{getStackTrace()}"
        $http(http_params).then (response) ->
            ###console.log("RpcService <#{http_params.data.method}> response:", response, "params:", params) unless method in [
                "wallet_open","wallet_lock","wallet_unlock","wallet_create","batch",
                "wallet_get_info","wallet_get_setting","wallet_account_balance",
                "wallet_set_setting","wallet_account_transaction_history ",
                "wallet_market_order_list","wallet_get_account","wallet_account_yield",
                "wallet_get_transaction_fee","wallet_list_accounts",
                "wallet_account_vote_summary",
                "get_info","get_config",
                "blockchain_list_assets","blockchain_get_asset",
                "blockchain_list_delegates","blockchain_get_account",
                "blockchain_get_security_state","blockchain_get_info",
                "blockchain_market_list_asks","wallet_account_transaction_history",
                "blockchain_market_list_covers","blockchain_market_list_bids",
                "blockchain_market_status","blockchain_market_order_history",
                "blockchain_get_feeds_for_asset","blockchain_market_get_asset_collateral",
                "blockchain_market_list_shorts","blockchain_market_price_history"
            ]###
            response.data or response

{'fraction_non_alphanumeric': 0.11144427786106946, 'fraction_numerical': 0.0014992503748125937, 'mean_word_length': 2.7168059424326834, 'pattern_counts': {'":': 0, '<': 7, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7189633', 'n_tokens_mistral': 1095, 'n_tokens_neox': 1090, 'n_words': 142}