<commit_before>require_relative "../lib/minilab"

RSpec.configure do |config|
  config.expect_with :stdlib
  config.mock_framework = :rr
end<commit_msg>use both stdlib and rspec matchers (for raise_error)<commit_after>require_relative "../lib/minilab"

RSpec.configure do |config|
  config.mock_framework = :rr

  # Using both to minimize the amount of porting work.
  # most assertions are still test:unit based, but some
  # (like exceptions) us rspec
  config.expect_with :stdlib, :rspec
end
{'fraction_non_alphanumeric': 0.0931174089068826, 'fraction_numerical': 0.0, 'mean_word_length': 4.823529411764706, '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': '5174638', 'n_tokens_mistral': 159, 'n_tokens_neox': 153, 'n_words': 48}