Final assignment: the source-grounded research assistant
What done means
Done is two things, judged by two different readers: five checks in the cap01
notebook, judged by code, and the private question set, scored by the course
when you run uv run bootcamp final submit.
The five checks
Run them with uv run bootcamp check cap01. All five are deterministic and
model-free — FakeLLM throughout, no key, no network — so they give the same
verdict on every machine.
| Check | What it judges | What fails it |
|---|---|---|
cap01-e1 |
A supported question answered with its citation checked | The answer text was passed instead of the AgentResult; the citations are not exactly ('rag-basics',); a cited answer is flagged for review anyway |
cap01-e2 |
An unsupported question refused before any model call | The refusal is not flagged; it cites something; probe.calls is not empty, which means retrieval's verdict was paid for twice |
cap01-e3 |
A trace a reviewer can follow | Any of retrieve, llm_call, decision is missing from the kinds |
cap01-e4 |
The eval gate | Any golden case fails. The gate is green at 100% and reports the rate it actually saw |
cap01-e5 |
The ranked issue list | Fewer than three rows; a row missing rank, issue or impact; an issue or impact left as a placeholder; ranks with a gap or a tie |
cap01-e2 is the one worth reading twice. It takes a dictionary, not a result:
check("cap01-e2", {"result": unsupported, "probe_calls": len(probe.calls)})
The refusal alone would prove nothing about when it happened. A FakeLLM that
was never called keeps an empty calls list, so the second field is the evidence
that retrieval decided this and the model was never asked.
cap01-e5 refuses ties for a reason. Two issues ranked 1 is a list that has not
been prioritised — and the point of the exercise is the ordering, not the
inventory. The impact is what orders it, which is why the check demands one for
every row.
What the checks do not judge
They run your code and read its behaviour. They do not read your wording, and
they cannot tell you the answer was right — cap01-e4 says eight cases met a
pass condition you can attack, and session 7 already showed you how. Nor is the
scorecard your grade. It is formative, and what it is good for is finding the
gap you would rather not meet in the private set.
No defence
The final assignment has no defence: it is judged on the private questions alone.
Session 15's presentation is for the Gecko capstone, a separate project in your own
my-gecko-buyer repository.
Recap
| Reader | Asks | Answered by |
|---|---|---|
| The checks | Does it behave? | uv run bootcamp check cap01 |
| The private questions | Does it answer, cite and refuse on questions it never saw? | uv run bootcamp final submit |