Read the script’s setup instructions and run it on your own computer. The website does not execute code or verify your results.
// Independent work
W08-LAB
Week 8: A grounded assistant with persistent memory
Extend the knowledge base with scoped memory records, correction, deletion, and restart continuity.
Extend the guided artifact rather than start a second project. At least 17 of 20 held-out answers meet the fixed correct-or-appropriate-abstention rubric; report support and authorization failures separately.
What to produce
A grounded assistant with persistent memory
Setup commands, data or generation procedure, versions, and recorded outputs
Acceptance results and a precise limitation
Check your work
At least 17 of 20 held-out answers meet the fixed correct-or-appropriate-abstention rubric; report support and authorization failures separately.
Each claimed execution is supported by actual saved output.
Fixture results and real model results are identified separately.
Setup and reproduction use the taught tools without private credentials.
Self-assessment rubric
Technical correctness · 35 points
Implementation or analysis follows the relevant technical mechanism and handles the stated case.
Evaluation and evidence · 30 points
Reproducible tests, appropriate baseline, and accurate interpretation.
Engineering quality · 20 points
Clear structure, safe boundaries, and usable reproduction instructions.
Explanation and reflection · 15 points
Explains tradeoffs, limitations, and next experiment with evidence.
// Phase milestone
M02
Grounded Knowledge Assistant
Build a knowledge assistant with RAG and persistent memory.
Target at least 85% correct-or-appropriately-abstaining on 20 held-out questions with source grounding; report the denominator and scoring method.
What to produce
Local indexed corpus and retrieval implementation
Persistent memory CRUD with provenance and deletion
Results on 20 held-out questions, including abstentions and source citations
Check your work
Target at least 85% correct-or-appropriately-abstaining on 20 held-out questions with source grounding; report the denominator and scoring method.
Setup and reproduction steps are complete.
Known limitations are explicit; no unsupported security or quality claims.
Self-assessment rubric
Functional integration · 30 points
Required components work together in a reproducible end-to-end workflow.
Security and reliability · 25 points
Boundaries, failure handling, and recovery are demonstrated with evidence.
Evaluation evidence · 25 points
Appropriate test set, clear measures, honest interpretation, and traceability.
Documentation and explanation · 20 points
Architecture, setup, tradeoffs, and limitations are understandable.
// Retrieve before you reread
Week 8 knowledge check
Try all 6 questions. Check your answers, review the explanations, and retry whenever you like. Answers are checked on this device.