<commit_before>require "rubygems"
require "json"
require "#{::File.dirname(__FILE__)}/../../vendor/gems/dslify/lib/dslify"
require "#{::File.dirname(__FILE__)}/poolparty/default"
require "#{::File.dirname(__FILE__)}/schema"
require "#{::File.dirname(__FILE__)}/net/init"

module PoolParty
  def self.load_cloud_from_json(json_file_path=nil)
    json_file = json_file_path || PoolParty::Default.properties_hash_file
    PoolParty::Schema.new( ::File.read(json_file) )
  end
end

class
  def camel_case
    gsub(/(^|_|-)(.)/) { $2.upcase }
  end
end<commit_msg>Fixed call to string in lite.rb<commit_after>require "rubygems"
require "json"
require "#{::File.dirname(__FILE__)}/../../vendor/gems/dslify/lib/dslify"
require "#{::File.dirname(__FILE__)}/poolparty/default"
require "#{::File.dirname(__FILE__)}/schema"
require "#{::File.dirname(__FILE__)}/net/init"

module PoolParty
  def self.load_cloud_from_json(json_file_path=nil)
    json_file = json_file_path || PoolParty::Default.properties_hash_file
    PoolParty::Schema.new( ::File.read(json_file) )
  end
end

class String
  def camel_case
    gsub(/(^|_|-)(.)/) { $2.upcase }
  end
end
{'fraction_non_alphanumeric': 0.17585301837270342, 'fraction_numerical': 0.0017497812773403325, 'mean_word_length': 5.426966292134831, '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': '620609', 'n_tokens_mistral': 428, 'n_tokens_neox': 415, 'n_words': 65}