<commit_before>require 'faraday'
require 'json'
require 'ostruct'

require 'uploadcare/api'
require 'uploadcare/version'

module Uploadcare
  DEFAULT_SETTINGS = {
      public_key: 'demopublickey',
      private_key: 'demoprivatekey',
      upload_url_base: 'https://upload.uploadcare.com',
      api_url_base: 'https://api.uploadcare.com',
      static_url_base: 'http://www.ucarecdn.com',
      api_version: '0.3',
      cache_files: true,
    }

  USER_AGENT = "uploadcare-ruby/#{Uploadcare::VERSION}"
  

  def self.default_settings
    DEFAULT_SETTINGS
  end

  def self.user_agent
    USER_AGENT
  end

  UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
  
  GROUP_UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}~(?<count>\d+)$/
  
  CDN_URL_FILE_REGEX = /
     (?<uuid>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})
     (?:\/-\/(?<operations>.*?))?\/?$
     /ix
  
  CDN_URL_GROUP_REGEX = /
     (?<uuid>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}~(?<count>\d+))
     (?:\/-\/(?<operations>.*?))?\/?$
     /ix
end
<commit_msg>cleanup a little bit<commit_after>require 'faraday'
require 'json'
require 'ostruct'

require 'uploadcare/api'
require 'uploadcare/version'

module Uploadcare
  DEFAULT_SETTINGS = {
      public_key: 'demopublickey',
      private_key: 'demoprivatekey',
      upload_url_base: 'https://upload.uploadcare.com',
      api_url_base: 'https://api.uploadcare.com',
      static_url_base: 'http://www.ucarecdn.com',
      api_version: '0.3',
      cache_files: true,
    }

  USER_AGENT = "uploadcare-ruby/#{Uploadcare::VERSION}"
  

  def self.default_settings
    DEFAULT_SETTINGS
  end

  def self.user_agent
    USER_AGENT
  end
end

{'fraction_non_alphanumeric': 0.20866590649942987, 'fraction_numerical': 0.03876852907639681, 'mean_word_length': 3.1587677725118484, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '4287300', 'n_tokens_mistral': 786, 'n_tokens_neox': 757, 'n_words': 91}