Build a versioned golden dataset from real failures, run deterministic assertions (schema, tool choice, citations) plus calibrated LLM-as-a-judge checks in CI, route simpler tasks to smaller models, use prompt caching, and isolate untrusted retrieved text from system instructions.
Follow-up Interview Question · How do you mitigate position and verbosity bias when using an LLM as a judge?