"""Completeness metric prompt template."""

from __future__ import annotations

TEMPLATE = """\
<task>
Evaluate whether the actual answer covers all the key points present in the \
expected answer. Focus on semantic coverage — the actual answer does not need \
to use identical wording.
</task>

<data>
<question>{question}</question>
<expected_answer>{expected_answer}</expected_answer>
<actual_answer>{actual_answer}</actual_answer>
</data>

<rubric>
First, identify the key points in the expected answer. Then, check whether \
each key point is addressed (in any wording) by the actual answer.

Scoring anchors:
- 1.0: All key points from the expected answer are covered.
- 0.7-0.9: Most key points are covered; only minor details are missing.
- 0.4-0.6: Some key points are covered but significant aspects are missing.
- 0.1-0.3: Only a few key points are addressed.
- 0.0: None of the key points from the expected answer appear in the actual \
answer."""
