<commit_before>#!/bin/bash
set -e
echo "inside run.sh"
cd /rails

case ${DOCKER_STATE} in
migrate)
    echo "running migrate"
    bundle exec rake db:migrate
    ;;  
seed)
    echo "running seed"
    bundle exec rake db:migrate
    bundle exec rake db:seed
    ;;
esac
exec bundle exec unicorn -p 80<commit_msg>Added population of 25 claims as part of the seed<commit_after>#!/bin/bash
set -e
echo "inside run.sh"
cd /rails

case ${DOCKER_STATE} in
migrate)
    echo "running migrate"
    bundle exec rake db:migrate
    ;;  
seed)
    echo "running seed"
    bundle exec rake db:migrate
    bundle exec rake db:seed
    bundle exec rake claims:all_states[25]
    ;;
esac
exec bundle exec unicorn -p 80
{'fraction_non_alphanumeric': 0.08677098150782361, 'fraction_numerical': 0.011379800853485065, 'mean_word_length': 3.1411764705882352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2598152', 'n_tokens_mistral': 265, 'n_tokens_neox': 247, 'n_words': 88}