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

## Only necessary if demoing on shared env with many people pushing the same app
## Using random-route: true screws up autopilot

main()
{
  createVarsBasedOnVersion
  cd $APPNAME
  more manifest.yml
  cat manifest.yml | sed "s/random-route: true/host: $APPNAME-$username/g" | sed "s/build\/libs\/cities-service-1.0.jar/..\/output\/cities-service-$VERSION.jar/g" > manifest.tmp
  echo ""
  mv manifest.tmp ../output/manifest.yml
  more ../output/manifest.yml

  ls ../output
}

trap 'abort $LINENO' 0
SECONDS=0
SCRIPTNAME=`basename "$0"`
export TERM=${TERM:-dumb}
main
printf "\nExecuted $SCRIPTNAME in $SECONDS seconds.\n"<commit_msg>Made sure jar name contains version<commit_after>#!/bin/sh
. $APPNAME/ci/scripts/common.sh

## Only necessary if demoing on shared env with many people pushing the same app
## Using random-route: true screws up autopilot

main()
{
  createVarsBasedOnVersion
  cd $APPNAME
  more manifest.yml
  cat manifest.yml | sed "s/random-route: true/host: $APPNAME-$username/g" | sed "s/build\/libs\/cities-service-1.0.jar/..\/build\/cities-service-$VERSION.jar/g" > manifest.tmp
  echo ""
  mv manifest.tmp ../output/manifest.yml
  more ../output/manifest.yml

  ls ../output
}

trap 'abort $LINENO' 0
SECONDS=0
SCRIPTNAME=`basename "$0"`
export TERM=${TERM:-dumb}
main
printf "\nExecuted $SCRIPTNAME in $SECONDS seconds.\n"
{'fraction_non_alphanumeric': 0.14641080312722105, 'fraction_numerical': 0.007107320540156361, 'mean_word_length': 3.8219178082191783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2944665', 'n_tokens_mistral': 527, 'n_tokens_neox': 487, 'n_words': 126}