<commit_before>module Vim
  module Flavor
    EnumerableExtension = ::Enumerable

    module EnumerableExtension
    end
  end
end<commit_msg>Define EnumerableExtension#before_each<commit_after>module Vim
  module Flavor
    EnumerableExtension = ::Enumerable

    module EnumerableExtension
      def before_each(&block)
        vs = each
        Enumerator.new do |y|
          loop do
            v = vs.next
            block.call(v)
            y << v
          end
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.052941176470588235, 'fraction_numerical': 0.0, 'mean_word_length': 1.953757225433526, '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': '6254959', 'n_tokens_mistral': 150, 'n_tokens_neox': 139, 'n_words': 39}