<commit_before>#!/usr/bin/env bash

set -eux

SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH

if [ -f $HOME/.cargo/env ]; then
    source $HOME/.cargo/env
fi

if ! command -v cargo &> /dev/null; then
    echo "cargo is required to launch demorunner-docker" >&2
    echo "see https://rustup.rs/" >&2
    exit 1
fi

cargo install --git https://github.com/kidanger/ipol-demorunner.git --rev 4831c491b615c425854837b7e8f9b62dbc96fc34 --root . --target-dir target --debug --force

export ROCKET_PROFILE=ipol
bin/ipol-demorunner >logs 2>&1 &<commit_msg>[modules/dr docker] bump version<commit_after>#!/usr/bin/env bash

set -eux

SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $SCRIPTPATH

if [ -f $HOME/.cargo/env ]; then
    source $HOME/.cargo/env
fi

if ! command -v cargo &> /dev/null; then
    echo "cargo is required to launch demorunner-docker" >&2
    echo "see https://rustup.rs/" >&2
    exit 1
fi

cargo install --git https://github.com/kidanger/ipol-demorunner.git --rev eb3877ceafbccc6baaf05db92316869ecfef1785 --root . --target-dir target --debug --force

export ROCKET_PROFILE=ipol
bin/ipol-demorunner >logs 2>&1 &
{'fraction_non_alphanumeric': 0.1634208298052498, 'fraction_numerical': 0.05334462320067739, 'mean_word_length': 3.2981818181818183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 4, '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': '1132', 'n_tokens_mistral': 514, 'n_tokens_neox': 472, 'n_words': 119}