<commit_before>#!/bin/bash
FLAG=0
acsservicesdaemon &> services.log &
sleep 1
if [ $? -ne 0 ]; then
    echo "FAILED - starting services daemon"
    FLAG=1
else
    SPID=$(ps aux|grep acsservicesdaemon| grep -v grep|awk '{ print $2 }')
    sleep 5
fi
acscontainerdaemon &> containers.log &
sleep 1
if [ $? -ne 0 ]; then
    echo "FAILED - starting container daemon"
    FLAG=1
else
    CPID=$(ps aux|grep acscontainerdaemon| grep -v grep|awk '{ print $2 }')
    sleep 5
fi
acsdaemonStartAcs -i 0 &> startACS.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ACS"
    FLAG=1
fi
acsdaemonStartContainer -t cpp -c bilboContainer -i 0 &> startbilboContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting bilboContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t cpp -c ARCHIVE/ACC/cppContainer -i 0 &> startcppContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ARCHIVE/ACC/cppContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t java-archive -c ARCHIVE/ACC/javaContainer -i 0 &> startjavaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ARCHIVE/ACC/javaContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t java -m archiveContainer -c ARCHIVE/ACC/javaArchiveContainer -i 0 &> startjavaArchiveContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ARCHIVE/ACC/javaArchiveContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t py -c CONTROL/AMBSOCKETSERVER/pyContainer -i 0 &> startpyContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting CONTROL/AMBSOCKETSERVER/pyContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t py -m casaContainer -c CONTROL/AMBSOCKETSERVER/pyCasaContainer -i 0 &> startpyCasaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting CONTROL/AMBSOCKETSERVER/pyCasaContainer"
    FLAG=1
fi
sleep 30


acsdaemonStatusAcs -i 0 &> acsStatus.log
if [ $? -ne 0 ]; then
    echo "FAILED - getting ACS status"
    FLAG=1
fi
sleep 5

acsdaemonStopContainer -c bilboContainer -i 0 &> stopbilboContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping bilboContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c ARCHIVE/ACC/cppContainer -i 0 >> stopcppContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping ARCHIVE/ACC/cppContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c ARCHIVE/ACC/javaContainer -i 0 >> stopjavaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping ARCHIVE/ACC/javaContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c ARCHIVE/ACC/javaArchiveContainer -i 0 >> stopjavaArchiveContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping ARCHIVE/ACC/javaArchiveContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c CONTROL/AMBSOCKETSERVER/pyContainer -i 0 >> stoppyContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping CONTROL/AMBSOCKETSERVER/pyContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c CONTROL/AMBSOCKETSERVER/pyCasaContainer -i 0 >> stoppyCasaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping CONTROL/AMBSOCKETSERVER/pyCasaContainer"
    FLAG=1
fi
sleep 10<commit_msg>removed archiveContainer container<commit_after>#!/bin/bash
FLAG=0
acsservicesdaemon &> services.log &
sleep 1
if [ $? -ne 0 ]; then
    echo "FAILED - starting services daemon"
    FLAG=1
else
    SPID=$(ps aux|grep acsservicesdaemon| grep -v grep|awk '{ print $2 }')
    sleep 5
fi
acscontainerdaemon &> containers.log &
sleep 1
if [ $? -ne 0 ]; then
    echo "FAILED - starting container daemon"
    FLAG=1
else
    CPID=$(ps aux|grep acscontainerdaemon| grep -v grep|awk '{ print $2 }')
    sleep 5
fi
acsdaemonStartAcs -i 0 &> startACS.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ACS"
    FLAG=1
fi
acsdaemonStartContainer -t cpp -c bilboContainer -i 0 &> startbilboContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting bilboContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t cpp -c ARCHIVE/ACC/cppContainer -i 0 &> startcppContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ARCHIVE/ACC/cppContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t java-archive -c ARCHIVE/ACC/javaContainer -i 0 &> startjavaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting ARCHIVE/ACC/javaContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t py -c CONTROL/AMBSOCKETSERVER/pyContainer -i 0 &> startpyContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting CONTROL/AMBSOCKETSERVER/pyContainer"
    FLAG=1
fi
sleep 10
acsdaemonStartContainer -t py -m casaContainer -c CONTROL/AMBSOCKETSERVER/pyCasaContainer -i 0 &> startpyCasaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - starting CONTROL/AMBSOCKETSERVER/pyCasaContainer"
    FLAG=1
fi
sleep 30


acsdaemonStatusAcs -i 0 &> acsStatus.log
if [ $? -ne 0 ]; then
    echo "FAILED - getting ACS status"
    FLAG=1
fi
sleep 5

acsdaemonStopContainer -c bilboContainer -i 0 &> stopbilboContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping bilboContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c ARCHIVE/ACC/cppContainer -i 0 >> stopcppContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping ARCHIVE/ACC/cppContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c ARCHIVE/ACC/javaContainer -i 0 >> stopjavaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping ARCHIVE/ACC/javaContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c CONTROL/AMBSOCKETSERVER/pyContainer -i 0 >> stoppyContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping CONTROL/AMBSOCKETSERVER/pyContainer"
    FLAG=1
fi
sleep 10
acsdaemonStopContainer -c CONTROL/AMBSOCKETSERVER/pyCasaContainer -i 0 >> stoppyCasaContainer.log
if [ $? -ne 0 ]; then
    echo "FAILED - stoping CONTROL/AMBSOCKETSERVER/pyCasaContainer"
    FLAG=1
fi
sleep 10
{'fraction_non_alphanumeric': 0.10385550538381383, 'fraction_numerical': 0.02535602639805488, 'mean_word_length': 3.5382190701339638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 42, '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': '2264263', 'n_tokens_mistral': 2167, 'n_tokens_neox': 2021, 'n_words': 595}