<commit_before>#!/bin/bash
# install and start riak

curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash
apt-get install rebar -y
apt-get install git -y
apt-get install riak -y

ulimit -n 65536

riak start<commit_msg>Fix installation script on ubuntu: setting up leveldb option for indexing support<commit_after>#!/bin/bash
# install and start riak

curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash
apt-get install rebar -y
apt-get install git -y
apt-get install riak -y

sed -i 's/storage_backend = bitcask/storage_backend = leveldb/g' /etc/riak/riak.conf

ulimit -n 65536

riak start
{'fraction_non_alphanumeric': 0.10550458715596331, 'fraction_numerical': 0.01529051987767584, 'mean_word_length': 4.077519379844961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3928227', 'n_tokens_mistral': 252, 'n_tokens_neox': 226, 'n_words': 68}