<commit_before>require 'rake'
require 'rake/tasklib'
require 'stove'

module Stove
  class RakeTask < Rake::TaskLib
    attr_accessor :stove_opts

    def initialize(name = nil)
      yield self if block_given?

      desc 'Publish this cookbook' unless ::Rake.application.last_comment
      task(name || :publish) do |t, args|
        Cli.new(stove_opts || []).execute!
      end
    end

    def log_level=(level)
      Stove.log_level = level
    end
  end
end
<commit_msg>Updated last_comment to last_description per deprecation warning<commit_after>require 'rake'
require 'rake/tasklib'
require 'stove'

module Stove
  class RakeTask < Rake::TaskLib
    attr_accessor :stove_opts

    def initialize(name = nil)
      yield self if block_given?

      desc 'Publish this cookbook' unless ::Rake.application.last_description
      task(name || :publish) do |t, args|
        Cli.new(stove_opts || []).execute!
      end
    end

    def log_level=(level)
      Stove.log_level = level
    end
  end
end

{'fraction_non_alphanumeric': 0.0913604766633565, 'fraction_numerical': 0.0, 'mean_word_length': 3.1142857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7449656', 'n_tokens_mistral': 335, 'n_tokens_neox': 323, 'n_words': 90}