<commit_before>import json
import os

from flask import Flask
from flask import render_template
from flask import send_from_directory


app = Flask(__name__)
APP_ROOT = os.path.dirname(os.path.abspath(__file__))
DATA_PATH = os.path.join(APP_ROOT, '/data')


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


@app.route('/data/<path:filename>')
def serve_static(filename):
    return send_from_directory(os.path.join(APP_ROOT, 'data'), filename)

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5001, debug=True)<commit_msg>move port to 5000<commit_after>import json
import os

from flask import Flask
from flask import render_template
from flask import send_from_directory


app = Flask(__name__)
APP_ROOT = os.path.dirname(os.path.abspath(__file__))
DATA_PATH = os.path.join(APP_ROOT, '/data')


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


@app.route('/data/<path:filename>')
def serve_static(filename):
    return send_from_directory(os.path.join(APP_ROOT, 'data'), filename)

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=5000, debug=True)
{'fraction_non_alphanumeric': 0.1449016100178891, 'fraction_numerical': 0.017889087656529516, 'mean_word_length': 5.58235294117647, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '7066148', 'n_tokens_mistral': 406, 'n_tokens_neox': 385, 'n_words': 84}