<commit_before>#!/bin/bash

# Every time staging is deployed, we load a baseline data set before running the new code's
# migrations. This script loads the baseline data set, after first taking a backup of the
# current database.

set -e
source ./script/ci/includes.sh

cd /home/openfoodweb/apps/openfoodweb/current

echo "Stopping unicorn and delayed job..."
service unicorn_openfoodweb stop
RAILS_ENV=staging script/delayed_job -i 0 stop
<commit_msg>cd before sourcing includes<commit_after>#!/bin/bash

# Every time staging is deployed, we load a baseline data set before running the new code's
# migrations. This script loads the baseline data set, after first taking a backup of the
# current database.

set -e
cd /home/openfoodweb/apps/openfoodweb/current
source ./script/ci/includes.sh

echo "Stopping unicorn and delayed job..."
service unicorn_openfoodweb stop
RAILS_ENV=staging script/delayed_job -i 0 stop

{'fraction_non_alphanumeric': 0.07415485278080698, 'fraction_numerical': 0.0021810250817884407, 'mean_word_length': 4.5636363636363635, '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': '650768', 'n_tokens_mistral': 280, 'n_tokens_neox': 267, 'n_words': 111}