<commit_before>require "simplecov"

SimpleCov.start do
  add_filter "/spec/"
  add_filter "/.bundle/"
  if ENV["partial_specs"]
    command_name "RSpec-partial"
  else
    command_name "RSpec"
  end
  project_name "Rscons"
  merge_timeout 3600
end

if ENV["dist_specs"]
  require_relative "../test/rscons"
else
  require "rscons"
end<commit_msg>add simplecov filters to filter out spec/dspec tests when the opposite spec task is executed<commit_after>require "simplecov"

SimpleCov.start do
  add_filter "/spec/"
  add_filter "/.bundle/"
  if ENV["partial_specs"]
    command_name "RSpec-partial"
  else
    command_name "RSpec"
  end
  if ENV["dist_specs"]
    add_filter "/bin/"
    add_filter "/lib/"
  else
    add_filter "test/rscons.rb"
  end
  project_name "Rscons"
  merge_timeout 3600
end

if ENV["dist_specs"]
  require_relative "../test/rscons"
else
  require "rscons"
end
{'fraction_non_alphanumeric': 0.10532276330690826, 'fraction_numerical': 0.009060022650056626, 'mean_word_length': 3.8043478260869565, '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': '2928776', 'n_tokens_mistral': 325, 'n_tokens_neox': 316, 'n_words': 81}