<commit_before>#!/bin/sh --noprofile

exit_on_error() {
	result=$1
	code=$2
	message=$3

	if [ $1 != 0 ]; then
		echo $3
		exit $2
	fi
}

echo "[$(date '+%F %T')] wrapper start"
date +%s > t_wrapper_start
echo "=hostname= "$(hostname)

export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch

if [ "x$PARROT_ENABLED" != "x" ]; then
	echo "=parrot= True"
	source $VO_CMS_SW_DIR/cmsset_default.sh
	source /cvmfs/grid.cern.ch/3.2.11-1/etc/profile.d/grid-env.sh
else
	if [[ ! ( -f "$VO_CMS_SW_DIR/cmsset_default.sh" && -f /cvmfs/grid.cern.ch/3.2.11-1/etc/profile.d/grid-env.sh ) ]]; then
		# export MYCACHE=$PWD
		export MYCACHE=$TMPDIR
		# export PARROT_DEBUG_FLAGS="-d cvmfs"
		export PARROT_DEBUG_FLAGS=
		export CMS_LOCAL_SITE=T3_US_NotreDame
		export HTTP_PROXY="http://ndcms.crc.nd.edu:3128"<commit_msg>Load crab libraries for dashboard<commit_after>#!/bin/sh --noprofile

exit_on_error() {
	result=$1
	code=$2
	message=$3

	if [ $1 != 0 ]; then
		echo $3
		exit $2
	fi
}

echo "[$(date '+%F %T')] wrapper start"
date +%s > t_wrapper_start
echo "=hostname= "$(hostname)

export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
export PYTHONPATH=/cvmfs/cms.cern.ch/crab/CRAB_2_10_5_patch1/python/:$PYTHONPATH

if [ "x$PARROT_ENABLED" != "x" ]; then
	echo "=parrot= True"
	source $VO_CMS_SW_DIR/cmsset_default.sh
	source /cvmfs/grid.cern.ch/3.2.11-1/etc/profile.d/grid-env.sh
else
	if [[ ! ( -f "$VO_CMS_SW_DIR/cmsset_default.sh" && -f /cvmfs/grid.cern.ch/3.2.11-1/etc/profile.d/grid-env.sh ) ]]; then
		# export MYCACHE=$PWD
		export MYCACHE=$TMPDIR
		# export PARROT_DEBUG_FLAGS="-d cvmfs"
		export PARROT_DEBUG_FLAGS=
		export CMS_LOCAL_SITE=T3_US_NotreDame
		export HTTP_PROXY="http://ndcms.crc.nd.edu:3128"
{'fraction_non_alphanumeric': 0.17093508040500296, 'fraction_numerical': 0.029184038117927337, 'mean_word_length': 4.201238390092879, 'pattern_counts': {'":': 0, '<': 3, '<?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': '750362', 'n_tokens_mistral': 819, 'n_tokens_neox': 764, 'n_words': 125}