<commit_before>require 'listof'
require 'minitest/autorun'

# puts Listof.find("countries")
# puts Listof.find("countries").to_json
# puts Listof.find("occupations").to_yaml

# puts Listof.all().to_yaml


# Test on all data
class ListofTest < MiniTest::Unit::TestCase
    def test_all_class
       assert_equal "Hash", Listof.all().class.to_s
    end
    def test_each_class
        all = Listof.all()
        all.each do |a|
            list_title = a[1]<commit_msg>unwanted code<commit_after>require 'listof'
require 'minitest/autorun'

# Test on all data
class ListofTest < MiniTest::Unit::TestCase
    def test_all_class
       assert_equal "Hash", Listof.all().class.to_s
    end
    def test_each_class
        all = Listof.all()
        all.each do |a|
            list_title = a[1]
{'fraction_non_alphanumeric': 0.11280101394169835, 'fraction_numerical': 0.0025348542458808617, 'mean_word_length': 3.1578947368421053, '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': '1028197', 'n_tokens_mistral': 270, 'n_tokens_neox': 269, 'n_words': 60}