<commit_before>#!/bin/sh

# Testing if UID was empty (not allowed)
if [ "$MYUID" = "" ]; then
	echo "\$MYUID is not set"
	exit 1
elif [ "$MYUID" = "$(id xenon -u)" ]; then
	echo "Uid of xenon user is already same as MYUID=$MYUID, not changing uid"
else
	echo "Changing uid of xenon user to MYUID=$MYUID"
	usermod -u $MYUID xenon
	chown -R $MYUID /home/xenon
fi

# ssh in prepareIntegrationTest in build.gradle adds ecdsa key which it cant read
# fill known hosts so prepareIntegrationTest
setuser xenon ssh-keyscan -t rsa xenon-ssh >> /home/xenon/.ssh/known_hosts

if [ "$BOOT_DELAY" != "" ]; then
    echo 'Waiting' $BOOT_DELAY 'seconds for services to boot-up...'
    sleep $BOOT_DELAY
    echo 'Grid engine should have 2 exec hosts:'
    setuser xenon ssh-keyscan -t rsa xenon-gridengine >> /home/xenon/.ssh/known_hosts
    setuser xenon ssh xenon-gridengine qhost
fi

setuser xenon "$@"<commit_msg>Force xenon-test known_hosts to be writable by xenon user.<commit_after>#!/bin/sh

# Testing if UID was empty (not allowed)
if [ "$MYUID" = "" ]; then
	echo "\$MYUID is not set"
	exit 1
elif [ "$MYUID" = "$(id xenon -u)" ]; then
	echo "Uid of xenon user is already same as MYUID=$MYUID, not changing uid"
else
	echo "Changing uid of xenon user to MYUID=$MYUID"
	usermod -u $MYUID xenon
	chown -R $MYUID /home/xenon
fi

# ssh in prepareIntegrationTest in build.gradle adds ecdsa key which it cant read
# fill known hosts so prepareIntegrationTest
ssh-keyscan -t rsa xenon-ssh >> /home/xenon/.ssh/known_hosts
chown xenon.xenon /home/xenon/.ssh/known_hosts

if [ "$BOOT_DELAY" != "" ]; then
    echo 'Waiting' $BOOT_DELAY 'seconds for services to boot-up...'
    sleep $BOOT_DELAY
    echo 'Grid engine should have 2 exec hosts:'
    setuser xenon ssh-keyscan -t rsa xenon-gridengine >> /home/xenon/.ssh/known_hosts
    setuser xenon ssh xenon-gridengine qhost
fi

setuser xenon "$@"
{'fraction_non_alphanumeric': 0.1126461211477152, 'fraction_numerical': 0.0021253985122210413, 'mean_word_length': 3.7075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5700882', 'n_tokens_mistral': 728, 'n_tokens_neox': 668, 'n_words': 239}