<commit_before>#!/usr/bin/env bash
export MINI_KB=true
NJSW_JAR=`readlink -f NJSWrapper-all.jar`
JOBID=$1
KBASE_ENDPOINT=$2
BASE_DIR=$BASE_DIR/$JOBID
mkdir -p $BASE_DIR && cd $BASE_DIR
echo "Jar Location = $NJSW_JAR" >> jar
java -cp $NJSW_JAR us.kbase.narrativejobservice.sdkjobs.SDKLocalMethodRunner $JOBID $KBASE_ENDPOINT > sdk_lmr.out 2> sdk_lmr.err.sdkjobs.SDKLocalMethodRunner $JOBID $KBASE_ENDPOINT > sdk_lmr.out 2> sdk_lmr.err<commit_msg>Made the sdk shell script match the other<commit_after>#!/usr/bin/env bash
if [ -e /etc/clustername ] ; then
  echo "NERSC"
  HOME=/global/homes/k/kbaserun
  $HOME/bin/run_async_srv_method.sh $@
else
export MINI_KB=true
NJSW_JAR=`readlink -f NJSWrapper-all.jar`
JOBID=$1
KBASE_ENDPOINT=$2
BASE_DIR=$BASE_DIR/$JOBID
mkdir -p $BASE_DIR && cd $BASE_DIR
echo "Jar Location = $NJSW_JAR" > jar
java -cp $NJSW_JAR us.kbase.narrativejobservice.sdkjobs.SDKLocalMethodRunner $JOBID $KBASE_ENDPOINT > sdk_lmr.out 2> sdk_lmr.err
fi
{'fraction_non_alphanumeric': 0.12240663900414937, 'fraction_numerical': 0.007261410788381743, 'mean_word_length': 5.795774647887324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '5552910', 'n_tokens_mistral': 440, 'n_tokens_neox': 414, 'n_words': 79}