<commit_before>require_relative 'rubys_cube/version'

class RubysCube
  def initialize
  end

  def start_ui
    require_relative 'rubys_cube/ui'
    @ui = Ui.new(self)
    @ui_thread = Thread.new { @ui.start }
  end

  def wait_for_ui
    @ui_thread.join
  end
end
<commit_msg>added abort_on_exception to the ui thread<commit_after>require_relative 'rubys_cube/version'

class RubysCube
  def initialize
  end

  def start_ui
    require_relative 'rubys_cube/ui'
    @ui = Ui.new(self)
    @ui_thread = Thread.new { @ui.start }
    @ui_thread.abort_on_exception = true
  end

  def wait_for_ui
    @ui_thread.join
  end
end

{'fraction_non_alphanumeric': 0.0784, 'fraction_numerical': 0.0, 'mean_word_length': 3.4714285714285715, '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': '2801053', 'n_tokens_mistral': 242, 'n_tokens_neox': 238, 'n_words': 51}