<commit_before>module ExercismWeb
  module Routes
    class Core < Sinatra::Application
      configure do
        set :root, Exercism.relative_to_root('lib', 'app')
        set :environment, ENV.fetch('RACK_ENV') { :development }.to_sym
        set :method_override, true

        enable :raise_errors
      end

      configure :production do
        disable :show_exceptions
      end

      configure :development do
        # Comment out this line if you want
        # to see the gorgeous 500 page
        enable :show_exceptions
      end
<commit_msg>Show exceptions in test environment<commit_after>module ExercismWeb
  module Routes
    class Core < Sinatra::Application
      configure do
        set :root, Exercism.relative_to_root('lib', 'app')
        set :environment, ENV.fetch('RACK_ENV') { :development }.to_sym
        set :method_override, true

        enable :raise_errors
      end

      configure :production do
        disable :show_exceptions
      end

      configure :development, :test do
        # Comment out this line if you want
        # to see the gorgeous 500 page
        enable :show_exceptions
      end

{'fraction_non_alphanumeric': 0.06462882096069869, 'fraction_numerical': 0.005240174672489083, 'mean_word_length': 2.4107142857142856, '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': '7423708', 'n_tokens_mistral': 322, 'n_tokens_neox': 305, 'n_words': 103}