<commit_before>#!%(interpreter)s
import os
import sys

if __name__ == '__main__':
	# NOTE: os.chdir() to the project does not work so instead add to sys.path<commit_msg>Updated manage.py templates to cd into the project directory for correct path resolution in settings.<commit_after>#!%(interpreter)s
import os
import sys

if __name__ == '__main__':
	# NOTE: os.chdir() to the project does not work for loading up the settings module so instead add to sys.path
	# os.chdir is included however so that usage of os.path.abspath('.') will resolve correct
	os.chdir('%(project_dir)s')
{'fraction_non_alphanumeric': 0.0981067125645439, 'fraction_numerical': 0.0, 'mean_word_length': 5.0625, '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': '3683428', 'n_tokens_mistral': 178, 'n_tokens_neox': 177, 'n_words': 74}