<commit_before>#!/bin/bash

ssh -i ~/.ssh/id_rsa.updates stratux-updates@updates.stratux.me 'ls -1 queue/' | while read git_hash ; do
	echo "***** Building $git_hash. *****"
	git clone https://github.com/cyoung/stratux --recursive $git_hash
	cd $git_hash
	git reset --hard $git_hash
	cd selfupdate
	./makeupdate.sh
	cd ..
	scp -i ~/.ssh/id_rsa.updates work/update*.sh stratux-updates@updates.<EMAIL>:finished/
	cd ..
	ssh -i ~/.ssh/id_rsa.updates stratux-updates@updates.stratux.me "rm -f queue/${git_hash}"
done<commit_msg>Upload to temporary directory in .sh builds, then move.<commit_after>#!/bin/bash

ssh -i ~/.ssh/id_rsa.updates stratux-updates@updates.stratux.me 'ls -1 queue/' | while read git_hash ; do
	echo "***** Building $git_hash. *****"
	git clone https://github.com/cyoung/stratux --recursive $git_hash
	cd $git_hash
	git reset --hard $git_hash
	cd selfupdate
	./makeupdate.sh
	cd ..
	for fl in `work/update*.sh` ; do
		scp -i ~/.ssh/id_rsa.updates $fl stratux-updates@updates.stratux.me:uploading/
		ssh -i ~/.ssh/id_rsa.updates stratux-updates@updates.stratux.me "mv uploading/${fl} finished/"
	done
	cd ..
	ssh -i ~/.ssh/id_rsa.updates stratux-updates@updates.stratux.me "rm -f queue/${git_hash}"
done
{'fraction_non_alphanumeric': 0.16639344262295083, 'fraction_numerical': 0.001639344262295082, 'mean_word_length': 3.7142857142857144, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '215757', 'n_tokens_mistral': 510, 'n_tokens_neox': 485, 'n_words': 108}