{% if result.success %}
PASS
{% else %}
FAIL
{% endif %}
{{ result.model_used or 'unknown model' }} · {{ result.latency_ms }}ms
· {{ result.token_usage.get('prompt_tokens', 0) }}+{{ result.token_usage.get('completion_tokens', 0) }} tokens
{% if result.input_validation_errors %}
Input Validation Errors ({{ result.input_validation_errors | length }})
{% for e in result.input_validation_errors %}
- {{ e }}
{% endfor %}
{% endif %}
{% if result.validation_errors %}
Output Validation Errors ({{ result.validation_errors | length }})
{% for e in result.validation_errors %}
- {{ e }}
{% endfor %}
{% endif %}
{% if result.error %}
Error
{{ result.error }}
{% endif %}
{% if result.output %}
Output
{{ result.output | tojson(indent=2) }}
{% endif %}
{% if result.raw_response %}
Raw LLM Response
{{ result.raw_response }}
{% endif %}
{% endif %}