<commit_before>#!/bin/bash

COUNT=4

function start() {
  for i in `seq 1 $COUNT`
  do
    echo starting $i
    docker-service $i "up -d"
  done
}

function stop() {
  for i in `seq 1 $COUNT`
  do
    echo stopping $i
    docker-service $i stop
    docker-service $i "rm -f"
  done
}

function restart() {
  for i in `seq 1 $COUNT`
  do
    echo restarting $i
    docker-service $i stop
    docker-service $i "rm -f"
    docker-service $i up -d
  done
}

function docker-service {
  echo docker-compose start -p jenkins$1 -f docker-compose$1.yml $2
}

case $1 in
start)
  start
  ;;
stop)
  stop
  ;;
restart)
  restart
  ;;
*)<commit_msg>actually run the start command<commit_after>#!/bin/bash

COUNT=4

function start() {
  for i in `seq 1 $COUNT`
  do
    echo starting $i
    docker-service $i "up -d"
  done
}

function stop() {
  for i in `seq 1 $COUNT`
  do
    echo stopping $i
    docker-service $i stop
    docker-service $i "rm -f"
  done
}

function restart() {
  for i in `seq 1 $COUNT`
  do
    echo restarting $i
    docker-service $i stop
    docker-service $i "rm -f"
    docker-service $i up -d
  done
}

function docker-service {
  echo docker-compose start -p jenkins$1 -f docker-compose$1.yml $2
  docker-compose start -p jenkins$1 -f docker-compose$1.yml $2
}

case $1 in
start)
  start
  ;;
stop)
  stop
  ;;
restart)
  restart
  ;;
*)
{'fraction_non_alphanumeric': 0.11929307805596466, 'fraction_numerical': 0.013991163475699559, 'mean_word_length': 2.493573264781491, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3466323', 'n_tokens_mistral': 563, 'n_tokens_neox': 524, 'n_words': 175}