<commit_before>class RemoveOldAuthorities < Mongoid::Migration
  def self.up
    old_authority_keys = Ohm.redis.keys('Authority+NEW*')

    Redis.current.del *old_authority_keys unless old_authority_keys.empty?
  end<commit_msg>Attempt to fix deploy failure<commit_after>class RemoveOldAuthorities < Mongoid::Migration
  def self.up
    old_authority_keys = Ohm.redis.keys('Authority+NEW*')

    old_authority_keys.each do |key|
      Redis.current.del key
    end
  end
{'fraction_non_alphanumeric': 0.08936170212765958, 'fraction_numerical': 0.0, 'mean_word_length': 4.814814814814815, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6957342', 'n_tokens_mistral': 159, 'n_tokens_neox': 157, 'n_words': 29}