<commit_before>import os

def main():
	"""Upload to Amazon S3"""
	
	try:
		handle = open(os.path.expanduser("~") + "/.s3cfg", 'w')
	except IOError:
		pass
	else:
		handle.write("[default]\n")
		handle.write("access_key = " + os.environ['S3_KEY'] + "\n")
		handle.write("secret_key = " + os.environ['S3_SECRET'] + "\n")		
		handle.close()	

	os.system("s3cmd mb s3://" + os.environ['S3_BUCKET'])	
	os.system("s3cmd sync data/ s3://" + os.environ['S3_BUCKET'])	
	<commit_msg>Make S3 push public.<commit_after>import os

def main():
	"""Upload to Amazon S3"""
	
	try:
		handle = open(os.path.expanduser("~") + "/.s3cfg", 'w')
	except IOError:
		pass
	else:
		handle.write("[default]\n")
		handle.write("access_key = " + os.environ['S3_KEY'] + "\n")
		handle.write("secret_key = " + os.environ['S3_SECRET'] + "\n")		
		handle.close()	

	os.system("s3cmd mb s3://" + os.environ['S3_BUCKET'])	
	os.system("s3cmd sync --acl-public data/ s3://" + os.environ['S3_BUCKET'])	
	
{'fraction_non_alphanumeric': 0.22153209109730848, 'fraction_numerical': 0.021739130434782608, 'mean_word_length': 3.810945273631841, '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': '7411844', 'n_tokens_mistral': 413, 'n_tokens_neox': 405, 'n_words': 72}