<commit_before>#!/usr/bin/env python3

from flask import Flask, render_template


app = Flask(__name__, static_folder="static")
app.config.from_object('config.DebugConfig')


@app.route("/")
@app.route("/index.html")
def index():
    return render_template("layout.html")


if __name__ == "__main__":
    app.run("127.0.0.1", 8080)<commit_msg>add placeholders for view methods<commit_after>#!/usr/bin/env python3

from flask import Flask, render_template


app = Flask(__name__, static_folder="static")
app.config.from_object('config.DebugConfig')


@app.route("/")
@app.route("/index.html")
def index():
    return render_template("layout.html")

# @app.route("/blog")
# def blog():
#     return "<div>blog</div>"

@app.route("/projects")
def projects():
    from time import sleep
    sleep(2)
    return "<div>projects</div>"

@app.route("/about")
def about():
    return "<div>about</div>"

if __name__ == "__main__":
    app.run("0.0.0.0", 8080)
{'fraction_non_alphanumeric': 0.18526315789473685, 'fraction_numerical': 0.022105263157894735, 'mean_word_length': 4.6946107784431135, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7103458', 'n_tokens_mistral': 343, 'n_tokens_neox': 326, 'n_words': 67}