<commit_before># -*- coding: UTF-8 -*-
import sys

reload(sys)
sys.setdefaultencoding('UTF-8')

sys.path.insert(0, '/var/www/webhook')

from webhook import app as application
<commit_msg>Obter path raiz da aplicação de forma atomática<commit_after># -*- coding: UTF-8 -*-
import sys, os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
reload(sys)  # Reload does the trick!
sys.setdefaultencoding('UTF-8')

from webhook import app as application
{'fraction_non_alphanumeric': 0.15028901734104047, 'fraction_numerical': 0.011560693641618497, 'mean_word_length': 5.190476190476191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '2083253', 'n_tokens_mistral': 183, 'n_tokens_neox': 180, 'n_words': 43}