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

{% block page_title %}Task view{% endblock %}
{% block page_class %}project-task-view{% endblock %}

{% block content %}

    <div class="container">
    <h1>{{ task.name }}</h1>

    <p>{{ task.description }}</p>

    <p>In project: {{ project.name }}</p>
    </div>
{% endblock %}<commit_msg>#15 Adding additional info to the task page<commit_after>{% extends "_layouts/base.html" %}

{% block page_title %}Task view{% endblock %}
{% block page_class %}project-task-view{% endblock %}

{% block content %}

    <div class="container">
    <h1>{{ task.name }}</h1>

    <p>{{ task.description }}</p>

    <p>In project: {{ project.name }}</p>
    
    <h3>Selection ({{ task.selection.dataset.messages.count }})</h3>
    <ul>
        {% for message in task.selection.dataset.messages.all %}
        <li>{{ message.text }}</li>
    {% endfor %}
    </ul>
    
    <h3>Scheme</h3>
    {% for code_group in task.scheme.code_groups.all %}
    <h4>{{ code_group.name }} ({{ code_group.codes.count }})</h4>
    <ul>
        {% for code in code_group.codes.all %}
        <li>{{ code.name }}</li>
        {% endfor %}
    </ul>
    {% endfor %}

    <h3>Assigned Coders ({{ task.assigned_coders.count }})</h3>
    <ul>
        {% for coder in task.assigned_coders.all %}
        <li>{{ coder }}</li>
    {% endfor %}
    </ul>

    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.20815450643776823, 'fraction_numerical': 0.010014306151645207, 'mean_word_length': 2.7108753315649867, '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': '2973594', 'n_tokens_mistral': 547, 'n_tokens_neox': 485, 'n_words': 110}