<commit_before>#!/bin/bash

cd ..
PARENT=$(pwd)
SRC_DIR=$PARENT/dungeonmaster
BUILD_DIR=$SRC_DIR/build

if [ ! -d $BUILD_DIR ]; then
  mkdir $BUILD_DIR
fi
cd $BUILD_DIR
cmake $SRC_DIR
make -j$(lscpu | grep "^CPU(s):" | grep -o [0-9]* || 1)<commit_msg>Changed command to detect number of processors<commit_after>#!/bin/bash

cd ..
PARENT=$(pwd)
SRC_DIR=$PARENT/dungeonmaster-combat
BUILD_DIR=$SRC_DIR/build

if [ ! -d $BUILD_DIR ]; then
  mkdir $BUILD_DIR
fi
cd $BUILD_DIR
cmake $SRC_DIR
make -j$(grep -c ^processor /proc/cpuinfo)
{'fraction_non_alphanumeric': 0.15879017013232513, 'fraction_numerical': 0.005671077504725898, 'mean_word_length': 4.824175824175824, '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': '6548107', 'n_tokens_mistral': 232, 'n_tokens_neox': 215, 'n_words': 50}