<commit_before>#!/bin/bash

if [ "$#" -ne 1 ]; then
    echo "Illegal number of parameters; Please provide number of vms as the parameter;"
    exit 1
fi

num_vms=$1

port=3022
for i in `seq 1 $num_vms`; do
	rsh -p $port pandian@127.0.0.1 "mkdir -p ~/seq2"
	scp -P $port ~/seq2/vm$i/* pandian@127.0.0.1:~/seq2/
	scp -P $port ~/vm_remote_script.sh pandian@127.0.0.1:~/
	scp -P $port ~/cm_cleanup.sh pandian@127.0.0.1:~/
	port=`expr $port + 1`
done<commit_msg>Removing seq2 directory initially in the remote VMs<commit_after>#!/bin/bash

if [ "$#" -ne 1 ]; then
    echo "Illegal number of parameters; Please provide number of vms as the parameter;"
    exit 1
fi

num_vms=$1

port=3022
for i in `seq 1 $num_vms`; do
	rsh -p $port pandian@127.0.0.1 "rm -r ~/seq2"
	rsh -p $port pandian@127.0.0.1 "mkdir -p ~/seq2"
	scp -P $port ~/seq2/vm$i/* pandian@127.0.0.1:~/seq2/
	scp -P $port ~/vm_remote_script.sh pandian@127.0.0.1:~/
	scp -P $port ~/cm_cleanup.sh pandian@127.0.0.1:~/
	port=`expr $port + 1`
done
{'fraction_non_alphanumeric': 0.17482517482517482, 'fraction_numerical': 0.07992007992007992, 'mean_word_length': 3.2457627118644066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 9, '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': '5376867', 'n_tokens_mistral': 496, 'n_tokens_neox': 451, 'n_words': 125}