Example: analyze existing failures
User intent: "Here is my eval output. What should I fix?"
Inputs
Expected files:
text
.evals\latest.json
evals\evals.jsonDo not paste raw prompts, responses, retrieved data, or logs into chat if they may contain sensitive content.
Process
- Load
references\result-analysis.mdandreferences\remediation-patterns.md. - Inspect
metadatafor CLI version, agent ID/name, and evaluated time. - Inspect each item under
items. - For each item, read sparse
scoreskeys such asrelevance,coherence,groundedness,similarity,citations,exactMatch, andpartialMatch. - Treat missing score keys as "not configured", not failed.
- Summarize the smallest targeted changes.
Example finding
text
Primary issue: Citation behavior is inconsistent.
Evidence: The citation evaluator failed on prompts that ask for workplace-source summaries, while relevance and coherence passed.
Recommended change: Add an instruction requiring citations for source-backed summaries and verify the agent path can surface citations.
Expected effect: `citations` should meet the minimum count threshold without changing the response content.Common false positives
- Expected response is too specific for a legitimately variable answer.
ExactMatchis used for natural language text.- A prompt assumes source data that is not available to the deployed agent.
- The run failed during auth, schema validation, or evaluator-model setup.