Week 11 · Sunday — consolidate and defend
Retrieval project: controlled incident and production ADR defense
- 90 minsession length
- 4timed blocks
- 4tasks
- —status
Session plan90 min
Before you start
Before the session: a test copy of the corpus and index (a copy command prepared and checked in advance), the Week 11 Saturday tests and trace output, the generator or labelled stub with a configurable failure rate, and an ADR template. No new installation. All injected content is synthetic and labelled as test data.
Blocks4
Block 1: Spaced recall
20 minClosed notes, then correct:
- Day 51: compute recall@3, precision@3 and the reciprocal rank for one query with a ranked list and labels you write down; explain why faithfulness and answer relevance are different checks.
- Day 52: which failures are safe to retry, which are not, and why an idempotency key matters.
- Day 53: direct versus indirect prompt injection; three enforceable controls and one control that is not enforceable.
- Day 54: a cost-per-1,000-requests formula from input tokens, output tokens and per-token prices (use hypothetical prices and label them).
- From Weeks 7-10: one item you missed before, chosen from your review queue.
Block 2: Controlled incident
40 minRun a controlled incident on a test copy of your system, never on your frozen corpus or evaluation files.
- Inject (10 min). Add three clearly labelled synthetic chunks to the test copy: one with an indirect
instruction (for example, to cite a restricted record or to call a tool), one near-duplicate of a popular
chunk with one fact changed, and one
restrictedchunk on a frequently asked topic. Configure the generator or stub to fail with timeouts for a fraction of calls. - Observe (10 min). Run the development queries. Using only traces and test output, find what went wrong: which queries retrieved the injected or altered chunks, whether any restricted chunk reached the context, whether any retry storm or unsupported answer occurred.
- Contain and fix (10 min). Apply the smallest enforceable fix (for example, provenance check at ingestion, duplicate detection, access filter before ranking, retry budget), re-run, and show the before/after test results.
- Incident note (10 min). 150-250 words: timeline, detection signal, impact on which queries, root cause, fix, residual risk, and the monitoring signal you would add.
- Inject (10 min). Add three clearly labelled synthetic chunks to the test copy: one with an indirect
instruction (for example, to cite a restricted record or to call a tool), one near-duplicate of a popular
chunk with one fact changed, and one
Block 3: Teach-back and decision defense
20 minWrite the production ADR (200-300 words) for serving the study assistant to a hypothetical cohort (state the users, requests per day and latency target as labelled assumptions): data flow, retriever choice backed by your held-out evidence, generation mode, security controls proven by tests, observability, budget per 1,000 requests with its basis, rollback plan, and revisit triggers. Then defend it aloud for three minutes against two challenges: "Use the largest available model; quality is all that matters" and "Your evaluation set is too small to justify anything."
Block 4: Weekly review and planning
10 minLog corrected recall misses, the incident note, ADR decisions and open risks. Week 12 priority: finalize the retrieval report and portfolio artefacts for all three projects, then the capstone defense. List each missing artefact by project.
Tasks4
Task 1
recallAnswer the Days 51-54 recall set plus one older review item, including the ranked-list metrics and the cost formula with labelled hypothetical prices, and correct misses.
Task 2
codeInject the three synthetic chunks and the failure rate into a test copy, detect the impact from traces and tests, apply the smallest enforceable fix, and re-run.
Task 3
writingWrite the 150-250 word incident note with timeline, detection signal, impact, root cause, fix, residual risk and a new monitoring signal.
Task 4
defenseWrite and defend the production ADR with labelled assumptions, evidence-backed retriever choice, generation mode, tested controls, observability, budget basis and rollback.
Rubric4 criteria
| Criterion | Meets | Exceeds |
|---|---|---|
| Incident detection and containment | Each injected problem is detected from traces or tests, the fix is enforceable, and before/after results are shown on a test copy. | Identifies which detection signal would have caught the problem in production first and how quickly. |
| Incident communication | The note has timeline, impact with ids, root cause, fix and residual risk in plain language. | Separates contributing factors from the root cause and proposes an owner for each follow-up. |
| Production design and budget | The ADR ties the retriever choice to held-out evidence, states the generation mode, and labels every budget number as measured or hypothetical. | Shows the quality-cost trade-off of at least two options and the condition under which the cheaper option wins. |
| Defense under challenge | Both challenges are answered with evidence rather than assertion. | Concedes a valid part of a challenge and states what additional evidence would resolve it. |
Required output
Evaluation comparison, failure tests, observability output, and a production ADR, completed: corrected recall, the controlled incident with fix and before/after evidence, the incident note, the production ADR with labelled budget assumptions, and the Week 12 priority with a missing-artefact list.
Studios are tracked separately from the 60 core lessons; completing one never completes a lesson.