Mental model
Module 18: Build, evaluate, secure and operate the complete system- Integrate ingestion, retrieval, reranking, grounding, evaluation, security, freshness and observability into one production-shaped knowledge assistant.
Integrate ingestion, retrieval, reranking, grounding, evaluation, security, freshness and observability into one production-shaped knowledge assistant.
Engineering focus: Build, evaluate, secure and operate the complete system
Integrate ingestion, retrieval, reranking, grounding, evaluation, security, freshness and observability into one production-shaped knowledge assistant.
You are not expected to know the engineering vocabulary before using the idea. Formal terminology comes after the mental model.
Carry one evidence-grounded knowledge assistant through all 18 modules. Preserve source IDs, retrieval evidence, evaluation cases, authority decisions and security assumptions so every improvement is measurable.
The capstone is a release review, not a demo. A production-shaped system earns promotion only when evidence shows retrieval, grounding, security and lifecycle gates pass.
A polished answer is not a release criterion; reproducible evidence is.
A good model cannot compensate for stale data, broken authorization, weak evaluation or unobservable retrieval.
The capstone should generate a repeatable evaluation report covering retrieval, citations, abstention, security and latency.
Document how new sources are added, old sources removed, indexes versioned and incidents diagnosed.
If critical security, authority or grounding tests fail, the correct engineering decision is to stop promotion.
Module 18: Build, evaluate, secure and operate the complete systemRetrieval regression PASS
Grounding / citations PASS
No-answer behaviour PASS
ACL isolation PASS
Injection / poisoning PASS
Freshness / delete PASS
Latency / cost PASS
Rollback evidence PASS
DECISION: PROMOTEThe system demos well but release risk is unclear.
Promotion is an engineering decision backed by explicit gates.
Goal: Build a release dossier for the running course project: architecture, eval metrics, adversarial tests, evidence trace and promote/hold decision.
python3 - <<'PY2'
report={'retrieval_eval':'PASS','grounding_eval':'PASS','acl_eval':'PASS','injection_eval':'PASS','freshness_eval':'PASS','decision':'PROMOTE'}
critical=['retrieval_eval','grounding_eval','acl_eval','injection_eval']
assert all(report[x]=='PASS' for x in critical)
print(report)
PY2Record the intermediate source IDs, ranks, metadata or state produced by the baseline. Explain which pipeline layer this evidence belongs to.
Flip one critical gate—such as ACL isolation—to FAIL. Confirm the release decision becomes HOLD even if every quality metric is strong.
Promotion is an engineering decision backed by explicit gates. State the failing layer, change only that layer, then repeat the verification checks.
Record: hypothesis → evidence → change → observed result → remaining limitation. Keep this note with the running Evidence Desk project.
Production RAG improves when every change can be traced to evidence at a specific pipeline layer. In production, retain the before/after evidence so the same failure can become a regression test.
Critical gates defined
HOLD path exercised
Evidence dossier and rollback/handover complete
It integrates retrieval, evidence, evaluation, security, lifecycle and operations rather than only answer generation.
Critical failures in authorization, grounding, security or required acceptance criteria.
For reproducibility, review, regression analysis and operational handover.
The ability to design, evaluate, troubleshoot and operate a trustworthy RAG/knowledge system.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.