{% if case.prompt %}
Prompt
{{ case.prompt | markdown }}
{% endif %}
{% if case.model_answer %}
Model Answer
{{ case.model_answer | markdown }}
{% endif %}
{% if case.ground_truth %}
Ground Truth
{{ case.ground_truth}}
{% endif %}
{% if case.category %}
Category
{{ case.category }}
{% endif %}
{% if case.entity %}
Entity
{{ case.entity }}
{% endif %}
{% if case.question %}
Question
{{ case.question | markdown }}
{% endif %}
{% if case.original_prompt %}
Original Prompt
{{ case.original_prompt | markdown }}
{% endif %}
{% if case.modified_prompt %}
Modified Prompt
{{ case.modified_prompt | markdown }}
{% endif %}
{% if case.original_score %}
Original Score
{{ case.original_score }}
{% endif %}
{% if case.modified_score %}
Modified Score
{{ case.modified_score }}
{% endif %}
{% if case.judge_process %}
Judge Process
{{ case.judge_process | markdown }}
{% endif %}
{% if case.judge_result %}
Judge Result
{{ case.judge_result }}
{% endif %}
{% if case.image_path %}
Images
{% for img_url in case.image_path %}
{% endfor %}
{% endif %}
{% for key, value in case.items() %}
{% if key not in ['prompt', 'model_answer', 'ground_truth', 'category', 'entity', 'question', 'original_prompt', 'modified_prompt', 'original_score', 'modified_score', 'judge_process', 'judge_result', 'image_path'] %}
{% if value is string %}
{{ key | capitalize }}
{% elif value is mapping %}
{{ key | capitalize }}
{{ value | tojson(indent=4) }}
{% endif %}
{% endif %}
{% endfor %}