<commit_before>require 'pry'

require 'nerds_nerds_nerds/html'
module SpecMacros
  def mock_about_us_page
    File.open('spec/support/files/about_us.html') { |f| f.read }
  end

  def nerd_html
    NerdsNerdsNerds::HTML.new(
      content: self.mock_about_us_page)
  end
end<commit_msg>if I knew how to write code<commit_after>require 'pry'

require 'nerds_nerds_nerds/html'
module SpecMacros
  def self.mock_about_us_page
    File.open('spec/support/files/about_us.html') { |f| f.read }
  end

  def self.nerd_html
    NerdsNerdsNerds::HTML.new(
      content: self.mock_about_us_page)
      .parse
  end
end
{'fraction_non_alphanumeric': 0.10016420361247948, 'fraction_numerical': 0.0, 'mean_word_length': 3.959349593495935, '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': '6158490', 'n_tokens_mistral': 245, 'n_tokens_neox': 242, 'n_words': 44}