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

set -euo pipefail

readonly GITHUB_ORG="${GITHUB_ORG:-CatalystCode}"
readonly GITHUB_REPO="${GITHUB_REPO:-ibex-dashboard}"
readonly TARGET_BRANCH="${TARGET_BRANCH:-master}"

log() {
  echo "$@" >&2
}

ensure_preconditions_met() {
  if [ "${TRAVIS_BRANCH}" != "${TARGET_BRANCH}" ]; then
    log "Build is targetting ${TRAVIS_BRANCH}, not ${TARGET_BRANCH}"
    log "Skipping creation of production build"
    exit 0
  fi
  if [ -z "${GITHUB_TOKEN}" ]; then<commit_msg>Fix typo<commit_after>#!/usr/bin/env bash

set -euo pipefail

readonly GITHUB_ORG="${GITHUB_ORG:-CatalystCode}"
readonly GITHUB_REPO="${GITHUB_REPO:-ibex-dashboard}"
readonly TARGET_BRANCH="${TARGET_BRANCH:-master}"

log() {
  echo "$@" >&2
}

ensure_preconditions_met() {
  if [ "${TRAVIS_BRANCH}" != "${TARGET_BRANCH}" ]; then
    log "Build is targeting ${TRAVIS_BRANCH}, not ${TARGET_BRANCH}"
    log "Skipping creation of production build"
    exit 0
  fi
  if [ -z "${GITHUB_TOKEN}" ]; then
{'fraction_non_alphanumeric': 0.16432865731462926, 'fraction_numerical': 0.004008016032064128, 'mean_word_length': 5.166666666666667, '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': '5850850', 'n_tokens_mistral': 397, 'n_tokens_neox': 385, 'n_words': 78}