<commit_before>from app import mulungwishi_app as url
from flask import render_template


@url.route('/')
def index():
    return render_template('index.html')


@url.route('/<query>')
def print_user_input(query):
    if '=' in query:
        query_container, query_value = query.split('=')
        return 'Your query is {} which is equal to {}'.format(query_container, query_value)
    return "You've entered an incorrect query. Please check and try again. Input : {}".format(query)


@url.errorhandler(404)
def page_not_found(error):
    return render_template('404.html'), 404
<commit_msg>Specify app wants for the query<commit_after>from app import mulungwishi_app as url
from flask import render_template


@url.route('/')
def index():
    return render_template('index.html')


@url.route('/<query>')
def print_user_input(query):
    if '=' in query:
        query_container, query_value = query.split('=')
        return 'Your query is {} which is equal to {}'.format(query_container, query_value)
    return "You've entered an incorrect query. Please check and try again. You can try 'url=something relevant'".format(query), 400


@url.errorhandler(404)
def page_not_found(error):
    return render_template('404.html'), 404

{'fraction_non_alphanumeric': 0.12408759124087591, 'fraction_numerical': 0.0170316301703163, 'mean_word_length': 4.533632286995516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4063007', 'n_tokens_mistral': 393, 'n_tokens_neox': 365, 'n_words': 115}