<commit_before>#!/bin/bash
if [ "$CI" = "true" ]; then
  # We're on Snap-CI, Travis, etc.
  python setup.py install
else
  python setup.py develop
fi

SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

$SCRIPTDIR/fetch_rackspace_wadls.sh
$SCRIPTDIR/fetch_openstack_wadls.sh

$SCRIPTDIR/build_rackspace_wadls.sh
$SCRIPTDIR/build_openstack_wadls.sh

echo "Unknown types summary:"
find rackspace openstack -name \*.log | xargs grep 'Unknown type' | cut -d' ' -f2- | sort | uniq

echo<commit_msg>Install swagger-tools on CI<commit_after>#!/bin/bash
if [ "$CI" = "true" ]; then
  # We're on Snap-CI, Travis, etc.
  python setup.py install
  npm install -g swagger-tools
else
  python setup.py develop
fi

SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

$SCRIPTDIR/fetch_rackspace_wadls.sh
$SCRIPTDIR/fetch_openstack_wadls.sh

$SCRIPTDIR/build_rackspace_wadls.sh
$SCRIPTDIR/build_openstack_wadls.sh

echo "Unknown types summary:"
find rackspace openstack -name \*.log | xargs grep 'Unknown type' | cut -d' ' -f2- | sort | uniq

echo
{'fraction_non_alphanumeric': 0.14013346043851288, 'fraction_numerical': 0.0038131553860819827, 'mean_word_length': 4.49738219895288, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '860908', 'n_tokens_mistral': 433, 'n_tokens_neox': 420, 'n_words': 98}