<commit_before>
while [ "$1" != "" ]; do
    case $1 in
        -m | --model_type )     shift
                                model_type=$1
                                shift;;
        -n | --n_copies )       shift
                                N=$1
                                shift;;
    esac
done
let 'total = N * 4'
printf "Launching %s jobs with model type %s" $total $model_type

for i {1 .. $N}
do
        let 'SEED = i * 10000'
        ./four_runs.sh -m $model_type -s $SEED
        disown %1
        sleep 5
done
printf 'Successfully launched all the jobs\n'<commit_msg>shel script bug<commit_after>
while [ "$1" != "" ]; do
    case $1 in
        -m | --model_type )     shift
                                model_type=$1
                                shift;;
        -n | --n_copies )       shift
                                N=$1
                                shift;;
    esac
done
let 'total = N * 4'
printf "Launching %s jobs with model type %s" $total $model_type
COUNTER=0
while [  $COUNTER -lt $N ];
do
  let 'SEED = COUNTER * 10000'
  ./four_runs.sh -m $model_type -s $SEED
  disown %1
  sleep 5
  let COUNTER=COUNTER+1
done
do

done
printf 'Successfully launched all the jobs\n'
{'fraction_non_alphanumeric': 0.10543657331136738, 'fraction_numerical': 0.022240527182866558, 'mean_word_length': 1.2293577981651376, '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': '4685904', 'n_tokens_mistral': 404, 'n_tokens_neox': 379, 'n_words': 122}