<commit_before>#!/bin/sh

rm -rf niecza

# remove stale compiled file slipping through the cracks
rm -r ~/.local/share/NieczaModuleCache

# default to sysperl
PATH=/usr/local/bin:$PATH

git clone git://github.com/sorear/niecza.git
cd niecza
ln -s ../../roast t/spec
echo "#!/usr/bin/env perl" > perl6
echo 'exec "ulimit -t 15; ulimit -v 1260720; nice -20 mono ./run/Niecza.exe @ARGV"' >> perl6
chmod a+x ./perl6
make all
mono ./run/Niecza.exe -e "say 'BUILD SETTING'"
perl t/spec/test_summary niecza 2>&1 | tee ../niecza_summary.out<commit_msg>Try to recover one niecza test.<commit_after>#!/bin/sh

rm -rf niecza

# remove stale compiled file slipping through the cracks
rm -r ~/.local/share/NieczaModuleCache

# default to sysperl
PATH=/usr/local/bin:$PATH

git clone git://github.com/sorear/niecza.git
cd niecza
ln -s ../../roast t/spec
echo "#!/usr/bin/env perl" > perl6
echo 'exec "ulimit -t 15; ulimit -v 1260720; nice -20 mono ./run/Niecza.exe @ARGV"' >> perl6
chmod a+x ./perl6
make all

# some tests require a LANG.
export LANG=en_US.UTF-8

mono ./run/Niecza.exe -e "say 'BUILD SETTING'"
perl t/spec/test_summary niecza 2>&1 | tee ../niecza_summary.out
{'fraction_non_alphanumeric': 0.14642549526270457, 'fraction_numerical': 0.028423772609819122, 'mean_word_length': 3.503875968992248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '4573290', 'n_tokens_mistral': 509, 'n_tokens_neox': 456, 'n_words': 137}