<commit_before>{% extends 'menu.html' %}

{% block title %}Home{% endblock %}
{% block home_active %}active{% endblock %}

{% block content %}
<div class="ui vertical center aligned segment" id="home_banner">
    <div class="ui text container">
      <h1 class="ui dividing header">
        Welcome to PLUS!
      </h1>
      <h2>Study hard to be a good HACKER</h2>
    </div>
</div>
<div class="ui two column very relaxed grid" style="position:relative; margin:0; padding:0;">
    <div class="column">
        <h2 class="ui dividing header">Notifications</h2>
        {% if notifications %}
            {% for noti in notifications %}
                {% if noti.isActive %}
                    <div class="ui segment">
                        <h3 class="ui dividing header">{{ noti.title }}</h3>
                        <p>{{ noti.description }}</p>
                        <p style="opacity:0.5">{{ noti.date }}</p>
                    </div>
                {% endif %}
            {% endfor %}
        {% endif %}
        {% if not notifications %}
        <p>There is no notification</p>
        {% endif %}

    </div>
    <div class="ui vertical divider" style="position:relative; width:1; "></div>
    <div class="column">
        <h2 class="ui dividing header">Recent Solves</h2>
        {% if recent_solves %}
            {% for recent_solve in recent_solves %}
                <div class="ui segment">
                    <h3 class="ui dividing header">
                        <span style="color:palevioletred">{{ recent_solve.user }}</span>
                         solved <span style="color:dodgerblue">{{ recent_solve.problem_instance.problem.title }}</span>
                        <span style="float:right;color:gray" class="small"> {{ recent_solve.problem_instance.problem_list.title }}</span>
                    </h3>
                    {{ recent_solve.datetime }}
                    {% if recent_solve in first_solves %}
                        <div class="ui red label" style="float:right">FIRST BLOOD</div>
                    {% endif %}
                </div>
            {% endfor %}
        {% endif %}
    </div>
</div>
<script>
    $(document).ready(function () {



<commit_msg>show session title too<commit_after>{% extends 'menu.html' %}

{% block title %}Home{% endblock %}
{% block home_active %}active{% endblock %}

{% block content %}
<div class="ui vertical center aligned segment" id="home_banner">
    <div class="ui text container">
      <h1 class="ui dividing header">
        Welcome to PLUS!
      </h1>
      <h2>Study hard to be a good HACKER</h2>
    </div>
</div>
<div class="ui two column very relaxed grid" style="position:relative; margin:0; padding:0;">
    <div class="column">
        <h2 class="ui dividing header">Notifications</h2>
        {% if notifications %}
            {% for noti in notifications %}
                {% if noti.isActive %}
                    <div class="ui segment">
                        <h3 class="ui dividing header">{{ noti.title }}</h3>
                        <p>{{ noti.description }}</p>
                        <p style="opacity:0.5">{{ noti.date }}</p>
                    </div>
                {% endif %}
            {% endfor %}
        {% endif %}
        {% if not notifications %}
        <p>There is no notification</p>
        {% endif %}

    </div>
    <div class="ui vertical divider" style="position:relative; width:1; "></div>
    <div class="column">
        <h2 class="ui dividing header">Recent Solves</h2>
        {% if recent_solves %}
            {% for recent_solve in recent_solves %}
                <div class="ui segment">
                    <h3 class="ui dividing header">
                        <span style="color:palevioletred">{{ recent_solve.user }}</span>
                         solved <span style="color:dodgerblue">{{ recent_solve.problem_instance.problem.title }}</span>
                        <small style="float:right;color:gray">{{ recent_solve.problem_instance.session.title }} : {{ recent_solve.problem_instance.problem_list.title }}</small>
                    </h3>
                    {{ recent_solve.datetime }}
                    {% if recent_solve in first_solves %}
                        <div class="ui red label" style="float:right">FIRST BLOOD</div>
                    {% endif %}
                </div>
            {% endfor %}
        {% endif %}
    </div>
</div>
<script>
    $(document).ready(function () {




{'fraction_non_alphanumeric': 0.14838854073410923, 'fraction_numerical': 0.007609668755595345, 'mean_word_length': 1.819558359621451, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '5695077', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1215, 'n_words': 313}