<commit_before>{% extends "poet/base.html" %}

{% load static i18n render_html_field %}

{% block page_heading %}
    <h1>
        <small class="text-muted">POET Statistics</small><br>
        {{ resource.title }}
    </h1>
{% endblock page_heading %}

{% block content_container %}
    <div class="col-12">
        <p><strong>Target progress outcome:</strong> {{ resource.target_progress_outcome.label }}</p>

        <div class="resource-content my-3 p-3 border rounded">
            <h4>{{ resource.title }}</h4>
            {% render_html_field resource.content %}
        </div>

        <p><strong>Total submissions for resource:</strong> {{ total_submissions }}</p><commit_msg>Revert use of template tag<commit_after>{% extends "poet/base.html" %}

{% load static i18n %}

{% block page_heading %}
    <h1>
        <small class="text-muted">POET Statistics</small><br>
        {{ resource.title }}
    </h1>
{% endblock page_heading %}

{% block content_container %}
    <div class="col-12">
        <p><strong>Target progress outcome:</strong> {{ resource.target_progress_outcome.label }}</p>

        <div class="resource-content my-3 p-3 border rounded">
            <h4>{{ resource.title }}</h4>
            {{ resource.content|safe }}
        </div>

        <p><strong>Total submissions for resource:</strong> {{ total_submissions }}</p>
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 3.0089020771513355, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '4816877', 'n_tokens_mistral': 442, 'n_tokens_neox': 407, 'n_words': 89}