<commit_before>#!/bin/sh
FILES=./img/*

all=0
success=0
for f in $FILES
do
	if [ -f "$f" ]; then
		echo "Processing $f..."
		./sudoku.py $f

		if [ $? -eq 0 ]; then
			success=$(($success+1))
		fi
		all=$(($all+1))
	fi
done

echo "$((($success / $all) * 100))% of the data, successfully completed"<commit_msg>little changes in calling python<commit_after>#!/bin/sh
FILES=./img/*

all=0
success=0
for f in $FILES
do
	if [ -f "$f" ]; then
		echo "Processing $f..."
		python ./sudoku.py $f

		if [ $? -eq 0 ]; then
			success=$(($success+1))
		fi
		all=$(($all+1))
	fi
done

echo "Processed $((all)) images."
echo "Successfull: $(($success))"
{'fraction_non_alphanumeric': 0.2190923317683881, 'fraction_numerical': 0.02034428794992175, 'mean_word_length': 3.2666666666666666, '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': '2152604', 'n_tokens_mistral': 283, 'n_tokens_neox': 254, 'n_words': 74}