<commit_before>#!/usr/bin/env ruby

require 'test/unit'
require 'hpricot'
require 'load_files'

#class TestParser < Test::Unit::TestCase
  # def setup
  #   @basic = Hpricot.parse(TestFiles::BASIC)
  #   # @boingboing = HTree.parse(TestFiles::BOINGBOING)<commit_msg> * add rubygems requirement to test, so hpricot will be included<commit_after>#!/usr/bin/env ruby

require 'test/unit'
require 'rubygems'
require 'hpricot'
require 'load_files'

#class TestParser < Test::Unit::TestCase
  # def setup
  #   @basic = Hpricot.parse(TestFiles::BASIC)
  #   # @boingboing = HTree.parse(TestFiles::BOINGBOING)
{'fraction_non_alphanumeric': 0.1362126245847176, 'fraction_numerical': 0.0, 'mean_word_length': 5.28125, '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': '6845366', 'n_tokens_mistral': 230, 'n_tokens_neox': 217, 'n_words': 45}