Skip to content
AtomicReps

Navigation

03/12AI & ML

AI Evaluation & Eval-Driven Development.

Evaluation as a first-class engineering discipline: trace review, error analysis, golden datasets, LLM-as-judge with judge alignment, CI eval gates, and eval validity. The canonical methodology home for LLM evaluation (answer-level RAG eval lives here; component retrieval metrics live in rag_systems).

  • AI Evaluation & Eval-Driven Development · 1 of 3

    Eval Terms & Metrics

    You have a stack of outputs your suite marked wrong. Before touching the prompt, what is the most useful first move?

  • AI Evaluation & Eval-Driven Development · 2 of 3

    Offline vs Online Evaluation

    Two engineers rate model outputs with an LLM judge. One asks for a 1-to-10 number per response; the other asks the judge to pick the better of two replies. Why does the second design usually yield steadier rankings?

  • AI Evaluation & Eval-Driven Development · 3 of 3

    Offline vs Online Evaluation

    Reading the eval gate below, where 100 graded items include 95 at or above the 0.7 cutoff and exactly one has its unsafe field set true, what does evalGate return and why?

    typescript
    function evalGate(results) {  const passRate = results.filter(r => r.score >= 0.7).length / results.length;  const anyUnsafe = results.some(r => r.unsafe);  if (anyUnsafe) return "BLOCK";  return passRate >= 0.9 ? "SHIP" : "HOLD";}

Three of the 100 AI Evaluation & Eval-Driven Development questions in the bank.

Keep going with AI Evaluation & Eval-Driven Development, free
Next topic · 04/12AI Security & Safety.