agrag.eval.verifier.verdict_case
verdict_case(item:VerdictItem, predicted:str) -> LLMTestCase
Build a test case with the predicted and the gold verdict.
Parameters:
- item (
VerdictItem) – The fixed input. - predicted (
str) – The label fromrun_verifier.
Returns:
LLMTestCase– AnLLMTestCasewith the question, predicted verdict and gold verdict.