<commit_before>#! /bin/sh

#TODO - add ''

tmp=test-tmp-$$

mkdir $tmp

for type in '-PP' '-XS'
do
    module=Directory-Iterator$type
    tarball=`ls -t $module-*.tar.gz | head -1`
    version=`basename $tarball .tar.gz`

    if [ "$tarball" != "" ]
    then
	echo $version
	tar -C $tmp -xzp -f $tarball

	cd $tmp/$version || exit 1
	perl Makefile.PL
	make test
	cd ../..
    else
	echo "No distribution found for $module!"
    fi
done

    <commit_msg>add test file<commit_after>#! /bin/sh

#TODO - add ''

tmp=test-tmp-$$

mkdir $tmp

for type in '-PP' '-XS' ''
do
    module=Directory-Iterator$type
    tarball=`ls -t $module-[0-9]*.tar.gz | head -1`
    version=`basename $tarball .tar.gz`

    if [ "$tarball" != "" ]
    then
	echo "=== $version ==="
	tar -C $tmp -xzp -f $tarball

	#cd $tmp/$version || exit 1
	cd $tmp || exit 1
	ln -s $version $module
	cd $version || exit 1

	perl Makefile.PL
	make test
	cd ../..
    else
	echo "No distribution found for $module!"
    fi
done

    
{'fraction_non_alphanumeric': 0.17036290322580644, 'fraction_numerical': 0.008064516129032258, 'mean_word_length': 2.4479166666666665, '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': '6762630', 'n_tokens_mistral': 410, 'n_tokens_neox': 383, 'n_words': 116}