<commit_before>#!/bin/bash

(cd experiments; git pull)

for branch in raft-45 raft-46 raft-56 raft-58 raft-58-initialization raft-42 raft-66; do
  echo "==================== Running $branch =================="
  git checkout $branch
  git pull
  sbt assembly && java -d64 -Xmx15g -cp target/scala-2.11/randomSearch-assembly-0.1.jar akka.dispatch.verification.Main > console.out
done<commit_msg>Allow script to start at a certain point<commit_after>#!/bin/bash

START_WITH=$1

(cd experiments; git pull)

for branch in raft-45 raft-46 raft-56 raft-58 raft-58-initialization raft-42 raft-66; do
  if [ "$START_WITH" != "" -a "$START_WITH" != $branch ]; then
    continue
  fi
  if [ "$START_WITH" != "" -a "$START_WITH" == $branch ]; then
    START_WITH=""
  fi

  echo "==================== Running $branch =================="
  git checkout $branch
  git pull
  sbt assembly && java -d64 -Xmx15g -cp target/scala-2.11/randomSearch-assembly-0.1.jar akka.dispatch.verification.Main > console.out
done
{'fraction_non_alphanumeric': 0.19739478957915832, 'fraction_numerical': 0.047094188376753505, 'mean_word_length': 4.0201005025125625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5419287', 'n_tokens_mistral': 370, 'n_tokens_neox': 323, 'n_words': 91}