<commit_before><commit_msg>add cap recipe<commit_after>namespace :global_error_handler do
  desc 'Subscribe to expiration'
  task :subscribe do
    run %Q{cd #{latest_release} && RAILS_ENV=#{rails_env} nohup rake global_error_handler:subscribe_to_expired >/dev/null 2>&1 & sleep 2}
  end

  desc 'Unsubscribe from expiration'
  task :unsubscribe do
    run %Q{cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} global_error_handler:unsubscribe_from_expired}
  end

  desc 'Update Subscription to expiration'
  task :update_subscription do
    unsubscribe
    subscribe
  end
  after 'deploy:restart', 'global_error_handler:update_subscription'
end

{'fraction_non_alphanumeric': 0.08895705521472393, 'fraction_numerical': 0.004601226993865031, 'mean_word_length': 5.731958762886598, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1673537', 'n_tokens_mistral': 219, 'n_tokens_neox': 209, 'n_words': 53}