<commit_before>#!/bin/bash

TEST="test/functional/ct_0_concurrence.rb"
if [ $1 = "1" ]; then
  TEST="test/functional/ct_1_iterator.rb"
fi
if [ $1 = "2" ]; then
  TEST="test/functional/ct_2_cancel.rb"
fi

COUNT=0

while [ $? == 0 ]
do
  echo " *** $COUNT"
  ((COUNT=$COUNT + 1))
  time ruby $TEST $*
done
<commit_msg>making crunner.sh 1.9.2 friendly<commit_after>#!/bin/bash

TEST="test/functional/ct_0_concurrence.rb"
if [ $1 = "1" ]; then
  TEST="test/functional/ct_1_iterator.rb"
fi
if [ $1 = "2" ]; then
  TEST="test/functional/ct_2_cancel.rb"
fi

COUNT=0

while [ $? == 0 ]
do
  echo " *** $COUNT"
  ((COUNT=$COUNT + 1))
  time ruby -I. $TEST $*
done

{'fraction_non_alphanumeric': 0.1969465648854962, 'fraction_numerical': 0.035114503816793895, 'mean_word_length': 3.753623188405797, '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': '6481666', 'n_tokens_mistral': 298, 'n_tokens_neox': 280, 'n_words': 56}