<commit_before>import sys
try:
    import click
except ImportError:
    sys.exit("You have to manually install click to run this file.")

import json
from heltour.tournament.teamgen import make_league, \
        total_happiness, team_rating_range, team_rating_variance, reduce_variance

from itertools import combinations
from functools import partial

class Terminal:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'
    def bold(txt):
        return Terminal.BOLD + txt + Terminal.ENDC
    def green(txt):
        return Terminal.OKGREEN + txt + Terminal.ENDC
    def blue(txt):
        return Terminal.OKBLUE + txt + Terminal.ENDC
    def header(txt):
        return Terminal.HEADER + txt + Terminal.ENDC<commit_msg>Using the actual wording suggested by @cyanfish<commit_after>import sys
try:
    import click
except ImportError:
    sys.exit("You have to manually install the 'click' package to run this file.")

import json
from heltour.tournament.teamgen import make_league, \
        total_happiness, team_rating_range, team_rating_variance, reduce_variance

from itertools import combinations
from functools import partial

class Terminal:
    HEADER = '\033[95m'
    OKBLUE = '\033[94m'
    OKGREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'
    def bold(txt):
        return Terminal.BOLD + txt + Terminal.ENDC
    def green(txt):
        return Terminal.OKGREEN + txt + Terminal.ENDC
    def blue(txt):
        return Terminal.OKBLUE + txt + Terminal.ENDC
    def header(txt):
        return Terminal.HEADER + txt + Terminal.ENDC
{'fraction_non_alphanumeric': 0.10034013605442177, 'fraction_numerical': 0.04195011337868481, 'mean_word_length': 3.057471264367816, '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': '6769697', 'n_tokens_mistral': 641, 'n_tokens_neox': 565, 'n_words': 161}