<commit_before>require 'dragonfly'
require 'lilie'
Dragonfly.app(:lilie).configure do |config|
  plugin :imagemagick

  verify_urls true
  secret ENV['DRAGONFLY_SECRET'] || 'changeme'

  if RACK_ENV.development?
    datastore :file, root_path: File.join(ROOT_PATH, 'public/images'), server_root: 'public'
  else
    datastore :s3,
      bucket_name: ENV['AWS_BUCKET_NAME'],<commit_msg>so that test will use the local repo<commit_after>require 'dragonfly'
require 'lilie'
Dragonfly.app(:lilie).configure do |config|
  plugin :imagemagick

  verify_urls true
  secret ENV['DRAGONFLY_SECRET'] || 'changeme'

  if !RACK_ENV.production?
    datastore :file, root_path: File.join(ROOT_PATH, 'public/images'), server_root: 'public'
  else
    datastore :s3,
      bucket_name: ENV['AWS_BUCKET_NAME'],
{'fraction_non_alphanumeric': 0.11979823455233292, 'fraction_numerical': 0.0025220680958385876, 'mean_word_length': 5.301587301587301, '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': '5427495', 'n_tokens_mistral': 302, 'n_tokens_neox': 300, 'n_words': 62}