<commit_before>require 'basic_app'
require 'rspec/core'
require 'aruba/api'
require 'aruba_helper'

RSpec.configure do |config|
  config.include Aruba::Api
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.treat_symbols_as_metadata_keys_with_true_values = true
end<commit_msg>config for full backtrace in RSpec<commit_after>require 'basic_app'
require 'rspec/core'
require 'aruba/api'
require 'aruba_helper'

RSpec.configure do |config|
  config.include Aruba::Api
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.treat_symbols_as_metadata_keys_with_true_values = true

  # RSpec automatically cleans stuff out of backtraces;
  # sometimes this is annoying when trying to debug something e.g. a gem
  config.backtrace_clean_patterns = [
    #/\/lib\d*\/ruby\//,
    #/bin\//,
    #/gems/,
    #/spec\/spec_helper\.rb/,
    #/lib\/rspec\/(core|expectations|matchers|mocks)/
  ]
end
{'fraction_non_alphanumeric': 0.10858324715615306, 'fraction_numerical': 0.0, 'mean_word_length': 4.595375722543353, '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': '3175750', 'n_tokens_mistral': 342, 'n_tokens_neox': 330, 'n_words': 71}