<commit_before>#!/usr/bin/python

import unittest
import importlib

import misc_db as m_m

def iam(m_str):
    """ import and add a module """
    global all_tests

    module = importlib.import_module(m_str)

    suite = unittest.defaultTestLoader.loadTestsFromModule(module)
    all_tests.addTest(suite)

def suite():
    global all_tests
    all_tests = unittest.TestSuite()
    iam("t_board")
    iam("t_length_lookup_table")
    iam("t_alpha_beta")
    iam("t_ab_state")
    iam("t_rules")
    iam("t_text_gui")
    iam("t_game_state")
    iam("t_utility")
    iam("t_ai_player")
    iam("t_board_strip")
    iam("t_direction_strips")
    iam("t_take_counter")
    iam("t_priority_filter")
    iam("t_priority_filter_2")
    iam("t_null_filter")
    iam("t_threat_counter")
    iam("t_game")
    iam("t_bit_reverse")
    iam("t_openings_book")
    iam("t_standardise")
    iam("t_preserved_game")
    iam("t_ai_genome")
    iam("t_ai_factory")
    iam("t_players_mgr")
    iam("t_games_mgr")
    iam("t_openings_mover")
    iam("t_misc_db")
    iam("t_mru_cache")

    return all_tests

if __name__ == "__main__":
    m_m.get_instance("test_")

    unittest.TextTestRunner().run(suite())
    
    m_m.delete("test_")<commit_msg>Shuffling for iOS testing attempt.<commit_after>#!/usr/bin/python

import unittest
import importlib

import misc_db as m_m

def iam(m_str):
    """ import and add a module """
    global all_tests

    module = importlib.import_module(m_str)

    suite = unittest.defaultTestLoader.loadTestsFromModule(module)
    all_tests.addTest(suite)

def suite():
    global all_tests
    all_tests = unittest.TestSuite()
    iam("t_rules")
    iam("t_bit_reverse")
    iam("t_misc_db")
    iam("t_mru_cache")
    iam("t_board")
    iam("t_length_lookup_table")
    iam("t_alpha_beta")
    iam("t_ab_state")
    iam("t_text_gui")
    iam("t_game_state")
    iam("t_utility")
    iam("t_ai_player")
    iam("t_board_strip")
    iam("t_direction_strips")
    iam("t_take_counter")
    iam("t_priority_filter")
    iam("t_priority_filter_2")
    iam("t_null_filter")
    iam("t_threat_counter")
    iam("t_game")
    iam("t_openings_book")
    iam("t_standardise")
    iam("t_preserved_game")
    iam("t_ai_genome")
    iam("t_ai_factory")
    iam("t_players_mgr")
    iam("t_games_mgr")
    iam("t_openings_mover")

    return all_tests

def main():
    m_m.get_instance("test_")

    unittest.TextTestRunner().run(suite())
    
    m_m.delete("test_")

if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.13859020310633213, 'fraction_numerical': 0.0007964954201513341, 'mean_word_length': 3.8494208494208495, 'pattern_counts': {'":': 2, '<': 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': '3760256', 'n_tokens_mistral': 1022, 'n_tokens_neox': 950, 'n_words': 136}