<commit_before>import yaml
import random

barrels = yaml.load(open("affix_barrel.yml"))
sights = yaml.load(open("affix_sight.yml"))
print (barrels)
print(sights)
print ("")

barrel_class = random.choice(barrels)
sight_class = random.choice(sights)
print (barrel_class)
print(sight_class)
print("")

barrel_affix = random.choice(barrel_class['tiers'])
sight_affix = random.choice(sight_class['tiers'])
print (barrel_affix)
print (sight_affix)
print ("")<commit_msg>add magazines to select script<commit_after>import yaml
import random

barrels = yaml.load(open("affix_barrel.yml"))
sights = yaml.load(open("affix_sight.yml"))
magazines = yaml.load(open("affix_magazine.yml"))
print (barrels)
print (sights)
print (magazines)
print ("")

barrel_class = random.choice(barrels)
sight_class = random.choice(sights)
magazine_class = random.choice(magazines)
print (barrel_class)
print (sight_class)
print (magazine_class)
print("")

barrel_affix = random.choice(barrel_class['tiers'])
sight_affix = random.choice(sight_class['tiers'])
magazine_affix = random.choice(magazine_class['tiers'])
print (barrel_affix)
print (sight_affix)
print (magazine_affix)
print ("")
{'fraction_non_alphanumeric': 0.14236410698878343, 'fraction_numerical': 0.0, 'mean_word_length': 8.666666666666666, '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': '7359180', 'n_tokens_mistral': 447, 'n_tokens_neox': 413, 'n_words': 76}