<commit_before>for file in `ls -1 solution*.txt`
do
    python ../classes/chess_simple.py < $file > output_$file
    nbLines=`cat output_$file | grep "Echec et mat !" | wc -l`
    if [ $nbLines -ne 1 ]
    then
        echo 'Error with file '$file
    fi
    output_ref=`echo "output_$file" | sed 's/txt/ref/g'`
    nbLines=`diff  output_$file $output_ref | wc -l`
    if [ $nbLines -ne 0 ]
    then
        diff  output_$file $output_ref
        echo 'Error with file '$file
    else
        rm output_$file<commit_msg>Add the dos2unix for the tests<commit_after>for file in `ls -1 solution*.txt`
do
    python ../classes/chess_simple.py < $file > output_$file
    nbLines=`cat output_$file | grep "Echec et mat !" | wc -l`
    if [ $nbLines -ne 1 ]
    then
        echo 'Error with file '$file
    fi
    output_ref=`echo "output_$file" | sed 's/txt/ref/g'`
    dos2unix output_$file
    dos2unix $output_ref
    nbLines=`diff  output_$file $output_ref | wc -l`
    if [ $nbLines -ne 0 ]
    then
        diff  output_$file $output_ref
        echo 'Error with file '$file
    else
        rm output_$file
{'fraction_non_alphanumeric': 0.11552346570397112, 'fraction_numerical': 0.008122743682310469, 'mean_word_length': 2.4228395061728394, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5750492', 'n_tokens_mistral': 415, 'n_tokens_neox': 394, 'n_words': 118}