<commit_before>from monopyly import *

# We set up the logger...
Logger.add_handler(ConsoleLogHandler(Logger.INFO))

# We find the collection of AIs from the AIs folder...
ais = load_ais()

# We play a tournament. This plays all the permutations of players
# against each other...
tournament = Tournament(player_ais=ais, max_players_per_game=4, number_of_rounds=1)
results = tournament.play()
print(results)

<commit_msg>monopyly<commit_after>from monopyly import *

# We set up the logger...
Logger.add_handler(ConsoleLogHandler(Logger.INFO_PLUS))

# We find the collection of AIs from the AIs folder...
ais = load_ais()

# We play a tournament. This plays all the permutations of
# AIs against each other...
tournament = Tournament(player_ais=ais, max_players_per_game=4, number_of_rounds=100)
results = tournament.play()
print(results)


{'fraction_non_alphanumeric': 0.09761904761904762, 'fraction_numerical': 0.007142857142857143, 'mean_word_length': 5.229629629629629, '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': '5458736', 'n_tokens_mistral': 273, 'n_tokens_neox': 259, 'n_words': 84}