<commit_before>#!/bin/bash

set -e
. /dgr/bin/functions.sh
isLevelEnabled "debug" && set -x

export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive

apt-get update -q
apt-get install -y -q python python-pip python-dev build-essential

ENJOLIVER=/opt/enjoliver

ln -sv ${ENJOLIVER}/bootcfg /var/lib/bootcfg
pip install --upgrade pip
pip install -r ${ENJOLIVER}/requirements.txt

pip freeze

ln -s /usr/local/bin/gunicorn /usr/bin/gunicorn

${ENJOLIVER}/validate.py

bootcfg --version

echo "build done"<commit_msg>Less verbosity inside the dgr build<commit_after>#!/bin/bash

set -e
. /dgr/bin/functions.sh
isLevelEnabled "debug" && set -x

export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive

apt-get update -qq
apt-get install -y -qq python python-pip python-dev build-essential

ENJOLIVER=/opt/enjoliver

ln -sv ${ENJOLIVER}/bootcfg /var/lib/bootcfg
pip install --upgrade pip
pip install -r ${ENJOLIVER}/requirements.txt

pip freeze

ln -sv /usr/local/bin/gunicorn /usr/bin/gunicorn

${ENJOLIVER}/validate.py

bootcfg --version

echo "build done"
{'fraction_non_alphanumeric': 0.12202097235462345, 'fraction_numerical': 0.0, 'mean_word_length': 4.097087378640777, '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': '2970137', 'n_tokens_mistral': 414, 'n_tokens_neox': 389, 'n_words': 100}