<commit_before>{% extends 'rmiyc/base.html' %}
{% block title %}
        Leader board!
{% endblock %}
{% block container %}
   <div class="well">
        <h1 class="text-center text-warning">Leader board</h1>
        <br />
        <h3 class="text-success">High Scores</h3>
        {% if high_scores %}
            <table class="table table-hover table-bordered">
            {% for item in high_scores %}
                <tr class="success">
                    <td><strong>{{item.rank}}</strong></td>
                    <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                    <td><strong>{{item.score}}</strong></td>
                </tr>
            {%endfor%}
            </table>
        {% endif %}
        <h3 class="text-success">Category High Scores</h3>
        {% if cat_high_scores %}
            <table class="table table-hover table-bordered">
            {% for item in cat_high_scores %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><a href='/play/{{item.category_url}}'>{{item.category}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% endif %}


       <h3 class="text-success">School High Scores</h3>
        {% if school_hs %}
            <table class="table table-hover table-bordered">
            {% for item in school_hs %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% else %}
            <h5>Log in to view School High scores.</h5>
        {% endif %}



        <h3 class="text-success">Age group High Scores</h3>
        {% if age_scores %}
            <table class="table table-hover table-bordered">
            {% for item in age_scores %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% else %}
            <h5>Log in to view Age Group High scores.</h5>
        {% endif %}



        <h3 class="text-success">High Scores by Gender</h3>
        {% if gender_scores %}
            <table class="table table-hover table-bordered">
            {% for item in gender_scores  %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% else %}
            <h5>Log in to view Gender High scores.</h5>
        {% endif %}






     </div>
{% endblock %}
<commit_msg>daily merge to update rest of team's work, doesn't affect my code Merge branch 'master' of https://github.com/leifos/ifind<commit_after>{% extends 'rmiyc/base.html' %}
{% block title %}
        Leader board!
{% endblock %}
{% block container %}
   <div class="well">
        <h1 class="text-center text-warning">Leader board</h1>
        <br />
        <h3 class="text-success">High Scores</h3>
        {% if high_scores %}
            <table class="table table-hover table-bordered">
            {% for item in high_scores %}
                <tr class="success">
                    <td><strong>{{item.rank}}</strong></td>
                    <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                    <td><strong>{{item.score}}</strong></td>
                </tr>
            {%endfor%}
            </table>
        {% endif %}
        <h3 class="text-success">Category High Scores</h3>
        {% if cat_high_scores %}
            <table class="table table-hover table-bordered">
            {% for item in cat_high_scores %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><a href='/play/{{item.category_url}}'>{{item.category}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% endif %}


       <h3 class="text-success">School High Scores</h3>
        {% if school_hs %}
            <table class="table table-hover table-bordered">
            {% for item in school_hs %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>

        {% endif %}



        <h3 class="text-success">Age group High Scores</h3>
        {% if age_scores %}
            <table class="table table-hover table-bordered">
            {% for item in age_scores %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>

        {% endif %}



        <h3 class="text-success">High Scores by Gender</h3>
        {% if gender_scores %}
            <table class="table table-hover table-bordered">
            {% for item in gender_scores  %}
              <tr class="success">
                  <td> <strong>{{item.rank}}</strong></td>
                  <td><a href='/profile/{{item.username}}'>{{item.username}}</a></td>
                  <td><strong>{{item.score}}</strong></td>
              </tr>
            {%endfor%}
            </table>
        {% endif %}
     </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.18815387091582167, 'fraction_numerical': 0.004828585224529213, 'mean_word_length': 1.609827803443931, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, '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': '4823470', 'n_tokens_mistral': 1979, 'n_tokens_neox': 1730, 'n_words': 333}