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

if [ -z "$RETRY_COUNT" ]; then
    RETRY_COUNT=5
fi

if [ -z "$RETRY_DELAY" ]; then
    RETRY_DELAY=1
fi

RETURN_CODE=0

retry() {
    local n=1

    until [[ "$n" -ge "$RETRY_COUNT" ]]; do
        RETURN_CODE="0"
        "$@" && break || {
            ((n++))
            echo ""
            echo " [WARNING] Command failed. Attempt $n/$RETRY_COUNT:"<commit_msg>Set retry time to 1 minute<commit_after>#!/usr/bin/env bash

if [ -z "$RETRY_COUNT" ]; then
    RETRY_COUNT=5
fi

if [ -z "$RETRY_DELAY" ]; then
    RETRY_DELAY="1m"
fi

RETURN_CODE=0

retry() {
    local n=1

    until [[ "$n" -ge "$RETRY_COUNT" ]]; do
        RETURN_CODE="0"
        "$@" && break || {
            ((n++))
            echo ""
            echo " [WARNING] Command failed. Attempt $n/$RETRY_COUNT:"
{'fraction_non_alphanumeric': 0.17444717444717445, 'fraction_numerical': 0.013513513513513514, 'mean_word_length': 2.1589147286821704, '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': '1010947', 'n_tokens_mistral': 315, 'n_tokens_neox': 305, 'n_words': 70}