<commit_before>
class TravisFormatter < XCPretty::Simple

  def open_fold(text)
    return if text == @open_fold
    close_fold(@open_fold) if @open_fold
    puts "travis_fold:start:#{text}\r"
    @open_fold = text
  end

  def close_fold(text)
    puts "travis_fold:end:#{text}\r"
    @open_fold = nil
  end

  def format_build_target(target, project, configuration)
    open_fold("Build:#{target}")
    super
  end

  def format_clean_target(project, target, configuration)
    open_fold("Clean Targets")
    super
  end

  def format_test_run_started(name)
    open_fold(name)
    super
  end

  def format_test_run_finished(name, time)
    super
    close_fold(name)
  end
end

TravisFormatter<commit_msg>Split tests by suite<commit_after>
class TravisFormatter < XCPretty::Simple

  def open_fold(text)
    return if text == @open_fold
    close_fold(@open_fold) if @open_fold
    puts "travis_fold:start:#{text}\r"
    @open_fold = text
  end

  def close_fold(text)
    puts "travis_fold:end:#{text}\r"
    @open_fold = nil
  end

  def format_build_target(target, project, configuration)
    open_fold("Build:#{target}")
    super
  end

  def format_clean_target(project, target, configuration)
    open_fold("Clean Targets")
    super
  end

  def format_test_suite_started(name)
    open_fold("Tests:#{name}")
    super
  end
end

TravisFormatter
{'fraction_non_alphanumeric': 0.09801031687546058, 'fraction_numerical': 0.0, 'mean_word_length': 3.938181818181818, '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': '2937144', 'n_tokens_mistral': 477, 'n_tokens_neox': 474, 'n_words': 102}