<commit_before>require 'thor'
require 'middleman-core'
require 'middleman-core/cli'
require 'kanpachi'

begin
  require 'middleman-deploy'

  class Middleman::Cli::Deploy
    default_task :deploy
  end

  module Kanpachi
    class CLI < Thor
      task = ::Middleman::Cli::Deploy.tasks['deploy']
      register ::Middleman::Cli::Deploy, 'deploy', task.usage, task.description, task.options
    end
  end
rescue LoadError
end
<commit_msg>rescue LoadError only on requiring middleman-deploy to avoid side effects<commit_after>require 'thor'
require 'middleman-core'
require 'middleman-core/cli'
require 'kanpachi'

begin
  require 'middleman-deploy'
rescue LoadError
end

if defined? Middleman::Cli::Deploy
  class Middleman::Cli::Deploy
    default_task :deploy
  end

  module Kanpachi
    class CLI < Thor
      task = ::Middleman::Cli::Deploy.tasks['deploy']
      register ::Middleman::Cli::Deploy, 'deploy', task.usage, task.description, task.options
    end
  end
end
{'fraction_non_alphanumeric': 0.10905349794238683, 'fraction_numerical': 0.0, 'mean_word_length': 4.528409090909091, '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': '6031583', 'n_tokens_mistral': 331, 'n_tokens_neox': 303, 'n_words': 81}