<commit_before>#!/bin/bash
for file in ../gltf/glTF-Sample-Models/2.0/**/glTF/*.gltf; do
    echo "$file"
    CARGO_INCREMENTAL=1 cargo run --release -- "$file" -s
done<commit_msg>improve load_all_samples.sh<commit_after>#!/bin/bash
set -e
mkdir -p target/screenshots
for file in ../gltf/glTF-Sample-Models/2.0/**/glTF/*.gltf; do
    model_name=$(basename "$file" .gltf)
    export RUST_BACKTRACE=1
    CARGO_INCREMENTAL=1 cargo run -- "$file" -s target/screenshots/"$model_name".png
done
{'fraction_non_alphanumeric': 0.1721311475409836, 'fraction_numerical': 0.014344262295081968, 'mean_word_length': 3.701923076923077, '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': '4195824', 'n_tokens_mistral': 203, 'n_tokens_neox': 189, 'n_words': 38}