forked from rohitg00/ai-engineering-from-scratch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquiz.json
More file actions
90 lines (90 loc) · 3.31 KB
/
Copy pathquiz.json
File metadata and controls
90 lines (90 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"lesson": "30-eval-driven-agent-development",
"title": "Eval-Driven Agent Development",
"questions": [
{
"stage": "pre",
"question": "What are the three evaluation layers the lesson names?",
"options": [
"Static benchmarks, custom offline evals, online production evals",
"Unit, integration, end-to-end",
"Smoke, regression, acceptance",
"Pre, check, post"
],
"correct": 0,
"explanation": "Static (SWE-bench, GAIA), custom offline (LLM-judge, exec, trajectory), online (replays, alerts, cost/latency)."
},
{
"stage": "pre",
"question": "What is Anthropic's recommended starting point?",
"options": [
"Start with multi-agent debate",
"Start with simple prompts, optimize them with comprehensive evaluation, and add multi-step agentic systems only when needed",
"Start with hierarchical orchestration",
"Start with a frontier model only"
],
"correct": 1,
"explanation": "Anthropic explicitly says evaluation is the outer loop that drives every other choice."
},
{
"stage": "check",
"question": "What is the evaluator-optimizer tight loop?",
"options": [
"Train, evaluate, deploy",
"Proposer generates output, evaluator judges, refine until evaluator passes (Self-Refine generalized)",
"Sample, sort, deduplicate",
"Cache, retry, fail"
],
"correct": 1,
"explanation": "It is Self-Refine generalized: any flow can wrap in propose-judge-refine."
},
{
"stage": "check",
"question": "What is the 2026 best practice for where evals live?",
"options": [
"In a separate vendor dashboard only",
"Next to code, run in CI on every PR, gate merges on eval scores",
"Only run quarterly",
"Owned exclusively by the QA team"
],
"correct": 1,
"explanation": "Co-located with code, CI-gated, regression-tracked is the standard."
},
{
"stage": "check",
"question": "Why does the lesson warn against an LLM-judge without grounding?",
"options": [
"It is too slow",
"Judges hallucinate too; pair with the CRITIC pattern so judgment grounds on external tools",
"It violates Apache 2.0",
"It only works on GPUs"
],
"correct": 1,
"explanation": "CRITIC (Lesson 5) applies: tool-grounded verification keeps the judge honest."
},
{
"stage": "post",
"question": "What is the danger of over-fitting to evals?",
"options": [
"Compute cost rises",
"Optimizing for the eval set diverges from production usefulness; rotate cases",
"Vector indices fragment",
"Latency drops too far"
],
"correct": 1,
"explanation": "Eval set rotation keeps the optimization aligned with production reality."
},
{
"stage": "post",
"question": "Why do flaky evals cause problems?",
"options": [
"They double inference cost",
"Non-deterministic cases produce false alarms; pin seeds and snapshot state",
"They cannot reach the database",
"They exceed the context window"
],
"correct": 1,
"explanation": "Flake makes regressions unreadable; determinism (seeds, state snapshots) is required."
}
]
}