<commit_before>#!/bin/bash

#########################################
#          Pre-install checks
#########################################
if [ "$USER" != 'root' ]; then
    echo "ERROR: Script must be run using root!"
    exit
fi

#########################################
#     Per-Machine Install Variables
#########################################
<commit_msg>Add a warning message to setup_wargame.sh (it looks like someone's actually made this mistake in IRC recently, but it's probably a good idea to have a warning even if it turns out that they're ok).<commit_after>#!/bin/bash

#########################################
#          Pre-install checks
#########################################

# Warn the user about running this on their host machine
# (because it makes various invasive settings-changes, and runs a ton of vulnerable services)
echo -e "\x1b[31;1mDON'T RUN THIS ON YOUR REAL COMPUTER\x1b[0m"
echo -e "If you're running this on your real computer, \x1b[31;1mpress control-c NOW\x1b[0m to stop this script."
sleep 10

if [ "$USER" != 'root' ]; then
    echo "ERROR: Script must be run using root!"
    exit
fi

echo -e "\x1b[32;1mProceeding with the installation.\x1b[0m"

#########################################
#     Per-Machine Install Variables
#########################################

{'fraction_non_alphanumeric': 0.3196969696969697, 'fraction_numerical': 0.015151515151515152, 'mean_word_length': 4.897321428571429, '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': '182755', 'n_tokens_mistral': 369, 'n_tokens_neox': 338, 'n_words': 131}