<commit_before>if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec'
  end
end

require 'infinity_test'
require 'ostruct'
Bundler.require

RSpec.configure do |config|
  config.include InfinityTest::Strategy::SharedExample
  config.include InfinityTest::Observer::SharedExample
  config.include InfinityTest::TestFramework::SharedExample
  config.include InfinityTest::Framework::SharedExample

  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

class BaseFixture
  attr_accessor :strategy, :test_framework, :framework

  def initialize(options={})
    @strategy       = options[:strategy]
    @framework      = options[:framework]
    @test_framework = options[:test_framework]
  end
end
<commit_msg>Add bundler/setup to spec helper<commit_after>if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec'
  end
end

require 'infinity_test'
require 'ostruct'
require 'bundler/setup'
Bundler.require

RSpec.configure do |config|
  config.include InfinityTest::Strategy::SharedExample
  config.include InfinityTest::Observer::SharedExample
  config.include InfinityTest::TestFramework::SharedExample
  config.include InfinityTest::Framework::SharedExample

  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

class BaseFixture
  attr_accessor :strategy, :test_framework, :framework

  def initialize(options={})
    @strategy       = options[:strategy]
    @framework      = options[:framework]
    @test_framework = options[:test_framework]
  end
end

{'fraction_non_alphanumeric': 0.0916030534351145, 'fraction_numerical': 0.0, 'mean_word_length': 5.064056939501779, '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': '3351005', 'n_tokens_mistral': 532, 'n_tokens_neox': 517, 'n_words': 116}