<commit_before>{% load staticfiles %}
{% load utils %}
{% static 'herders/images/' as img_url_prefix %}
{% load markdown_deux_tags %}

<table>
    <tbody>
    <tr>
        <td>HP</td>
        <td>{{ instance.hp }}</td>
    </tr>
    <tr>
        <td>ATK</td>
        <td>{{ instance.attack }}</td>
    </tr>
    <tr>
        <td>DEF</td>
        <td>{{ instance.defense }}</td>
    </tr>
    <tr>
        <td>SPD</td>
        <td>{{ instance.speed }}</td>
    </tr>
    <tr>
        <td>CRI Rate</td>
        <td>{{ instance.crit_rate }}%</td>
    </tr>
    <tr>
        <td>CRI Dmg</td>
        <td>{{ instance.crit_damage }}%</td>
    </tr>
    <tr>
        <td>Resistance</td>
        <td>{{ instance.resistance }}%</td>
    </tr>
    <tr>
        <td>Accuracy</td>
        <td>{{ instance.accuracy }}%</td>
    </tr>
    <tr>
        <td colspan="2" style="position:relative">
            {% for skill in instance.monster.skills %}
            <div class="monster-image" style="position:relative">
                <img src="{{ img_url_prefix }}skills/{{ skill.icon_filename }}" class="monster-thumb" />
                {% if skill.max_level > 1 %}
                <span class="image-plus image-plus-right">
                    {% if forloop.counter == 1 %}
                        {{ instance.skill_1_level }}/{{ skill.max_level }}
                    {% elif forloop.counter == 2 %}
                        {{ instance.skill_2_level }}/{{ skill.max_level }}<commit_msg>Crit rate red when at or above 100<commit_after>{% load staticfiles %}
{% load utils %}
{% static 'herders/images/' as img_url_prefix %}
{% load markdown_deux_tags %}

<table>
    <tbody>
    <tr>
        <td>HP</td>
        <td>{{ instance.hp }}</td>
    </tr>
    <tr>
        <td>ATK</td>
        <td>{{ instance.attack }}</td>
    </tr>
    <tr>
        <td>DEF</td>
        <td>{{ instance.defense }}</td>
    </tr>
    <tr>
        <td>SPD</td>
        <td>{{ instance.speed }}</td>
    </tr>
    <tr>
        <td>CRI Rate</td>
        <td {% if instance.crit_rate >= 100 %}class="text-danger"{% endif %}>{{ instance.crit_rate }}%</td>
    </tr>
    <tr>
        <td>CRI Dmg</td>
        <td>{{ instance.crit_damage }}%</td>
    </tr>
    <tr>
        <td>Resistance</td>
        <td>{{ instance.resistance }}%</td>
    </tr>
    <tr>
        <td>Accuracy</td>
        <td>{{ instance.accuracy }}%</td>
    </tr>
    <tr>
        <td colspan="2" style="position:relative">
            {% for skill in instance.monster.skills %}
            <div class="monster-image" style="position:relative">
                <img src="{{ img_url_prefix }}skills/{{ skill.icon_filename }}" class="monster-thumb" />
                {% if skill.max_level > 1 %}
                <span class="image-plus image-plus-right">
                    {% if forloop.counter == 1 %}
                        {{ instance.skill_1_level }}/{{ skill.max_level }}
                    {% elif forloop.counter == 2 %}
                        {{ instance.skill_2_level }}/{{ skill.max_level }}
{'fraction_non_alphanumeric': 0.19479235332893868, 'fraction_numerical': 0.005932762030323006, 'mean_word_length': 1.7490942028985508, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 116, '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': '245919', 'n_tokens_mistral': 1095, 'n_tokens_neox': 1013, 'n_words': 204}