<commit_before>{% extends 'base.htm' %}
{% block title %}Query • estus{% endblock %}
{% block content %}
    <div class="alert alert-warning">
        <b>Attenzione!</b> In questa pagina non è presente alcuna misura per prevenire SQL Injection. Eseguite le query a vostro rischio e pericolo!
    </div>
    <form action="/query" method="post">
        <div class="input-group">
            <span class="input-group-addon">SELECT</span>
            <input type="text" class="form-control" placeholder="Scrivi qui la tua query!" name="query" {% if query %}value="{{ query }}{% endif %}">
            <span class="input-group-addon">;</span>
        </div>
    </form>
    {% if result %}
        <div class="panel panel-success">
            <div class="panel-heading">
                Risultati della query
            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                        <tr><commit_msg>Add some xkcd<commit_after>{% extends 'base.htm' %}
{% block title %}Query • estus{% endblock %}
{% block content %}
    <div class="alert alert-warning">
        <b>Attenzione!</b> In questa pagina non è presente alcuna misura per prevenire SQL Injection. Eseguite le query a vostro <a href="https://xkcd.com/327/">rischio e pericolo</a>!
    </div>
    <form action="/query" method="post">
        <div class="input-group">
            <span class="input-group-addon">SELECT</span>
            <input type="text" class="form-control" placeholder="Scrivi qui la tua query!" name="query" {% if query %}value="{{ query }}{% endif %}">
            <span class="input-group-addon">;</span>
        </div>
    </form>
    {% if result %}
        <div class="panel panel-success">
            <div class="panel-heading">
                Risultati della query
            </div>
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                        <tr>
{'fraction_non_alphanumeric': 0.15531062124248496, 'fraction_numerical': 0.001503006012024048, 'mean_word_length': 2.179936305732484, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 1, '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': '2087928', 'n_tokens_mistral': 614, 'n_tokens_neox': 572, 'n_words': 160}