A support bot answers from the help-centre handbook but keeps missing obvious documents and blowing its context budget. Fix chunking, tokenisation, ranking and context assembly so held-out questions retrieve the right policy every time.
This is the practice version. Assessments always use a variant you have never seen.
Our support bot retrieves passages from the help-centre handbook before calling the LLM. Support leads flagged three failure patterns this week:
Fix rag/text.py, rag/chunker.py, and so that retrieval is correct and the
context fits the budget with citations. is a small dev set; a and edge-case tests run after you submit. Keep it stdlib-only.
rag/index.pyrag/context.py[doc_id]eval/dev_questions.json| Specify Bearing Fits and a Tolerance Stack-Up on a Gearbox Shaft DrawingCAD & engineeringTiers: Mid-levelEditorial | Hard | File deliverable | 45 min | Calibrating |
| Clean Up a Hard-Coded Sales Quote CalculatorFinance & analyticsTiers: FresherEditorial | Easy | File deliverable | 30 min | Calibrating |
| Close the Holes in a Notes API Before the Pen TestSecurityTiers: JuniorEditorial | Medium | Code repo | 45 min | Calibrating |