Obsidian Metadata

typesource
urlhttps://hamel.dev/notes/llm/evals/flashcards/
authorsHamel Husain, Shreya Shankar
published2025-11-30

Source: Evals Flashcards

URL: https://hamel.dev/notes/llm/evals/flashcards/ (downloaded into _attachments/)

#CardKey ideaVault note
0Cover / TOC––
1Error analysisOpen → axial coding → saturationError Analysis
2When to write an evalObserved? → iteration needed? → valueWhen to Build an Automated Evaluator
3Don’t use generic eval metrics–Generic Metrics
4AI eval mistakesLook at data first · measure the judge vs human labels · 100% means saturated or too easyEval Playbook
5Types of automated evalsCode assertions (use whenever possible) · LLM judge (slower, costly, needs alignment) · guardrails (fast, low FP, code or small classifiers)LLM-as-Judge
6Don’t use Likert scales–Binary Pass-Fail vs Likert Scales
7How to trust an LLM judgeTrain ~20 / dev ~40 / test ~40; TPR and TNR > 90%; no accuracyJudge Validation
8Sample tracesRandom, clustering, data analysis, classification, feedbackTrace Sampling Strategies
9Synthetic dataDimensions → tuples → queriesSynthetic Data
10Traces for evalsFirst upstream error · minimal repro · N-1 · perturb · simulateTraces
11Transition matrixFrom-state × failure-state countsTransition Failure Matrix
12Deploy evalsCI/CD vs online monitoring vs guardrailsCI Evals vs Production Monitoring

All cards