<commit_before>namespace :circuitry do
  desc 'Create subscriber queues and subscribe queue to topics'
  task :setup do
    require 'logger'
    require 'circuitry/provisioning'

    logger = Logger.new(STDOUT)
    logger.level = Logger::INFO

    Circuitry::Provisioning.provision(logger: logger)
  end
end<commit_msg>Fixed rails environment loading for setup rake task<commit_after>namespace :circuitry do
  desc 'Create subscriber queues and subscribe queue to topics'
  task :setup do
    require 'logger'
    require 'circuitry/provisioning'

    logger = Logger.new(STDOUT)
    logger.level = Logger::INFO

    Circuitry::Provisioning.provision(logger: logger)
  end

  if Rake::Task.task_defined?(:environment)
    task setup: :environment
  end
end
{'fraction_non_alphanumeric': 0.08068783068783068, 'fraction_numerical': 0.0, 'mean_word_length': 4.256944444444445, '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': '6236838', 'n_tokens_mistral': 234, 'n_tokens_neox': 217, 'n_words': 66}