<commit_before>FROM rubybench/ruby:0.3
MAINTAINER <NAME> "<EMAIL>"

RUN git clone --verbose --branch trunk --single-branch https://github.com/ruby/ruby.git
RUN git clone --verbose --branch master --single-branch https://github.com/ruby-bench/ruby-bench-suite.git

ADD runner runner
ADD config.sub /ruby/tool/config.sub
ADD config.guess /ruby/tool/config.guess
RUN chmod 755 runner

CMD /bin/bash -l -c "./runner"<commit_msg>Fix invalid byte sequence in ruby_trunk as well<commit_after>FROM rubybench/ruby:0.3
MAINTAINER <NAME> "<EMAIL>"

RUN git clone --verbose --branch trunk --single-branch https://github.com/ruby/ruby.git
RUN git clone --verbose --branch master --single-branch https://github.com/ruby-bench/ruby-bench-suite.git

ADD runner runner
ADD config.sub /ruby/tool/config.sub
ADD config.guess /ruby/tool/config.guess
RUN chmod 755 runner

# To avoid invalid byte sequence in benchmark_driver's source handling
ENV LANG C.UTF-8

CMD /bin/bash -l -c "./runner"
{'fraction_non_alphanumeric': 0.12976313079299692, 'fraction_numerical': 0.01132852729145211, 'mean_word_length': 3.86, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '3422228', 'n_tokens_mistral': 336, 'n_tokens_neox': 308, 'n_words': 96}