<commit_before>#!/bin/bash
SECRETS="config/secrets.yml"
SECRET="$(rake secret)"
BOGUS="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# rm $SECRETS
echo -e "development:\n  secret_key_base: " $BOGUS "\n" >> $SECRETS
echo -e "test:\n  secret_key_base: " $BOGUS "\n" >> $SECRETS
echo -e "production:\n secret_key_base: " $SECRET >> $SECRETS
# rm db/*sqlite3
rake db:create
rake db:migrate<commit_msg>fixing travis build problem<commit_after>#!/bin/bash
SECRETS="config/secrets.yml"
SECRET="$(bundle exec rake secret)"
BOGUS="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# rm $SECRETS
echo -e "development:\n  secret_key_base: " $BOGUS "\n" >> $SECRETS
echo -e "test:\n  secret_key_base: " $BOGUS "\n" >> $SECRETS
echo -e "production:\n secret_key_base: " $SECRET >> $SECRETS
# rm db/*sqlite3
rake db:create
rake db:migrate
{'fraction_non_alphanumeric': 0.15763546798029557, 'fraction_numerical': 0.0024630541871921183, 'mean_word_length': 6.008620689655173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '1147954', 'n_tokens_mistral': 351, 'n_tokens_neox': 310, 'n_words': 70}