<commit_before>#!/bin/bash

[ -n "$DEBUG" ] && set -o xtrace
set -o nounset
set -o errexit
shopt -s nullglob

# exec 1<&-
# exec 2<&-
# exec 1<>/tmp/container-hook.log
# exec 2>&1

cd $(dirname $0)/../

source ./etc/config

mkdir -p $rootfs_path/sbin
cp lib/proc_starter $rootfs_path/sbin/proc_starter
cp etc/config $rootfs_path/etc/config
chown $root_uid:$root_uid $rootfs_path/sbin/proc_starter
chown $root_uid:$root_uid $rootfs_path/etc/config
<commit_msg>Remove old debug code<commit_after>#!/bin/bash

[ -n "$DEBUG" ] && set -o xtrace
set -o nounset
set -o errexit
shopt -s nullglob

cd $(dirname $0)/../

source ./etc/config

mkdir -p $rootfs_path/sbin
cp lib/proc_starter $rootfs_path/sbin/proc_starter
cp etc/config $rootfs_path/etc/config
chown $root_uid:$root_uid $rootfs_path/sbin/proc_starter
chown $root_uid:$root_uid $rootfs_path/etc/config

{'fraction_non_alphanumeric': 0.14502923976608187, 'fraction_numerical': 0.008187134502923977, 'mean_word_length': 4.383647798742138, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, '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': '4438979', 'n_tokens_mistral': 366, 'n_tokens_neox': 345, 'n_words': 81}