<commit_before>#!/bin/sh
# Try go get the version from git; fall back to CHANGES.txt
version=`sed -n -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' CHANGES.txt | tail -1`
if which git > /dev/null; then
        gitv=`git describe --tags | sed -e 's/^v\([0-9.]*\)-*.*/\1/'`
        if [ x$gitv != x$version ]; then
                echo $gitv
                echo "WARNING: git and CHANGES.txt versions disagree" >&2
                exit 0
        fi
fi
echo $version
<commit_msg>No longer requires .git to compile<commit_after>#!/bin/sh
# Try go get the version from git; fall back to CHANGES.txt
version=`sed -n -e 's/^\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p' CHANGES.txt | tail -1`
if which git > /dev/null; then
    if -d .git; then
        gitv=`git describe --tags | sed -e 's/^v\([0-9.]*\)-*.*/\1/'`
        if [ x$gitv != x$version ]; then
            echo $gitv
            echo "WARNING: git and CHANGES.txt versions disagree" >&2
            exit 0
        fi
    fi
fi
echo $version

{'fraction_non_alphanumeric': 0.19367991845056065, 'fraction_numerical': 0.026503567787971458, 'mean_word_length': 1.871345029239766, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6661671', 'n_tokens_mistral': 380, 'n_tokens_neox': 364, 'n_words': 110}