<commit_before>#!/bin/sh
#
# Run some basic diagnostics on the test suite.

set -e # Die on error.

echo "The following tests have an .in-file, but no .out-file:"

find data/tests data/benchmarks -type f -name '*l0' | while read -r test; do
    infile=$(echo $test | sed s/.l0$/.in/)
    outfile=$(echo $test | sed s/.l0$/.out/)

    if [ -f "$infile" ] && ! [ -f "$outfile" ]; then
        echo $test
    fi
done
<commit_msg>Look for futfiles, not l0files.<commit_after>#!/bin/sh
#
# Run some basic diagnostics on the test suite.

set -e # Die on error.

echo "The following tests have an .in-file, but no .out-file:"

find data/tests data/benchmarks -type f -name '*fut' | while read -r test; do
    infile=$(echo $test | sed s/.fut$/.in/)
    outfile=$(echo $test | sed s/.fut$/.out/)

    if [ -f "$infile" ] && ! [ -f "$outfile" ]; then
        echo $test
    fi
done

{'fraction_non_alphanumeric': 0.1672394043528064, 'fraction_numerical': 0.004581901489117984, 'mean_word_length': 2.5528455284552845, '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': '5752034', 'n_tokens_mistral': 323, 'n_tokens_neox': 314, 'n_words': 112}