<commit_before>#!/bin/bash

export CU_USER=admincu
export CU_HOME=/home/$CU_USER/cloudunit
export CU_INSTALL_DIR=$CU_HOME/cu-production

export COMPOSE_VERSION=1.8.0

ROOTUID="0"

if [ "$(id -u)" -ne "$ROOTUID" ] ; then
    echo "This script must be executed with root privileges."
    exit 1
fi

[ -z "$1" ] && echo "No branch argument supplied. Exit..." && exit 1

export GIT_BRANCH=$1
BRANCH_EXIST=$(git ls-remote --heads https://github.com/Treeptik/cloudunit $GIT_BRANCH)
echo git ls-remote --heads https://github.com/Treeptik/cloudunit $GIT_BRANCH
if [ ! "$BRANCH_EXIST" ];
  then
    echo "The branch $1 is not valid. Please choose one the following branches: "
    git ls-remote --heads https://github.com/Treeptik/cloudunit<commit_msg>FIX : bad syntax<commit_after>#!/bin/bash

export CU_USER=admincu
export CU_HOME=/home/$CU_USER/cloudunit
export CU_INSTALL_DIR=$CU_HOME/cu-production

export COMPOSE_VERSION=1.8.0

ROOTUID="0"

if [ "$(id -u)" -ne "$ROOTUID" ] ; then
    echo "This script must be executed with root privileges."
    exit 1
fi
    
[ -z "$1" ] && echo "No branch argument supplied. Exit..." && exit 1

export GIT_BRANCH=$1
BRANCH_EXIST=$(git ls-remote --heads https://github.com/Treeptik/cloudunit $GIT_BRANCH)
echo git ls-remote --heads https://github.com/Treeptik/cloudunit $GIT_BRANCH
if [ ! "$BRANCH_EXIST" ];
  then
    echo "The branch $1 is not valid. Please choose one the following branches: "
    git ls-remote --heads https://github.com/Treeptik/cloudunit
{'fraction_non_alphanumeric': 0.13730743469524448, 'fraction_numerical': 0.012056262558606833, 'mean_word_length': 3.947019867549669, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '89624', 'n_tokens_mistral': 553, 'n_tokens_neox': 520, 'n_words': 143}