<commit_before>from app import app

@app.route('/')
@app.route('/index')
def index():
    return "Hello, World!"<commit_msg>Uses an inline HTML template<commit_after>from app import app

@app.route('/')
@app.route('/index')
def index():
    user = {'nickname': 'Matheus'}  # fake user
    return '''
<html>
  <head>
    <title>Home Page</title>
  </head>
  <body>
    <h1>Hello, ''' + user['nickname'] + '''</h1>
  </body>
</html>
'''
{'fraction_non_alphanumeric': 0.22350230414746544, 'fraction_numerical': 0.004608294930875576, 'mean_word_length': 3.8333333333333335, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '560547', 'n_tokens_mistral': 160, 'n_tokens_neox': 159, 'n_words': 39}