<commit_before>#!/bin/bash

bootstrap_centos() {
  yum -y install git perl perl-devel perl-CGI perl-Time-HiRes \
    perl-Digest-HMAC perl-Digest-SHA perl-Crypt-SSLeay \
    redhat-lsb-core
}<commit_msg>fixed bootstrap for CentOS 7<commit_after>#!/bin/bash

bootstrap_centos() {
  yum -y install git perl perl-devel perl-CGI perl-Time-HiRes \
    perl-Digest-HMAC perl-Digest-SHA perl-Crypt-SSLeay \
    redhat-lsb-core
  
  # test whether CGI::Util is available, it's needed by taskd
  # from Ubuntu 16 it's not included in the perl distribution
  perl -MData::Dumper -e 'exit 0;' &>/dev/null
  if [ $? -eq 0 ]; then
    :
  else
    yum -y install perl-Data-Dumper
  fi
}
{'fraction_non_alphanumeric': 0.1188707280832095, 'fraction_numerical': 0.007429420505200594, 'mean_word_length': 3.035928143712575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '508959', 'n_tokens_mistral': 286, 'n_tokens_neox': 262, 'n_words': 67}