<commit_before>module GnipApi
  # Configurations for the GnipApi gem.
  #
  # Defaults:
  # - logger: *Logger.new('tmp/gnip_api.log')*
  # - request_timeout: *60*
  # - debug: *false*
  # - enable_gzip: *true*
  # - log_level: *Logger::WARN*
  class Configuration
    attr_accessor :user, :password, :account, :logger, :source, :label, :request_timeout, :debug, 
                  :enable_gzip, :log_level, :buffer_limit

    def initialize
      @logger = Logger.new('tmp/gnip_api.log')
      @request_timeout = 60
      @debug = false
      @enable_gzip = true
      @log_level = Logger::WARN
      @logger.level = @log_level
    end
  end
end
<commit_msg>Adding buffer limit default value<commit_after>module GnipApi
  # Configurations for the GnipApi gem.
  #
  # Defaults:
  # - logger: *Logger.new('tmp/gnip_api.log')*
  # - request_timeout: *60*
  # - debug: *false*
  # - enable_gzip: *true*
  # - log_level: *Logger::WARN*
  # - buffer_limit: *1000000*
  class Configuration
    attr_accessor :user, :password, :account, :logger, :source, :label, :request_timeout, :debug, 
                  :enable_gzip, :log_level, :buffer_limit

    def initialize
      @logger = Logger.new('tmp/gnip_api.log')
      @request_timeout = 60
      @debug = false
      @enable_gzip = true
      @log_level = Logger::WARN
      @buffer_limit = 1000000
      @logger.level = @log_level
    end
  end
end

{'fraction_non_alphanumeric': 0.12822349570200572, 'fraction_numerical': 0.015759312320916905, 'mean_word_length': 2.8913649025069637, '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': '3686611', 'n_tokens_mistral': 508, 'n_tokens_neox': 478, 'n_words': 106}