<commit_before>require "prius"
require "sidekiq"
require "raven"
require "./lib/null_logger"

Prius.load(:bump_github_token)
Prius.load(:sentry_dsn, required: false)

Raven.configure do |config|
  config.dsn = Prius.get(:sentry_dsn) if Prius.get(:sentry_dsn)
  config.logger = NullLogger.new(STDOUT) unless Prius.get(:sentry_dsn)
end<commit_msg>Unfreeze Bundler during boot time<commit_after>require "prius"
require "sidekiq"
require "raven"
require "./lib/null_logger"

Prius.load(:bump_github_token)
Prius.load(:sentry_dsn, required: false)

Raven.configure do |config|
  config.dsn = Prius.get(:sentry_dsn) if Prius.get(:sentry_dsn)
  config.logger = NullLogger.new(STDOUT) unless Prius.get(:sentry_dsn)
end

# Heroku's ruby buildpack freezes the Gemfile to prevent accidental damage
# However, we actually *want* to manipulate Gemfiles for other repos.
Bundler.settings[:frozen] = "0"
{'fraction_non_alphanumeric': 0.11936936936936937, 'fraction_numerical': 0.0011261261261261261, 'mean_word_length': 6.470588235294118, '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': '5641860', 'n_tokens_mistral': 337, 'n_tokens_neox': 326, 'n_words': 73}