<commit_before>namespace :deployment_tasks do
  desc "Run Deployment Tasks"
  task :run do
    with rails_env: fetch(:rails_env) do
      require 'deployment_tasks'
      DeploymentTasks::Tasks.run!
    end
  end

  after "deploy:updated", "deployment_tasks:run"
end
<commit_msg>use set_rails_env<commit_after>namespace :deployment_tasks do
  desc "Run Deployment Tasks"
  task :run => [:set_rails_env] do
    on fetch(:migration_servers) do
      within release_path do
        with rails_env: fetch(:rails_env) do
          require 'deployment_tasks'
          DeploymentTasks::Tasks.run!
        end
      end
    end
  end

  after "deploy:updated", "deployment_tasks:run"
end

{'fraction_non_alphanumeric': 0.08223201174743025, 'fraction_numerical': 0.0, 'mean_word_length': 3.4285714285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4935166', 'n_tokens_mistral': 227, 'n_tokens_neox': 217, 'n_words': 56}