<commit_before>if Rails.env == 'development' || Rails.env == 'test'
  puts "using konacha hack!"
  require 'rspec'
  require 'konacha'
  Konacha.configure do |config|
    config.spec_dir     = "spec/javascripts"
    config.spec_matcher = /_spec\./
    config.driver       = :poltergeist
    config.stylesheets  = []
  end

  module Konacha
    class Runner
      thin_runner = Module.new do
        def run
          puts 'running konacha server'
          Capybara.server do |app, port|
            require 'rack/handler/thin'<commit_msg>Disable konacha logging<commit_after>if Rails.env == 'development' || Rails.env == 'test'
  require 'rspec'
  require 'konacha'
  Konacha.configure do |config|
    config.spec_dir     = "spec/javascripts"
    config.spec_matcher = /_spec\./
    config.driver       = :poltergeist
    config.stylesheets  = []
  end

  module Konacha
    class Runner
      thin_runner = Module.new do
        def run
          Capybara.server do |app, port|
            require 'rack/handler/thin'
{'fraction_non_alphanumeric': 0.10304219823356231, 'fraction_numerical': 0.0, 'mean_word_length': 2.4343434343434343, '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': '3812736', 'n_tokens_mistral': 341, 'n_tokens_neox': 321, 'n_words': 79}