<commit_before># coding: utf-8

require 'rspec/core/rake_task'
require 'rspec/core/version'

RSpec::Core::RakeTask.new(:spec)
Rake::Task[:spec].enhance(['spec:convert', 'spec:setup'])

namespace :spec do
  task :convert do
    next if RSpec::Core::Version::STRING.start_with?('2.')

    puts "Converting specs before running them on RSpec #{RSpec::Core::Version::STRING}..."

    require 'fileutils'<commit_msg>Suppress outputting running spec file paths on `spec` task<commit_after># coding: utf-8

require 'rspec/core/rake_task'
require 'rspec/core/version'

RSpec::Core::RakeTask.new(:spec) do |task|
  task.verbose = false
end

Rake::Task[:spec].enhance(['spec:convert', 'spec:setup'])

namespace :spec do
  task :convert do
    next if RSpec::Core::Version::STRING.start_with?('2.')

    puts "Converting specs before running them on RSpec #{RSpec::Core::Version::STRING}..."

    require 'fileutils'
{'fraction_non_alphanumeric': 0.16132596685082873, 'fraction_numerical': 0.004419889502762431, 'mean_word_length': 5.517985611510792, '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': '180065', 'n_tokens_mistral': 306, 'n_tokens_neox': 300, 'n_words': 72}