<commit_before>#!/bin/bash

# !! TODO add flag to run with --no-cache

cd dependencies/tinycore-python2
echo "building python for tinycore linux..."
docker build -t tce-python .
docker run --rm tce-python > python2.tar
cd -
echo "building vent..."
docker build -t vent .
docker run --rm vent > vent.iso
rm -rf dependencies/tinycore-python2/python2.tar
echo "done..."<commit_msg>allow no-cache option on build<commit_after>#!/bin/bash

cd dependencies/tinycore-python2
echo "building python for tinycore linux..."
if [ "$1" == "--no-cache" ]; then
    docker build --no-cache -t tce-python .
else
    docker build -t tce-python .
fi
docker run --rm tce-python > python2.tar
cd -
echo "building vent..."
if [ "$1" == "--no-cache" ]; then
    docker build --no-cache -t vent .
else
    docker build -t vent .
fi
docker run --rm vent > vent.iso
rm -rf dependencies/tinycore-python2/python2.tar
echo "done..."
{'fraction_non_alphanumeric': 0.14601769911504425, 'fraction_numerical': 0.011061946902654867, 'mean_word_length': 3.004424778761062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6090167', 'n_tokens_mistral': 310, 'n_tokens_neox': 293, 'n_words': 104}