<commit_before>#!/bin/bash
if [ "$#" -ne 1 ]
then
  echo "Usage: ./jenkins-autobuild.sh <sdnracer-traces folder path>"
  exit 1
fi

SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
cd "$SCRIPTPATH"

WORKSPACE=$1
echo "WORKSPACE: $WORKSPACE"

for i in "$WORKSPACE"/trace_pox_l2_multi-StarTopology2-steps1*; do
echo "./gen.sh $i"
./gen.sh "$i"
pushd "$i"
# add results
git add \results_*.dat
git add \*summary.csv
# add timings
git add \timings_*.dat
git add \*summary_timings.csv
git status
popd
done;
<commit_msg>Fix jenkins autobuild script<commit_after>#!/bin/bash
if [ "$#" -ne 1 ]
then
  echo "Usage: ./jenkins-autobuild.sh <sdnracer-traces folder path>"
  exit 1
fi

SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
cd "../$SCRIPTPATH"

WORKSPACE=$1
echo "WORKSPACE: $WORKSPACE"

for i in "$WORKSPACE"/trace_pox_l2_multi-StarTopology2-steps1*; do
echo "./gen.sh $i"
./gen.sh "$i"
pushd "$i"
# add results
git add \results_*.dat
git add \*summary.csv
# add timings
git add \timings_*.dat
git add \*summary_timings.csv
git status
popd
done;

{'fraction_non_alphanumeric': 0.15654648956356737, 'fraction_numerical': 0.013282732447817837, 'mean_word_length': 4.355329949238579, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2118525', 'n_tokens_mistral': 443, 'n_tokens_neox': 436, 'n_words': 117}