<commit_before>module Metaname::Api
  class Client
    ## Might name-clash with the RPC methods:
    # include Logger

    def initialize
      # If no config is provided, fall-back to the class-level config:
      @configuration = Configuration.new(parent: Metaname::Api.configuration)
      yield @configuration if block_given?
      # @rpc = Rpc.new @configuration.uri, @configuration.account_reference, @configuration.api_key
      @rpc = JsonRpc::Client.connect(@configuration.uri) {|args| [@configuration.account_reference, @configuration.api_key] + args }
    end

    def method_missing(method, *args)
      @rpc.call method, *args
    end
  end
end
<commit_msg>Remove commented-out code<commit_after>module Metaname::Api
  class Client
    ## Might name-clash with the RPC methods:
    # include Logger

    def initialize
      # If no config is provided, fall-back to the class-level config:
      @configuration = Configuration.new(parent: Metaname::Api.configuration)
      yield @configuration if block_given?
      @rpc = JsonRpc::Client.connect(@configuration.uri) {|args| [@configuration.account_reference, @configuration.api_key] + args }
    end

    def method_missing(method, *args)
      @rpc.call method, *args
    end
  end
end

{'fraction_non_alphanumeric': 0.09824281150159744, 'fraction_numerical': 0.0, 'mean_word_length': 3.657992565055762, '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': '5599397', 'n_tokens_mistral': 363, 'n_tokens_neox': 354, 'n_words': 101}