<commit_before>#!/bin/bash

source setup_env.inc

EXPECTED_ARGS=2
E_BADARGS=65

if [ $# -ne $EXPECTED_ARGS ]
then
  echo "Usage:  $0 [NUM_OF_KEYS] [MAX_VALUE_SIZE]"
  exit -1 
fi

$work_dir/DataGen.sh $1 $2 | awk '{print $0 "\""}' > $work_dir/workload.txt
echo "exit" >> $work_dir/workload.txt
cd $vldm_dir
bin/voldemort-shell.sh test tcp://localhost:6667 $work_dir/workload.txt
<commit_msg>populate data for the second store<commit_after>#!/bin/bash

source setup_env.inc

EXPECTED_ARGS=2
E_BADARGS=65

if [ $# -ne $EXPECTED_ARGS ]
then
  echo "Usage:  $0 [NUM_OF_KEYS] [MAX_VALUE_SIZE]"
  exit -1 
fi

$work_dir/DataGen.sh $1 $2 | awk '{print $0 "\""}' > $work_dir/workload.txt
echo "exit" >> $work_dir/workload.txt
cd $vldm_dir
bin/voldemort-shell.sh test tcp://localhost:6667 $work_dir/workload.txt
bin/voldemort-shell.sh test2 tcp://localhost:6667 $work_dir/workload.txt
{'fraction_non_alphanumeric': 0.15314285714285714, 'fraction_numerical': 0.03314285714285714, 'mean_word_length': 4.688311688311688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6436374', 'n_tokens_mistral': 386, 'n_tokens_neox': 377, 'n_words': 75}