<commit_before>{% extends "base.twig" %}

{% block content %}

<table class="table table-striped">
    <tr>
        <td></td>
        <th>#</th>
        <th>Formula in LaTeX</th>
        <th>Instances in database</th>
        {% if user_id == 10 %}
        <th>is important<th>
        {% endif %}
    </tr>
  {% for s in symbol_training_data_count %}
    <tr>
            <th><img  src="../formulas/{{ s.id }}-{{ s.best_rendering }}.svg"
                 width="30" style="width:30px;max-height:30px;" /></th>
        {% if s.is_important %}
            <td style="background-color:green;">{{ loop.index }}</td>
            <td style="background-color:green;"><a href="../symbol/?id={{s.id}}">{{s.formula_in_latex}}</a></td>
            <td style="background-color:green;">{{s.counter}}</td>
        {% else %}
            <td>{{ loop.index }}</td>
            <td><a href="../symbol/?id={{s.id}}">{{s.formula_in_latex}}</a></td>
            <td>{{s.counter}}</td><commit_msg>/stats: added line height for faster / more convenient loading<commit_after>{% extends "base.twig" %}

{% block content %}

<!-- Fix line height to make loading more convenient -->
<style type="text/css">
tr {
   line-height: 45px;
   min-height: 45px;
   height: 45px;
}
</style>

<table class="table table-striped">
    <tr>
        <td></td>
        <th>#</th>
        <th>Formula in LaTeX</th>
        <th>Instances in database</th>
        {% if user_id == 10 %}
        <th>is important<th>
        {% endif %}
    </tr>
  {% for s in symbol_training_data_count %}
    <tr>
            <th><img  src="../formulas/{{ s.id }}-{{ s.best_rendering }}.svg"
                 width="30" style="width:30px;max-height:30px;" /></th>
        {% if s.is_important %}
            <td style="background-color:green;">{{ loop.index }}</td>
            <td style="background-color:green;"><a href="../symbol/?id={{s.id}}">{{s.formula_in_latex}}</a></td>
            <td style="background-color:green;">{{s.counter}}</td>
        {% else %}
            <td>{{ loop.index }}</td>
            <td><a href="../symbol/?id={{s.id}}">{{s.formula_in_latex}}</a></td>
            <td>{{s.counter}}</td>
{'fraction_non_alphanumeric': 0.22535863026376676, 'fraction_numerical': 0.01018047200370199, 'mean_word_length': 2.2658610271903323, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 72, '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': '5259618', 'n_tokens_mistral': 795, 'n_tokens_neox': 724, 'n_words': 135}