<commit_before>#!/usr/bin/env bash

source helpers.sh

ENV_VARS=(
  DCOS
  TOKEN
  EVALUATION_PASSPHRASE
  ELB_HOST
  AWS_ACCESS_KEY_ID
  AWS_SECRET_ACCESS_KEY
)

for ENV_VAR in "${ENV_VARS[@]}"
do
  if [ -z "${!ENV_VAR}" ]; then
    echo ">>> ${ENV_VAR} is not configured; please export it."
    exit 1
  fi
done

EVAL_NUMBER=1
SIMULATION=ad_counter
CLIENT_NUMBER=256
HEAVY_CLIENTS=false
PARTITION_PROBABILITY=0
AAE_INTERVAL=30000
DELTA_INTERVAL=30000
INSTRUMENTATION=true
LOGS="s3"
EXTENDED_LOGGING=true

declare -A EVALUATIONS

## client_server_state_based_with_aae_test
EVALUATIONS["client_server_state_based_with_aae"]="partisan_client_server_peer_service_manager state_based false"

## client_server_delta_based_with_aae_test
EVALUATIONS["client_server_delta_based_with_aae"]="partisan_client_server_peer_service_manager delta_based false"

## peer_to_peer_state_based_with_aae_test<commit_msg>Increase synchronization interval<commit_after>#!/usr/bin/env bash

source helpers.sh

ENV_VARS=(
  DCOS
  TOKEN
  EVALUATION_PASSPHRASE
  ELB_HOST
  AWS_ACCESS_KEY_ID
  AWS_SECRET_ACCESS_KEY
)

for ENV_VAR in "${ENV_VARS[@]}"
do
  if [ -z "${!ENV_VAR}" ]; then
    echo ">>> ${ENV_VAR} is not configured; please export it."
    exit 1
  fi
done

EVAL_NUMBER=1
SIMULATION=ad_counter
CLIENT_NUMBER=256
HEAVY_CLIENTS=false
PARTITION_PROBABILITY=0
AAE_INTERVAL=40000
DELTA_INTERVAL=40000
INSTRUMENTATION=true
LOGS="s3"
EXTENDED_LOGGING=true

declare -A EVALUATIONS

## client_server_state_based_with_aae_test
EVALUATIONS["client_server_state_based_with_aae"]="partisan_client_server_peer_service_manager state_based false"

## client_server_delta_based_with_aae_test
EVALUATIONS["client_server_delta_based_with_aae"]="partisan_client_server_peer_service_manager delta_based false"

## peer_to_peer_state_based_with_aae_test
{'fraction_non_alphanumeric': 0.08021978021978023, 'fraction_numerical': 0.01868131868131868, 'mean_word_length': 8.059701492537313, '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': '69077', 'n_tokens_mistral': 750, 'n_tokens_neox': 721, 'n_words': 109}