<commit_before>require 'yardstick'
require 'yardstick/rake/measurement'
require 'yardstick/rake/verify'

namespace :yardstick do
  Yardstick::Rake::Measurement.new(:measure) do |measurement|
    measurement.path = ['lib/**/*.rb', 'app/**/*.rb']
    measurement.output = File.join('doc', 'yardstick', 'index.html')
  end

  Yardstick::Rake::Verify.new(:verify) do |verify|
    verify.threshold = 65
  end
end<commit_msg>100% of the documentation all the time.<commit_after>require 'yardstick'
require 'yardstick/rake/measurement'
require 'yardstick/rake/verify'

namespace :yardstick do
  Yardstick::Rake::Measurement.new(:measure) do |measurement|
    measurement.path = ['lib/**/*.rb', 'app/**/*.rb']
    measurement.output = File.join('doc', 'yardstick', 'index.html')
  end

  Yardstick::Rake::Verify.new(:verify) do |verify|
    verify.threshold = 100
  end
end
{'fraction_non_alphanumeric': 0.16647398843930636, 'fraction_numerical': 0.009248554913294798, 'mean_word_length': 5.013888888888889, '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': '4117040', 'n_tokens_mistral': 291, 'n_tokens_neox': 287, 'n_words': 59}