<commit_before>RCOV_OPTS=""
  require 'rcov/rcovtask'
  require File.expand_path("vendor/plugins/rspec/lib/spec/rake/spectask")

  def default_rcov_params_for_unit   
    '-i "app\/reports" -x "app\/controllers","\/Library\/","spec\/","stories\/","'+ "#{ENV['GEM_HOME']}" + '"'

  end  
  
  def default_rcov_params_for_functional   
    ' -x  "app\/reports","app\/models","app\/helpers","lib/","\/Library\/","spec\/","stories\/","' +"#{ENV['GEM_HOME']}" + '"'
  end
  
  def default_rcov_params_for_integration
    ' -x "\/Library\/","spec\/","stories\/", "gems\/","' +"#{ENV['GEM_HOME']}" + '"'
  end

  def specs_corresponding_to_unit
    %w( models helpers lib ).collect{|e| "spec/#{e}/*_spec.rb"}
  end
  
  def specs_corresponding_to_functional
    %w( controllers views ).collect{|e| "spec/#{e}/*_spec.rb"}
    
  end<commit_msg>should fix and speed up build on rcr<commit_after>RCOV_OPTS=""
  require 'rcov/rcovtask'
  require File.expand_path("vendor/plugins/rspec/lib/spec/rake/spectask")

  def default_rcov_params_for_unit   
    '-i "app\/reports" -x "app\/controllers","\/Library\/","spec\/","stories\/","'+ "#{ENV['GEM_HOME']}" + '"'

  end  
  
  def default_rcov_params_for_functional   
    ' -x  "app\/reports","app\/models","app\/helpers","lib/","\/Library\/","spec\/","stories\/","' +"#{ENV['GEM_HOME']}" + '"'
  end
  
  def default_rcov_params_for_integration
    ' -x "\/Library\/","spec\/","stories\/","' +"#{ENV['GEM_HOME']}" + '"'
  end

  def specs_corresponding_to_unit
    %w( models helpers lib ).collect{|e| "spec/#{e}/*_spec.rb"}
  end
  
  def specs_corresponding_to_functional
    %w( controllers views ).collect{|e| "spec/#{e}/*_spec.rb"}
    
  end
{'fraction_non_alphanumeric': 0.22611275964391692, 'fraction_numerical': 0.0, 'mean_word_length': 3.6963788300835656, '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': '5260369', 'n_tokens_mistral': 664, 'n_tokens_neox': 632, 'n_words': 91}