<commit_before>if ENV["REDISCLOUD_URL"]
  uri = URI.parse(ENV["REDISCLOUD_URL"])
  $redis = Redis.new(:host => uri.host, :port => uri.port, :password => <PASSWORD>)
end<commit_msg>Adjust redis config file<commit_after>if Rails.env.production?
  uri = URI.parse(ENV["REDISCLOUD_URL"])
  REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => <PASSWORD>)
  Resque.redis = REDIS
end
{'fraction_non_alphanumeric': 0.178117048346056, 'fraction_numerical': 0.0, 'mean_word_length': 5.566666666666666, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4123506', 'n_tokens_mistral': 151, 'n_tokens_neox': 150, 'n_words': 28}