<commit_before>#!/bin/bash -x

touch config/api_keys.yml

bundle exec rake db:migrate
bundle install --path "${HOME}/bundles/${JOB_NAME}" --without darwin
bundle exec rake stats

# DELETE STATIC SYMLINKS AND RECONNECT...
for d in images javascripts templates stylesheets; do
  rm -f public/$d
  ln -s ../../../Static/workspace/public/$d public/
done

export DISPLAY=:99<commit_msg>wrong order for running migrations<commit_after>#!/bin/bash -x

touch config/api_keys.yml

bundle install --path "${HOME}/bundles/${JOB_NAME}" --without darwin
bundle exec rake db:migrate
bundle exec rake stats

# DELETE STATIC SYMLINKS AND RECONNECT...
for d in images javascripts templates stylesheets; do
  rm -f public/$d
  ln -s ../../../Static/workspace/public/$d public/
done

export DISPLAY=:99
{'fraction_non_alphanumeric': 0.1277139208173691, 'fraction_numerical': 0.005108556832694764, 'mean_word_length': 3.8098159509202456, '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': '7334884', 'n_tokens_mistral': 270, 'n_tokens_neox': 259, 'n_words': 85}