<commit_before>require "discombobulator/version"
require "discombobulator/config"

Discombobulator::Config.instance.add_plugin(lambda { puts "You made it this time" })

class Discombobulator
  def method_missing(_)
    plugins[rand(plugins.size)].call
    Discombobulator.new
  end

  private
  def plugins
    Discombobulator::Config.instance.plugins
  end
end<commit_msg>Would you like to sample our wares?<commit_after>require "discombobulator/version"
require "discombobulator/config"

Discombobulator::Config.instance.add_plugin(lambda { puts "You made it this time" })

class Discombobulator
  def method_missing(_)
    plugins.sample.call
    Discombobulator.new
  end

  private
  def plugins
    Discombobulator::Config.instance.plugins
  end
end
{'fraction_non_alphanumeric': 0.08079470198675497, 'fraction_numerical': 0.0, 'mean_word_length': 5.048, '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': '4474673', 'n_tokens_mistral': 236, 'n_tokens_neox': 232, 'n_words': 53}