<commit_before>require 'spec_helper'

module RubyEventStore
  RSpec.describe 'no warnings' do
    include SchemaHelper
    
    specify do
      expect(ruby_event_store_browser_warnings).to eq([])
    end

    def ruby_event_store_browser_warnings
      warnings.select { |w| w =~ %r{lib/ruby_event_store/browser} }
    end

    def warnings
      `ruby -Ilib -w lib/ruby_event_store/browser.rb 2>&1`.split("\n")
    end
  end
end<commit_msg>Superfluous include.<commit_after>require 'spec_helper'

module RubyEventStore
  RSpec.describe 'no warnings' do
    specify do
      expect(ruby_event_store_browser_warnings).to eq([])
    end

    def ruby_event_store_browser_warnings
      warnings.select { |w| w =~ %r{lib/ruby_event_store/browser} }
    end

    def warnings
      `ruby -Ilib -w lib/ruby_event_store/browser.rb 2>&1`.split("\n")
    end
  end
end
{'fraction_non_alphanumeric': 0.09872241579558652, 'fraction_numerical': 0.004645760743321719, 'mean_word_length': 3.31, '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': '5706976', 'n_tokens_mistral': 307, 'n_tokens_neox': 292, 'n_words': 62}