<commit_before>#!/bin/bash

# deploy script based on https://medium.com/philosophy-logic/53a8270e87db
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
	echo "Deploying edge version to CDN..."

	# DEBUGGING print token and reference
	echo "${GH_TOKEN}"
	echo "${GH_REF}"

	git clone https://github.com/RactiveJS/cdn.ractivejs.org.git cdn
	git checkout -b gh-pages origin/gh-pages

	rm -r cdn/edge
	cp -r build/ cdn/edge

	( cd cdn

		git config user.name "Travis-CI"
		git config user.email "<EMAIL>"
		git add .
		git commit -m "Updated edge version"

		git push "https://${GH_TOKEN}@${GH_REF}"
	)
fi
<commit_msg>remove debugging info<commit_after>#!/bin/bash

# deploy script based on https://medium.com/philosophy-logic/53a8270e87db
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
	echo "Deploying edge version to CDN..."

	git clone https://github.com/RactiveJS/cdn.ractivejs.org.git cdn
	git checkout -b gh-pages origin/gh-pages

	rm -r cdn/edge
	cp -r build/ cdn/edge

	( cd cdn

		git config user.name "Travis-CI"
		git config user.email "<EMAIL>"
		git add .
		git commit -m "Updated edge version"

		git push "https://${GH_TOKEN}@${GH_REF}"
	)
fi

{'fraction_non_alphanumeric': 0.13975694444444445, 'fraction_numerical': 0.013888888888888888, 'mean_word_length': 3.5215686274509803, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '5691573', 'n_tokens_mistral': 479, 'n_tokens_neox': 432, 'n_words': 119}