<commit_before>#!/bin/bash

mkdir ./../libcore/src  ./../libcore/check
cp -R  ./src/core/ ./../libcore/src
cp -R ./check/magma/core/ ./../libcore/check
cd ./../libcore
git add .
git commit -a -m "$(git show -s --format='%s' | cat)"
git push

cd ./../libcore
if [ !make ]; then
	echo "WARNING: core is in a broken state and wont build. Please fix."
fi
cd ./../magma<commit_msg>improved the handling of printing the warning when core fails to build.<commit_after>#!/bin/bash

mkdir ./../libcore/src  ./../libcore/check
cp -R  ./src/core/ ./../libcore/src
cp -R ./check/magma/core/ ./../libcore/check
cd ./../libcore
git add .
git commit -a -m "$(git show -s --format='%s' | cat)"
git push

cd ./../libcore
make || echo "WARNING: core is in a broken state and wont build. Please fix."
cd ./../magma
{'fraction_non_alphanumeric': 0.2050314465408805, 'fraction_numerical': 0.0, 'mean_word_length': 2.316666666666667, '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': '5231853', 'n_tokens_mistral': 292, 'n_tokens_neox': 280, 'n_words': 103}