<commit_before>#!/bin/sh

if [ "$1" = "" ]; then
	echo
	echo "Usage:"
	echo
	echo "    getconfig.sh <endpoint> <config-url>"
	echo
	exit 1
fi

DEPENDENCIES="awk sed curl mktemp"
for dep in $DEPENDENCIES; do
	DEPPATH=$(which $dep)<commit_msg>Added more checks to getconfig script.<commit_after>#!/bin/sh

if [ "$1" = "" -o "$2" = "" ]; then
	echo
	echo "Usage:"
	echo
	echo "    getconfig.sh <endpoint> <config-url>"
	echo
	echo
	exit 1
fi

DEPENDENCIES="awk sed curl mktemp"
for dep in $DEPENDENCIES; do
	DEPPATH=$(which $dep)
{'fraction_non_alphanumeric': 0.155893536121673, 'fraction_numerical': 0.009505703422053232, 'mean_word_length': 3.8796296296296298, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6496767', 'n_tokens_mistral': 219, 'n_tokens_neox': 211, 'n_words': 61}