<commit_before>#!/bin/sh
echo "--------create directory structure--------"
mkdir -p "${PWD}"/var/var/log/anycast-healthchecker
touch "${PWD}"/var/var/log/anycast-healthchecker/anycast-healthchecker.log
touch "${PWD}"/var/var/log/anycast-healthchecker/stdout.log
touch "${PWD}"/var/var/log/anycast-healthchecker/stderr.log
mkdir -p "${PWD}"/var/etc/anycast-healthcheck.d
mkdir -p "${PWD}"/var/var/run/anycast-healthchecker
mkdir -p "${PWD}"/var/var/run/anycast-healthchecker
mkdir -p "${PWD}"/var/etc/bird.d/anycast-prefixes.conf
echo "-----------installing software------------"
python3.4 setup.py install --user
echo "-------------runing software--------------"
anycast-healthchecker -c "${PWD}"/var/etc/anycast-healthcheck.d \
    -p "${PWD}"/var/var/run/anycast-healthchecker/anycast-healthchecker.pid \
    -l debug \
    --bird-conf "${PWD}"/var/etc/bird.d/anycast-prefixes.conf \
    --bird-constant-name BIRD_CONSTANT_NAME \
    --log-file  "${PWD}"/var/var/log/anycast-healthchecker/anycast-healthchecker.log \
    --stderr-file "${PWD}"/var/var/log/anycast-healthchecker/stderr.log  \
    --stdout-file "${PWD}"/var/var/log/anycast-healthchecker/stdout.log
echo "---------------------------------------"<commit_msg>some updates on local_run<commit_after>#!/bin/sh
echo "--------create directory structure--------"
mkdir -p "${PWD}"/var/var/log/anycast-healthchecker
mkdir -p "${PWD}"/var/etc/bird.d
touch "${PWD}"/var/etc/bird.d/anycast-prefixes.conf
touch "${PWD}"/var/var/log/anycast-healthchecker/anycast-healthchecker.log
touch "${PWD}"/var/var/log/anycast-healthchecker/stdout.log
touch "${PWD}"/var/var/log/anycast-healthchecker/stderr.log
mkdir -p "${PWD}"/var/etc/anycast-healthcheck.d
mkdir -p "${PWD}"/var/var/run/anycast-healthchecker
mkdir -p "${PWD}"/var/var/run/anycast-healthchecker
echo "-----------installing software------------"
python3.4 setup.py install --user
echo "-------------runing software--------------"
anycast-healthchecker -c "${PWD}"/var/etc/anycast-healthcheck.d \
    -p "${PWD}"/var/var/run/anycast-healthchecker/anycast-healthchecker.pid \
    -l debug \
    --bird-conf "${PWD}"/var/etc/bird.d/anycast-prefixes.conf \
    --bird-constant-name BIRD_CONSTANT_NAME \
    --log-file  "${PWD}"/var/var/log/anycast-healthchecker/anycast-healthchecker.log \
    --stderr-file "${PWD}"/var/var/log/anycast-healthchecker/stderr.log  \
    --stdout-file "${PWD}"/var/var/log/anycast-healthchecker/stdout.log
echo "---------------------------------------"
{'fraction_non_alphanumeric': 0.25823293172690764, 'fraction_numerical': 0.001606425702811245, 'mean_word_length': 2.7742424242424244, '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': '48478', 'n_tokens_mistral': 894, 'n_tokens_neox': 877, 'n_words': 113}