<commit_before>import requests
import json

from flask import Flask
from flask import request
from flask import abort

app = Flask("ReactDigitsServer", static_url_path="", static_folder="dist")
app.add_url_rule("/", "root", lambda: app.send_static_file("index.html"))
app.add_url_rule("/dist/*", "dist", lambda: app.send_static_file("dist/dist.js"))


@app.route("/user/verify", methods=["POST"])
def verify_user():
    data = json.loads(request.data)
<commit_msg>import Response & update static folder location to public<commit_after>import requests
import json

from flask import Flask
from flask import Response
from flask import request
from flask import abort

app = Flask("ReactDigitsServer", static_url_path="", static_folder="public")
app.add_url_rule("/", "root", lambda: app.send_static_file("index.html"))
app.add_url_rule("/dist/*", "dist", lambda: app.send_static_file("dist/dist.js"))


@app.route("/user/verify", methods=["POST"])
def verify_user():
    data = json.loads(request.data)

{'fraction_non_alphanumeric': 0.15084915084915085, 'fraction_numerical': 0.0, 'mean_word_length': 6.648854961832061, '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': '1391062', 'n_tokens_mistral': 319, 'n_tokens_neox': 313, 'n_words': 79}