<commit_before># -*- encoding : utf-8 -*-
if ENV['COVERAGE']
  require 'simplecov'
  require 'simplecov-html'
  require 'support/fix_simplecov'

  SimpleCov.minimum_coverage 99.7
  SimpleCov.start do
    add_filter 'Gemfile' # Why would we want the Gemfile coverage ?!
    add_filter 'spec'

    # Define a group for the extras folder
    add_group 'Shiva', 'lib/shiva/|shiva.rb'
    add_group 'Tasks', 'lib/tasks/'
  end
end
<commit_msg>add generators group to SimpleCov<commit_after># -*- encoding : utf-8 -*-
if ENV['COVERAGE']
  require 'simplecov'
  require 'simplecov-html'
  require 'support/fix_simplecov'

  SimpleCov.minimum_coverage 80 # we will never be at 100% with one run
  SimpleCov.start do
    add_filter 'Gemfile' # Why would we want the Gemfile coverage ?!
    add_filter 'spec'

    # Define a group for the extras folder
    add_group 'Shiva', 'lib/shiva/|shiva.rb'
    add_group 'Tasks', 'lib/tasks/'
    add_group 'Generators', 'lib/rails'
  end
end

{'fraction_non_alphanumeric': 0.11190965092402463, 'fraction_numerical': 0.01026694045174538, 'mean_word_length': 3.55607476635514, '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': '2850051', 'n_tokens_mistral': 351, 'n_tokens_neox': 333, 'n_words': 98}