<commit_before>#!/bin/bash

set -e

CITS_FNAME=cognizant-intelligent-test-scripter
CITS_VERSION=1.0-SNAPSHOT
CITS_TAG=v1.0-snapshot
CITS_REPO=CognizantQAHub/Cognizant-Intelligent-Test-Scripter
CITS_ROOT=lib/cits
#download
curl -O -L "https://github.com/$CITS_REPO/releases/download/$CITS_TAG/$CITS_FNAME-$CITS_VERSION-setup.zip"
#extract
unzip $CITS_FNAME-$CITS_VERSION-setup.zip >> unzip_log.txt
#create install dir
mkdir -p $CITS_ROOT
mv $CITS_FNAME-$CITS_VERSION/* $CITS_ROOT
cat $CITS_ROOT/Run.command > $CITS_ROOT/CITS
#apply permission
chmod +x $CITS_ROOT/CITS
PATH=$CITS_ROOT:$PATH
CITS -version

echo "export CITS_ROOT=$CITS_ROOT" > sourcefile
echo "export PATH=$CITS_ROOT:$PATH" >> sourcefile
<commit_msg>update comments and sourcefile[skip ci]<commit_after>#!/bin/bash

set -e

CITS_FNAME=cognizant-intelligent-test-scripter
CITS_VERSION=1.0-SNAPSHOT
CITS_TAG=v1.0-snapshot
CITS_REPO=CognizantQAHub/Cognizant-Intelligent-Test-Scripter
CITS_ROOT=lib/cits
PATH=$CITS_ROOT:$PATH
#download
curl -O -L "https://github.com/$CITS_REPO/releases/download/$CITS_TAG/$CITS_FNAME-$CITS_VERSION-setup.zip"
#extract
unzip $CITS_FNAME-$CITS_VERSION-setup.zip >> unzip_log.txt
#create install dir
mkdir -p $CITS_ROOT
mv $CITS_FNAME-$CITS_VERSION/* $CITS_ROOT
cat $CITS_ROOT/Run.command > $CITS_ROOT/CITS
#apply permission
chmod +x $CITS_ROOT/CITS
echo "$CITS_FNAME installed in $CITS_ROOT"
echo "version:"
CITS -version
# creating sourcefile
echo "export CITS_VERSION=$CITS_VERSION" > sourcefile
echo "export CITS_TAG=$CITS_TAG" >> sourcefile
echo "export CITS_ROOT=$CITS_ROOT" >> sourcefile
echo "export PATH=$CITS_ROOT:$PATH" >> sourcefile

{'fraction_non_alphanumeric': 0.12591687041564792, 'fraction_numerical': 0.004889975550122249, 'mean_word_length': 6.8701923076923075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1003381', 'n_tokens_mistral': 683, 'n_tokens_neox': 662, 'n_words': 111}