{# partials/_result_detail.html Full expanded view of a single result entry. Expects: id (str), entry (dict), selected_file, truncated=False (default) #} {% from "partials/_macros.html" import entry_state, entry_label %} {% set truncated = truncated if truncated is defined else false %}
{# ---- Header strip (non-clickable on detail page) ---- #}
#{{ entry.id }}{% if entry.long_id %} — {{ entry.long_id }}{% endif %} {{ entry_label(entry) }}
{# ---- Metadata grid ---- #}
{% for label, value in [ ('Plugin', entry.plugin), ('Language', entry.lang), ('Jailbreak Type', entry.jailbreak_type), ('Instruction Type', entry.instruction_type), ('Document Type', entry.document_id), ('Position', entry.position), ('Spotlighting Marker', entry.spotlighting_data_markers), ('Injection Delimiter', entry.injection_delimiters), ('Suffix ID', entry.suffix_id), ('Attempts / Calls', entry.attempts), ('Attack Attempt', entry.attack_attempt), ('Attack Invocation', entry.attack_invocation), ('Dataset Entry', entry.attack_parent_id), ('Result Format', entry.attack_result_format), ] %} {% if value and value is not none and value|string not in ('None', '') %}
{{ label }}
{{ value }}
{% endif %} {% endfor %} {% if entry.response_time and entry.response_time is not none %}
Response Time
{{ "%.1f"|format(entry.response_time) }}s
{% endif %}

{# ---- Input + Response ---- #} {% include "partials/_input.html" %} {% include "partials/_response.html" %} {% include "partials/_attempt_history.html" %} {# ---- Judge config ---- #} {% if entry.judge_name and entry.judge_name not in ('', 'None', none) %}
Judge Configuration
Judge: {{ entry.judge_name }}
{% if entry.judge_args and entry.judge_args != '' %}
Arguments: {{ entry.judge_args }}
{% endif %} {% if entry.judge_options and entry.judge_options != '' %}
Options: {{ entry.judge_options }}
{% endif %}
{% endif %} {# ---- Attack config ---- #} {% if entry.attack_name and entry.attack_name not in ('', 'None', none) %}
Attack Configuration
Attack: {{ entry.attack_name }}
{% if entry.attack_options and entry.attack_options != '' %}
Options: {{ entry.attack_options }}
{% endif %}
{% endif %}