<commit_before>#!/bin/bash

iam="`whoami`";
month="201309";

size="10000";
if [ $1 ]; then
        size=$1;
fi

instences=15;
if [ $2 ]; then
        instences=$2;
fi

start_instance=0;
if [ $3 ]; then
        start_instance=$3;
fi

if [ $iam != "billrun" ]; then
        echo "must run under billrun user not : " $iam;
        exit;
fi

for i in `seq 1 $instences`; do
        page=`expr $start_instance \+ $i`;
        echo php -t /var/www/billrun/ /var/www/billrun/public/index.php  -a --type customer --stamp $month --page $page --size $size &
        echo sleep 5;
done

exit;<commit_msg>add stamp argument (as mandatory)<commit_after>#!/bin/bash

iam="`whoami`";
if [ $1 ]; then
        month=$1;
else
	echo "please supply stamp of the billrun (format: YYYYmm)"
	exit 2
fi

size="10000";
if [ $2 ]; then
        size=$2;
fi

instences=15;
if [ $3 ]; then
        instences=$3;
fi

start_instance=0;
if [ $4 ]; then
        start_instance=$4;
fi

if [ $iam != "billrun" ]; then
        echo "must run under billrun user not : " $iam;
        exit;
fi

for i in `seq 1 $instences`; do
        page=`expr $start_instance \+ $i`;
        echo php -t /var/www/billrun/ /var/www/billrun/public/index.php  -a --type customer --stamp $month --page $page --size $size &
        echo sleep 5;
done

exit;
{'fraction_non_alphanumeric': 0.15846153846153846, 'fraction_numerical': 0.031538461538461536, 'mean_word_length': 2.469333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3063024', 'n_tokens_mistral': 515, 'n_tokens_neox': 476, 'n_words': 147}