{% extends "test/base.html" %} {% set active_test_page = "manual" %} {% block title %}Manual — Entry {{ index + 1 }} of {{ total }} | SPIKEE{% endblock %} {% block content %}
{# ── Header row ── #}
{{ job.name }}
Judge: {{ judge_name }} {% if judge_args %}Args: {{ judge_args }}{% endif %} {% if judge_options %}Options: {{ judge_options }}{% endif %}
{# ── Progress bar ── #}
Entry {{ index + 1 }} of {{ total }} {{ ((index / total) * 100) | round(0) | int }}% complete
{# ── Entry metadata ── #} {% set jb = entry.get('jailbreak_id') or entry.get('jailbreak') %} {% set instr = entry.get('instruction_id') or entry.get('instruction') %} {% set pos = entry.get('position') %} {% if jb or instr or pos or entry.get('lang') or entry.get('id') %}
{% if entry.get('id') %}ID: {{ entry.id }}{% endif %} {% if jb %}Jailbreak: {{ jb }}{% endif %} {% if instr %}Instruction: {{ instr }}{% endif %} {% if pos %}Position: {{ pos }}{% endif %} {% if entry.get('lang') %}Lang: {{ entry.lang }}{% endif %}
{% endif %} {% if content_type != 'text' %}
This entry has content type {{ content_type }}. Only text is displayed.
{% endif %}
{# ── LEFT: Prompt ── #}
Prompt
{{ content | e }}
{# Payload collapsible (shown when payload differs from content) #} {% set payload = entry.get('payload') %} {% if payload and payload != content %}
▸ Payload
{{ payload | e }}
{% endif %} {# System message collapsible #} {% if entry.get('system_message') %}
▸ System Message
{{ entry.system_message | e }}
{% endif %}
{# ── RIGHT: Response form ── #}
Response
Auto-Judge runs {{ judge_name }} on the response. Pass / Fail override the judge.
{# Hidden fields set by JS before form submit #}
{% endblock %} {% block scripts %} {% endblock %}