<commit_before>Rails.application.configure do
  client = Dalli::Client.new(ENV['MEMCACHIER_SERVERS'], value_max_bytes: 10_485_760)

  config.action_controller.perform_caching = true
  config.action_dispatch.rack_cache = true
  config.action_dispatch.rack_cache = { metastore: client, entitystore: client }
  config.active_record.dump_schema_after_migration = false
  config.active_support.deprecation = :notify

  config.assets.cache_store = :dalli_store
  config.assets.compile = true
  config.assets.compress = true
  config.assets.digest = true
  config.assets.js_compressor = :uglifier
  config.assets.version = '1.0'

  config.cache_classes = true
  config.cache_store = :dalli_store
  config.consider_all_requests_local = false
  config.eager_load = true
  config.force_ssl = true
  config.i18n.fallbacks = true
  config.log_formatter = ::Logger::Formatter.new
  config.log_level = :info
  config.serve_static_assets = true
  config.static_cache_control = 'public, max-age=31536000'

  config.action_mailer.default_url_options = { host: 'ugl.st' }
  ActionMailer::Base.smtp_settings = {
    port:           '587',
    address:        'smtp.mandrillapp.com',
    user_name:      ENV['MANDRILL_USERNAME'],
    password:       <PASSWORD>['<PASSWORD>'],
    domain:         'heroku.com',
    authentication: :plain
  }
  ActionMailer::Base.delivery_method = :smtp

  config.action_controller.asset_host = Proc.new do |source|
    "//our-app-cdn#{Digest::MD5.hexdigest(source).to_i(16) % 4}.herokuapp.com"
  end

  # config.middleware.use('Rack::Deflater')
  config.middleware.use('Rack::Attack')
  config.middleware.use('PartyFoul::Middleware')
end<commit_msg>Missed a word<commit_after>Rails.application.configure do
  client = Dalli::Client.new(ENV['MEMCACHIER_SERVERS'], value_max_bytes: 10_485_760)

  config.action_controller.perform_caching = true
  config.action_dispatch.rack_cache = true
  config.action_dispatch.rack_cache = { metastore: client, entitystore: client }
  config.active_record.dump_schema_after_migration = false
  config.active_support.deprecation = :notify

  config.assets.cache_store = :dalli_store
  config.assets.compile = true
  config.assets.compress = true
  config.assets.digest = true
  config.assets.js_compressor = :uglifier
  config.assets.version = '1.0'

  config.cache_classes = true
  config.cache_store = :dalli_store
  config.consider_all_requests_local = false
  config.eager_load = true
  config.force_ssl = true
  config.i18n.fallbacks = true
  config.log_formatter = ::Logger::Formatter.new
  config.log_level = :info
  config.serve_static_assets = true
  config.static_cache_control = 'public, max-age=31536000'

  config.action_mailer.default_url_options = { host: 'ugl.st' }
  ActionMailer::Base.smtp_settings = {
    port:           '587',
    address:        'smtp.mandrillapp.com',
    user_name:      ENV['MANDRILL_USERNAME'],
    password:       <PASSWORD>['<PASSWORD>'],
    domain:         'heroku.com',
    authentication: :plain
  }
  ActionMailer::Base.delivery_method = :smtp

  config.action_controller.asset_host = Proc.new do |source|
    "//uglst-cdn#{Digest::MD5.hexdigest(source).to_i(16) % 4}.herokuapp.com"
  end

  # config.middleware.use('Rack::Deflater')
  config.middleware.use('Rack::Attack')
  config.middleware.use('PartyFoul::Middleware')
end
{'fraction_non_alphanumeric': 0.11890427453341361, 'fraction_numerical': 0.01625526791089705, 'mean_word_length': 4.342443729903537, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5879249', 'n_tokens_mistral': 1201, 'n_tokens_neox': 1124, 'n_words': 163}