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

set -e -x

export BOSHIO_BEARER_TOKEN=$boshio_bearer_token
export STEMCELL=`echo light-stemcell-final/light*.tgz`

sha1=`sha1sum light-stemcell-final/$STEMCELL`
sha1s=$(echo $sha1 | tr " " "\n")
for eachline in $sha1s; do
    if [ -n "${eachline}"]; then
    	echo "The checksum (sha1) for $BAT_STEMCELL is ${eachline}, uploading to bosh.io..."
        for((i=1;i<=3;i++));do
        	# curl -X POST 'https://bosh.io/checksums/$BAT_STEMCELL' -d 'sha1=${eachline}' -H 'Authorization: bearer $BOSHIO_BEARER_TOKEN' && exit 0
        	echo "curl -X POST 'https://bosh.io/checksums/$BAT_STEMCELL' -d 'sha1=${eachline}' -H 'Authorization: bearer $BOSHIO_BEARER_TOKEN'"
        done
        echo "Failed to notify bosh.io with checksum ${eachline} after retrying 3 times"
        exit 1
    else
        echo "Fail to generate checksum for the stemcell"
        exit 1
    fi
    break
done<commit_msg>Corrected stemcell path<commit_after>#!/usr/bin/env bash

set -e -x

export BOSHIO_BEARER_TOKEN=$boshio_bearer_token
export STEMCELL=`echo light-stemcell-final/light*.tgz`

sha1=`sha1sum ${STEMCELL}`
sha1s=$(echo $sha1 | tr " " "\n")
for eachline in $sha1s; do
    if [ -n "${eachline}"]; then
    	echo "The checksum (sha1) for $BAT_STEMCELL is ${eachline}, uploading to bosh.io..."
        for((i=1;i<=3;i++));do
        	# curl -X POST 'https://bosh.io/checksums/$BAT_STEMCELL' -d 'sha1=${eachline}' -H 'Authorization: bearer $BOSHIO_BEARER_TOKEN' && exit 0
        	echo "curl -X POST 'https://bosh.io/checksums/$BAT_STEMCELL' -d 'sha1=${eachline}' -H 'Authorization: bearer $BOSHIO_BEARER_TOKEN'"
        done
        echo "Failed to notify bosh.io with checksum ${eachline} after retrying 3 times"
        exit 1
    else
        echo "Fail to generate checksum for the stemcell"
        exit 1
    fi
    break
done
{'fraction_non_alphanumeric': 0.14085267134376686, 'fraction_numerical': 0.015110631408526714, 'mean_word_length': 3.232876712328767, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7201264', 'n_tokens_mistral': 717, 'n_tokens_neox': 691, 'n_words': 179}