<commit_before>#!/bin/bash -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

usage() {
cat <<EOF
Usage:
images.sh build
images.sh help
EOF
	exit 1
}

cmd-build-image() {
	local repo=$1;
	cd ${DIR}/../repos/${repo} && make images
}

cmd-build-images() {
	cmd-build-image jenca-authentication
	cmd-build-image jenca-authorization
	cmd-build-image jenca-projects
	cmd-build-image jenca-router
	cmd-build-image jenca-gui
	cmd-build-image jenca-level-storage
	cmd-build-image jenca-library
}

main() {
	case "$1" in
	build)					      shift; cmd-build-images; $@;;
	*)                    usage $@;;
	esac
}

main "$@"<commit_msg>build the runtime also<commit_after>#!/bin/bash -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

usage() {
cat <<EOF
Usage:
images.sh build
images.sh help
EOF
	exit 1
}

cmd-build-image() {
	local repo=$1;
	cd ${DIR}/../repos/${repo} && make images
}

cmd-build-images() {
	cmd-build-image jenca-authentication
	cmd-build-image jenca-authorization
	cmd-build-image jenca-projects
	cmd-build-image jenca-router
	cmd-build-image jenca-gui
	cmd-build-image jenca-level-storage
	cmd-build-image jenca-library
	cmd-build-image jenca-runtime
}

main() {
	case "$1" in
	build)					      shift; cmd-build-images; $@;;
	*)                    usage $@;;
	esac
}

main "$@"
{'fraction_non_alphanumeric': 0.17507645259938837, 'fraction_numerical': 0.0061162079510703364, 'mean_word_length': 3.142405063291139, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6768738', 'n_tokens_mistral': 536, 'n_tokens_neox': 505, 'n_words': 105}