<commit_before>#!/bin/bash
TAG=${TRAVIS_TAG:-"unknown"}
if [[ "${TAG}" = "unknown" ]]; then
    TAG=`git describe`
    if [[ "$?" != "0" ]]; then
        TAG="v0.0.0"
    fi
fi
echo ${TAG} | cut -c 1- > VERSION<commit_msg>use uniquely abbreviated commit object as fallback for tag<commit_after>#!/bin/bash
TAG=${TRAVIS_TAG:-"unknown"}
if [[ "${TAG}" = "unknown" ]]; then
    TAG=`git describe`
    if [[ "$?" != "0" ]]; then
        TAG=`git describe --always`
    fi
fi
echo ${TAG} | cut -c 1- > VERSION
{'fraction_non_alphanumeric': 0.2222222222222222, 'fraction_numerical': 0.013888888888888888, 'mean_word_length': 3.1735537190082646, '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': '2921982', 'n_tokens_mistral': 201, 'n_tokens_neox': 185, 'n_words': 49}