<commit_before>#!/bin/sh

BASE=`readlink -f $0 | xargs dirname`;
JAR=`find target/ -name 'scalala-*-jar-with-dependencies.jar' | head -1`

# find jar in target/
if [ ! -e $JAR ] ; then
  echo "Could not find target/scalala-*-jar-with-dependencies.jar."
  echo "Make sure to run mvn assembly:assembly first."
  exit 1;
fi

# find SCALA_HOME if none set and scala is in the path
if [ -z "$SCALA_HOME" ] ; then
  SCALA_HOME=`which scala | xargs dirname | xargs dirname`
fi

# set up classpath, including jline if available
export CLASSPATH=$CLASSPATH:$JAR
if [ -e "$SCALA_HOME/lib/jline.jar" ] ; then
  export CLASSPATH=$CLASSPATH:$SCALA_HOME/lib/jline.jar
fi

java -cp $JAR:$CLASSPATH scalala.ScalalaConsole

<commit_msg>un-borked the scalala.sh startup script<commit_after>#!/bin/sh

BASE=`readlink -f $0 | xargs dirname`;
JAR=`find $BASE/target/ -name 'scalala*-jar-with-dependencies.jar' 2>/dev/null | head -1`

# find jar in target/
if [ ! -e "$JAR" ] ; then
  echo "Could not find target/scalala*-jar-with-dependencies.jar."
  echo "Make sure to run mvn assembly:assembly first."
  exit 1;
fi

## find SCALA_HOME if none set and scala is in the path
#if [ -z "$SCALA_HOME" ] ; then
#  SCALA_HOME=`which scala | xargs dirname | xargs dirname`
#fi

# set up classpath, including jline if available
export CLASSPATH=$JAR
#if [ -e "$SCALA_HOME/lib/jline.jar" ] ; then
#  export CP=$CP:$SCALA_HOME/lib/jline.jar
#fi

scala scalala.ScalalaConsole


{'fraction_non_alphanumeric': 0.1342560553633218, 'fraction_numerical': 0.004844290657439446, 'mean_word_length': 3.986206896551724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6143420', 'n_tokens_mistral': 567, 'n_tokens_neox': 552, 'n_words': 159}