<commit_before>from wate import app
import db_ops

@app.route('/')
def index():
    users  = db_ops.users_everything_get()
    header = db_ops.COMPLETE_USER_SCHEMA

    retval = ""

    # First, print the header
    for item in header:
        retval += ( item + ", " )
    retval += ( "<br>"*2 )

    # Now print each user
    for user in users:
        for item in user:
            retval += ( str(item) + " " )
        retval += "<br>"

    return retval<commit_msg>Make a table for the front page<commit_after>from wate import app
import db_ops

@app.route('/')
def index():
    users  = db_ops.users_everything_get()
    header = db_ops.COMPLETE_USER_SCHEMA

    retval = '<table border="1">'


    # First, print the header
    retval += '<tr>'
    for item in header:
        retval += "<th>{}</th>".format(item)
    retval += '</tr>'

    # Now print each user
    for user in users:
        retval += "<tr>"
        for item in user:
            retval += "<td>{}</td>".format(item)
        retval += "</tr>"

    retval += "</table>"

    return retval
{'fraction_non_alphanumeric': 0.14487300094073377, 'fraction_numerical': 0.0018814675446848542, 'mean_word_length': 2.2839506172839505, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2678272', 'n_tokens_mistral': 343, 'n_tokens_neox': 336, 'n_words': 101}