<commit_before>#!/bin/sh 
set -e
. $APPNAME/ci/scripts/common.sh

cf_service_delete()
{
  #Delete the Service Instance
  EXISTS=`cf services | grep ${1} | wc -l | xargs`
  if [ $EXISTS -ne 0 ]
  then
    cf delete-service -f ${1}
  fi
}

main()
{
  SERVICE=citiesService
  find / -name cf
  #install_cli 
  cf_service_delete $SERVICE
  URL=`cf apps | grep cities-service | xargs | cut -d " " -f 6`
  cf cups citiesService -p '{"tags":"cities","uri":"http://'"$URL"'/cities"}'
  cf logout
}

trap 'abort $LINENO' 0
SECONDS=0
SCRIPTNAME=`basename "$0"`
main
printf "\nExecuted $SCRIPTNAME in $SECONDS seconds.\n"
trap : 0
<commit_msg>Trying out diff docker images<commit_after>#!/bin/sh 
set -e
. $APPNAME/ci/scripts/common.sh

cf_service_delete()
{
  #Delete the Service Instance
  EXISTS=`cf services | grep ${1} | wc -l | xargs`
  if [ $EXISTS -ne 0 ]
  then
    cf delete-service -f ${1}
  fi
}

main()
{
  SERVICE=citiesService
  find / -name cf 2>/dev/null
  #install_cli 
  cf_service_delete $SERVICE
  URL=`cf apps | grep cities-service | xargs | cut -d " " -f 6`
  cf cups citiesService -p '{"tags":"cities","uri":"http://'"$URL"'/cities"}'
  cf logout
}

trap 'abort $LINENO' 0
SECONDS=0
SCRIPTNAME=`basename "$0"`
main
printf "\nExecuted $SCRIPTNAME in $SECONDS seconds.\n"
trap : 0

{'fraction_non_alphanumeric': 0.1586687306501548, 'fraction_numerical': 0.013157894736842105, 'mean_word_length': 3.4895833333333335, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 4, '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': '5490280', 'n_tokens_mistral': 541, 'n_tokens_neox': 512, 'n_words': 137}