<commit_before>#!/bin/bash

if [ ! -d "$HOME/opt/couchbase" ] ; then

  wget http://packages.couchbase.com/releases/4.0.0-beta/couchbase-server-enterprise_4.0.0-beta-ubuntu14.04_amd64.deb

  dpkg-deb -x couchbase-server-enterprise_4.0.0-beta-ubuntu14.04_amd64.deb $HOME

  cd opt/couchbase

  ./bin/install/reloc.sh `pwd`
fi

./bin/couchbase-server -- -noinput -detached

./bin/couchbase-cli cluster-init -c 127.0.0.1:8091  --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091 --cluster-init-ramsize=1024<commit_msg>add home as part of cd and add some 'logging'<commit_after>#!/bin/bash

if [ ! -d "$HOME/opt/couchbase" ] ; then

  echo "Starting in `pwd`"

  wget http://packages.couchbase.com/releases/4.0.0-beta/couchbase-server-enterprise_4.0.0-beta-ubuntu14.04_amd64.deb

  dpkg-deb -x couchbase-server-enterprise_4.0.0-beta-ubuntu14.04_amd64.deb $HOME

  cd $HOME/opt/couchbase

  ls -lrt

  ./bin/install/reloc.sh `pwd`
fi

./bin/couchbase-server -- -noinput -detached

./bin/couchbase-cli cluster-init -c 127.0.0.1:8091  --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091 --cluster-init-ramsize=1024
{'fraction_non_alphanumeric': 0.16317991631799164, 'fraction_numerical': 0.06527196652719665, 'mean_word_length': 3.564885496183206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5768738', 'n_tokens_mistral': 540, 'n_tokens_neox': 471, 'n_words': 68}