<commit_before>#!/usr/bin/env  bash

# This script assumes that you have ssh access to the OWID production server called owid-live. It will
# fail if you don't have these credentials

set -o errexit
set -o pipefail
set -o nounset

FOLDER="${DATA_FOLDER:-./tmp-downloads}"

mkdir -p $FOLDER

ssh owid@live.owid.io "sudo mysqldump --default-character-set=utf8mb4 live_wordpress -r /tmp/live_wordpress.sql && sudo gzip -f /tmp/live_wordpress.sql"
rsync -hav --progress <EMAIL>@live.owid.io:/tmp/live_wordpress.sql.gz $FOLDER<commit_msg>fix: point docker-compose download script for WP to new server<commit_after>#!/usr/bin/env  bash

# This script assumes that you have ssh access to the OWID production db server at live-db.owid.io It will
# fail if you don't have these credentials

set -o errexit
set -o pipefail
set -o nounset

FOLDER="${DATA_FOLDER:-./tmp-downloads}"

mkdir -p $FOLDER

ssh owid@live-db.owid.io "sudo mysqldump --default-character-set=utf8mb4 live_wordpress -r /tmp/live_wordpress.sql && sudo gzip -f /tmp/live_wordpress.sql"
rsync -hav --progress <EMAIL>:/tmp/live_wordpress.sql.gz $FOLDER
{'fraction_non_alphanumeric': 0.1145175834084761, 'fraction_numerical': 0.0036068530207394047, 'mean_word_length': 4.235849056603773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2639641', 'n_tokens_mistral': 414, 'n_tokens_neox': 386, 'n_words': 121}