<commit_before>module Test

  # TODO: Wrap run in at_exit ?
  def self.run(config, &config_proc)
    runner = Runner.new(config, &config_proc)
    begin
      success = runner.run
      exit -1 unless success
    rescue => error<commit_msg>Fix Runner default argument. [bug]<commit_after>module Test

  # TODO: Wrap run in at_exit ?
  def self.run(config=nil, &config_proc)
    runner = Runner.new(config, &config_proc)
    begin
      success = runner.run
      exit -1 unless success
    rescue => error
{'fraction_non_alphanumeric': 0.09504950495049505, 'fraction_numerical': 0.0039603960396039604, 'mean_word_length': 3.0806451612903225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1643068', 'n_tokens_mistral': 162, 'n_tokens_neox': 161, 'n_words': 47}