<commit_before>#!/bin/bash

# read for backup host name
source ~/.ec2-factorer.sh

# update mfloopy
cd ~/primetools
git reset --hard
git pull

# update ec2-factorer
cd ~/ec2-factorer
git reset --hard<commit_msg>ssh to backup host on boot. Hopefully makes rsync happier.<commit_after>#!/bin/bash

# read for backup host name
source ~/.ec2-factorer.sh

# rsync seems unhappy until an ssh connection has been made at least once
ssh $BACKUP_HOST echo

# update mfloopy
cd ~/primetools
git reset --hard
git pull

# update ec2-factorer
cd ~/ec2-factorer
git reset --hard
{'fraction_non_alphanumeric': 0.09574468085106383, 'fraction_numerical': 0.010638297872340425, 'mean_word_length': 3.8706896551724137, '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': '4830495', 'n_tokens_mistral': 202, 'n_tokens_neox': 190, 'n_words': 72}