<commit_before>#!/bin/bash

# run all of the samples

# save command directory; note that this file is a link to file of same
# name in samples/src/
CMDDIR="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"

# get the list of built samples to run
SAMP2RUN=`find $CMDDIR -name *.cpp`
#echo "SAMP2RUN is $SAMP2RUN"

# display short description of the sample and run it
for f in $SAMP2RUN
do
   # get short description of the sample source file
   DESCRIPT=`$CMDDIR/get-short-descripts.sh --nofname --sampfname $f`
   BNAME=$(basename $f)
   echo "RUNNING SAMPLE:  $BNAME"
   echo "  ** $DESCRIPT"<commit_msg>Fix run_all_samples.sh to avoid searching the utils dir for samples to run<commit_after>#!/bin/bash

# run all of the samples

# save command directory; note that this file is a link to file of same
# name in samples/src/
CMDDIR="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"

# get the list of built samples to run
SAMP2RUN=`find $CMDDIR -name *.cpp -not -path "*util*"`
#echo "SAMP2RUN is $SAMP2RUN"

# display short description of the sample and run it
for f in $SAMP2RUN
do
   # get short description of the sample source file
   DESCRIPT=`$CMDDIR/get-short-descripts.sh --nofname --sampfname $f`
   BNAME=$(basename $f)
   echo "RUNNING SAMPLE:  $BNAME"
   echo "  ** $DESCRIPT"
{'fraction_non_alphanumeric': 0.11732711732711733, 'fraction_numerical': 0.00777000777000777, 'mean_word_length': 3.992248062015504, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6249334', 'n_tokens_mistral': 451, 'n_tokens_neox': 447, 'n_words': 167}