<commit_before><commit_msg>Add a module for mixing in a deprecated alias<commit_after>module GdsApi
  module TestHelpers
    module AliasDeprecated
      def alias_deprecated(deprecated_method, replacement_method)
        class_name = self.name
        define_method(deprecated_method) do |*args, &block|
          warn "##{deprecated_method} is deprecated on #{class_name} and will be removed in a future version. Use ##{replacement_method} instead"
          public_send(replacement_method, *args, &block)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06946983546617916, 'fraction_numerical': 0.0, 'mean_word_length': 3.6050420168067228, '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': '7381727', 'n_tokens_mistral': 152, 'n_tokens_neox': 153, 'n_words': 48}