<commit_before>#!/bin/sh

SURL="http://127.0.0.1:5607"
POUT=post-urls.txt
GOUT=get-urls.txt
MAX=100

> $POUT
> $GOUT

i=0
while [[ $i -le $MAX ]]
do
   KEY1=key$RANDOM
   VAL1=$RANDOM
   KEY2=key$RANDOM
   VAL2=$RANDOM
   KEY3=key$RANDOM
   VAL3=$RANDOM

   echo "$SURL POST $KEY1=$VAL1" >> $POUT
   echo "$SURL POST $KEY2=$VAL2&$KEY3=$VAL3" >> $POUT

   echo "$SURL?key=$KEY1 GET" >> $GOUT
   echo "$SURL?key=$KEY2&key=$KEY3 GET" >> $GOUT

    ((i = i + 1))
done

echo Done.
<commit_msg>Fix generate test files<commit_after>#!/bin/sh

SURL="http://127.0.0.1:5607"
POUT=post-urls.txt
GOUT=get-urls.txt
MAX=100

rm -f $POUT
rm -f $GOUT

i=0
while [[ $i -le $MAX ]]
do
   KEY1=key$RANDOM
   VAL1=$RANDOM
   KEY2=key$RANDOM
   VAL2=$RANDOM
   KEY3=key$RANDOM
   VAL3=$RANDOM

   echo "$SURL/ POST $KEY1=$VAL1" >> $POUT
   echo "$SURL/ POST $KEY2=$VAL2&$KEY3=$VAL3" >> $POUT

   echo "$SURL/?key=$KEY1" >> $GOUT
   echo "$SURL/?key=$KEY2&key=$KEY3" >> $GOUT

    ((i = i + 1))
done

echo Done.

{'fraction_non_alphanumeric': 0.20202020202020202, 'fraction_numerical': 0.06060606060606061, 'mean_word_length': 3.424107142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5593260', 'n_tokens_mistral': 496, 'n_tokens_neox': 479, 'n_words': 91}