<commit_before>#!/bin/bash
# Init script for postgres that enables some modules

set -e

if [ "$1" = 'spindle' ]; then
	/usr/bin/twine -S || exit $?
	exec /usr/sbin/apache2 -DFOREGROUND
fi

exec "$@"
<commit_msg>add some sleep to wait for db to go up<commit_after>#!/bin/bash
# Init script for postgres that enables some modules

set -e

if [ "$1" = 'spindle' ]; then
	echo "Sleeping for 5 seconds to make sure database is initialised.."
	sleep 5
	/usr/bin/twine -S || exit $?
	exec /usr/sbin/apache2 -DFOREGROUND
fi

exec "$@"

{'fraction_non_alphanumeric': 0.13636363636363635, 'fraction_numerical': 0.011363636363636364, 'mean_word_length': 3.4453781512605044, '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': '2444071', 'n_tokens_mistral': 209, 'n_tokens_neox': 192, 'n_words': 68}