<commit_before>$:.unshift File.dirname(__FILE__) + '/../lib'

require "rubygems"
require "bundler/setup"
require "vcr"
require "simplecov"

SimpleCov.start

require "tec_doc"

VCR.config do |c|
  c.cassette_library_dir = "spec/cassettes"
  c.stub_with :fakeweb
  c.ignore_localhost = true
  c.default_cassette_options = { :record => :new_episodes }
end

RSpec.configure do |config|
  config.extend VCR::RSpec::Macros
  config.before(:all) do
    I18n.locale = "lv"
    TecDoc.client = TecDoc::Client.new(
      :provider => 330,
      :country => "lv",
      :mode => :test
    )
  end
end<commit_msg>Ignore vendor/bundle<commit_after>$:.unshift File.dirname(__FILE__) + '/../lib'

require "rubygems"
require "bundler/setup"
require "vcr"
require "simplecov"

SimpleCov.start do
  add_filter '/vendor/bundle/'
end

require "tec_doc"

VCR.config do |c|
  c.cassette_library_dir = "spec/cassettes"
  c.stub_with :fakeweb
  c.ignore_localhost = true
  c.default_cassette_options = { :record => :new_episodes }
end

RSpec.configure do |config|
  config.extend VCR::RSpec::Macros
  config.before(:all) do
    I18n.locale = "lv"
    TecDoc.client = TecDoc::Client.new(
      :provider => 330,
      :country => "lv",
      :mode => :test
    )
  end
end
{'fraction_non_alphanumeric': 0.14113873295910184, 'fraction_numerical': 0.00801924619085806, 'mean_word_length': 3.691729323308271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '2182383', 'n_tokens_mistral': 483, 'n_tokens_neox': 474, 'n_words': 96}