<commit_before>#!/bin/sh

if [ -z "$1" ]; then
  echo "Please supply the version number"
  exit 1
fi

cat config.json | jq ".podVersion = \"$1\"" > config.json.tmp
cat config.json.tmp
mv config.json.tmp config.json

java \
  -jar swagger-codegen-cli.jar generate \
  -i https://swaggerhub.com/apiproxy/schema/file/3degreesapp/3-degrees/$1/swagger.json \
  -l swift \
  -o /projects/3degrees-swift-client \
  -c config.json

cd ..

git status<commit_msg>Remove debugging line<commit_after>#!/bin/sh

if [ -z "$1" ]; then
  echo "Please supply the version number"
  exit 1
fi

cat config.json | jq ".podVersion = \"$1\"" > config.json.tmp
mv config.json.tmp config.json

java \
  -jar swagger-codegen-cli.jar generate \
  -i https://swaggerhub.com/apiproxy/schema/file/3degreesapp/3-degrees/$1/swagger.json \
  -l swift \
  -o /projects/3degrees-swift-client \
  -c config.json

cd ..

git status
{'fraction_non_alphanumeric': 0.15212527964205816, 'fraction_numerical': 0.015659955257270694, 'mean_word_length': 2.908296943231441, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '609854', 'n_tokens_mistral': 349, 'n_tokens_neox': 341, 'n_words': 79}