Explore the research collection
1 entry · Follow this search
- Post
Evals: How to Know Whether an AI System Actually Works
Long-form, plain-language guide to evaluating LLM-based systems, aimed at engineers, PMs, and CEOs. Grounded in a runnable tutorial on a fictional bike-shop support assistant (triage/answer/agent components; 80 tickets split 20 dev / 60 test). Defines the four-step eval loop: curate inputs with gold answers, run the system, grade outputs, report one number with an error bar. Grader comparison: code rules (cheap, exact, blind to meaning); LLM-as-judge (flexible but biased — must be calibrated with human labels and binary yes/no questions; their run: 60% agreement with humans, Cohen's kappa 0.15, five judge biases); judge panels; small hallucination detectors (HHEM, LettuceDetect, MiniCheck, SelfCheckGPT); typed judges (TypeSafe's Jev). Stresses honest statistics: confidence intervals, paired comparisons, detection floor. Benchmark caveats: harness dependence, contamination, saturation, redundancy. Covers RAG and agent grading (pass^k, cost, reliability), a tools/frameworks landscape (Inspect AI, lm-evaluation-harness, promptfoo, DeepEval, RAGAS, Langfuse, Phoenix, LangSmith/Braintrust, Opik/MLflow/Weave, HELM, evalica, Selene-Mini/Prometheus 2/Flow-Judge), an approaches comparison table, a decision guide, 'Fifteen things to carry away', and an extensive references list. Directly relevant to the user's Model Axes eval platform. Reported numbers: triage accuracy 0.700, 95% CI [0.583, 0.817].