<commit_before>#!/bin/bash
# Ensure a separate script is called in the event of an error
#
# Include in your builds via
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/utilties/check_url.sh > ${HOME}/bin/check_url && chmod u+x ${HOME}/bin/check_url
#
# then use the script in your tests like
# check_url -t 6 -w 10 -o "--no-check-certificate --output-document=/dev/null" "url_to_check"
OPTIONS="--no-check-certificate --output-document=/dev/null"
TRIES=6
WAIT=10

while getopts "t:w:o" opt; do
  case $opt in
    o)
      OPTIONS=${OPTARG}
      ;;
    t)<commit_msg>Check the certificate by default<commit_after>#!/bin/bash
# Ensure a separate script is called in the event of an error
#
# Include in your builds via
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/utilties/check_url.sh > ${HOME}/bin/check_url && chmod u+x ${HOME}/bin/check_url
#
# then use the script in your tests like
# check_url -t 6 -w 10 -o "--no-check-certificate --output-document=/dev/null" "url_to_check"
OPTIONS="--output-document=/dev/null"
TRIES=6
WAIT=10

while getopts "t:w:o" opt; do
  case $opt in
    o)
      OPTIONS=${OPTARG}
      ;;
    t)
{'fraction_non_alphanumeric': 0.1445578231292517, 'fraction_numerical': 0.01020408163265306, 'mean_word_length': 3.59765625, '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': '2813297', 'n_tokens_mistral': 438, 'n_tokens_neox': 416, 'n_words': 116}