What are the three types of test cases recommended for an eval suite?
Include a control case that should always pass, edge cases that capture prior failures, and tests that verify the model understands its capability boundaries and when to hand off to humans.
Why should you create an output contract for agent responses?
An output contract (or structured schema) enforces consistent, machine-parseable outputs and prevents format drift—critical when responses must adhere to nested formats like JSON or XML.
How can prompt wording cause a model to deflect instead of answering?
Overly cautious instructions such as 'never give wrong information' can push the model to avoid answering and redirect users; revising guidance to cite authoritative customer data can reduce unnecessary deflection.
What approach fixes capability gaps, like proration calculations?
Instructions alone don't add capability—explicitly direct the agent to call a defined tool (via the API/harness) for calculations so the agent can reliably perform tasks like proration.
When should the agent escalate billing issues to a human?
Escalate when billing errors risk refunds or customer trust; prompts should balance cost concerns with the necessity of human intervention rather than discouraging escalation outright.