<commit_before>#!/usr/bin/env bash

if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
    echo "TODO"
else
    export PULL_REQUEST_TITLE=$(curl -s "https://api.github.com/repos/ORNL-CEES/Cap/pulls/${TRAVIS_PULL_REQUEST}" | jq '.title' | sed 's/"//g')
    echo "Pull Request #${TRAVIS_PULL_REQUEST}: ${PULL_REQUEST_TITLE}"
fi
<commit_msg>Improve build info on CDash<commit_after>#!/usr/bin/env bash

if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
    curl -s "https://api.travis-ci.org/repos/${TRAVIS_REPO_SLUG}/builds/${TRAVIS_BUILD_ID}" | jq '.message' | sed 's/\\n.*//'
else
    export PULL_REQUEST_TITLE=$(curl -s "https://api.github.com/repos/${TRAVIS_REPO_SLUG}/pulls/${TRAVIS_PULL_REQUEST}" | jq '.title' | sed 's/"//g')
    echo "PR #${TRAVIS_PULL_REQUEST}: ${PULL_REQUEST_TITLE}"
fi

{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.0, 'mean_word_length': 4.493055555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '7426713', 'n_tokens_mistral': 338, 'n_tokens_neox': 328, 'n_words': 54}